Practice Free Associate Cloud Engineer Exam Online Questions
You have designed a solution on Google Cloud Platform (GCP) that uses multiple GCP products. Your company has asked you to estimate the costs of the solution. You need to provide estimates for the monthly total cost.
What should you do?
- A . For each GCP product in the solution, review the pricing details on the products pricing page. Use the pricing calculator to total the monthly costs for each GCP product.
- B . For each GCP product in the solution, review the pricing details on the products pricing page.
Create a Google Sheet that summarizes the expected monthly costs for each product. - C . Provision the solution on GCP. Leave the solution provisioned for 1 week. Navigate to the Billing Report page in the Google Cloud Platform Console. Multiply the 1 week cost to determine the monthly costs.
- D . Provision the solution on GCP. Leave the solution provisioned for 1 week. Use Stackdriver to determine the provisioned and used resource amounts. Multiply the 1 week cost to determine the monthly costs.
A
Explanation:
You can use the Google Cloud Pricing Calculator to total the estimated monthly costs for each GCP product. You dont incur any charges for doing so.
Ref: https://cloud.google.com/products/calculator
Your customer wants you to create a secure, publicly accessible website with autoscaling based on the compute instance CPU load. You want to enhance performance by storing static content in Cloud Storage.
Which resources are needed to distribute the user traffic?
- A . A cross-region internal Application Load Balancer together with Identity-Aware Proxy to allow only HTTPS traffic.
- B . A global external Application Load Balancer with a managed SSL certificate to distribute the load and a URL map to target the requests for the static content to the Cloud Storage backend.
- C . A global external Network Load Balancer pointing to the backend instances to distribute the load evenly. The web servers will forward the request to the Cloud Storage as needed.
- D . A global external Application Load Balancer to distribute the load and a URL map to target the requests for the static content to the Cloud Storage backend. Install the HTTPS certificates on the instance.
B
Explanation:
Comprehensive and Detailed Explanation From Exact Extract:
The setup requires a publicly accessible (External) and secure (HTTPS) Layer 7 load balancer that can perform URL-based routing to send different types of requests to different backends (Compute Engine for dynamic content, Cloud Storage for static content).
Global External Application Load Balancer is necessary for public access and global traffic distribution.
The URL Map is crucial for routing requests based on the URL path (e.g., /images/*) to a Cloud Storage backend bucket, a core feature of external Application Load Balancers.
A managed SSL certificate is the Google-recommended method to enable HTTPS securely and easily on the Load Balancer itself.
Reference: Google Cloud Documentation – External Application Load Balancer (Serving static content from Cloud Storage):
"You can use a backend bucket with a global external Application Load Balancer to serve static content from Cloud Storage buckets… The backend bucket is referenced by the URL map."
Reference: Google Cloud Documentation – SSL certificates (Managed certificates):
"Google-managed SSL certificates are a recommended best practice because Google Cloud automatically manages the certificate for you."
Your company uses Pub/Sub for event-driven workloads. You have a subscription named email-updates attached to the new-orders topic. You need to fetch and acknowledge waiting messages from this subscription.
What should you do?
- A . Use the gcloud pubsub subscriptions seek email-updates command.
- B . Use the gcloud pubsub topics describe new-orders command.
- C . Use the gcloud pubsub subscriptions pull email-updates ―auto-ack command.
- D . Use the gcloud pubsub topics list-subscriptions new-orders ―1ilter="email-updates" command.
C
Explanation:
The goal is to pull (fetch) messages from a subscription and acknowledge them.
The gcloud pubsub subscriptions **pull** command retrieves messages from a specified subscription.
The –auto-ack flag instructs the command to automatically acknowledge the messages after they are successfully retrieved, combining the two required actions into one command.
Reference: Google Cloud Documentation – gcloud pubsub subscriptions pull:
"Pulls one or more messages from the specified subscription. To acknowledge the pulled messages, use the –auto-ack flag."
Your company uses Pub/Sub for event-driven workloads. You have a subscription named email-updates attached to the new-orders topic. You need to fetch and acknowledge waiting messages from this subscription.
What should you do?
- A . Use the gcloud pubsub subscriptions seek email-updates command.
- B . Use the gcloud pubsub topics describe new-orders command.
- C . Use the gcloud pubsub subscriptions pull email-updates ―auto-ack command.
- D . Use the gcloud pubsub topics list-subscriptions new-orders ―1ilter="email-updates" command.
C
Explanation:
The goal is to pull (fetch) messages from a subscription and acknowledge them.
The gcloud pubsub subscriptions **pull** command retrieves messages from a specified subscription.
The –auto-ack flag instructs the command to automatically acknowledge the messages after they are successfully retrieved, combining the two required actions into one command.
Reference: Google Cloud Documentation – gcloud pubsub subscriptions pull:
"Pulls one or more messages from the specified subscription. To acknowledge the pulled messages, use the –auto-ack flag."
You want to verify the IAM users and roles assigned within a GCP project named my-project.
What should you do?
- A . Run gcloud iam roles list. Review the output section.
- B . Run gcloud iam service-accounts list. Review the output section.
- C . Navigate to the project and then to the IAM section in the GCP Console. Review the members and roles.
- D . Navigate to the project and then to the Roles section in the GCP Console. Review the roles and status.
C
Explanation:
Logged onto console and followed the steps and was able to see all the assigned users and roles.
Build instructions to create a Compute Engine instance from the snapshot so that developers can do it themselves.
Explanation:
https://medium.com/google-cloud/how-to-deploy-cassandra-and-connect-on-google-cloud-platform-with-a-few-clicks-11ee3d7001d1
https://cloud.google.com/blog/products/databases/open-source-cassandra-now-managed-on-google-cloud
https://cloud.google.com/marketplace
You can deploy Cassandra as a Service, called Astra, on the Google Cloud Marketplace. Not only do you get a unified bill for all GCP services, your Developers can now create Cassandra clusters on Google Cloud in minutes and build applications with Cassandra as a database as a service without the operational overhead of managing Cassandra
You need to provide a cost estimate for a Kubernetes cluster using the GCP pricing calculator for Kubernetes. Your workload requires high IOPs, and you will also be using disk snapshots. You start by entering the number of nodes, average hours, and average days.
What should you do next?
- A . Fill in local SSD. Fill in persistent disk storage and snapshot storage.
- B . Fill in local SSD. Add estimated cost for cluster management.
- C . Select Add GPUs. Fill in persistent disk storage and snapshot storage.
- D . Select Add GPUs. Add estimated cost for cluster management.
A
Explanation:
https://cloud.google.com/compute/docs/disks/local-ssd
You have been asked to create robust Virtual Private Network (VPN) connectivity between a new Virtual Private Cloud (VPC) and a remote site. Key requirements include dynamic routing, a shared address space of 10.19.0.1/22, and no overprovisioning of tunnels during a failover event. You want to follow Google-recommended practices to set up a high availability Cloud VPN.
What should you do?
- A . Use a custom mode VPC network, configure static routes, and use active/passive routing
- B . Use an automatic mode VPC network, configure static routes, and use active/active routing
- C . Use a custom mode VPC network use Cloud Router border gateway protocol (86P) routes, and use active/passive routing
- D . Use an automatic mode VPC network, use Cloud Router border gateway protocol (BGP) routes and configure policy-based routing
C
Explanation:
https://cloud.google.com/network-connectivity/docs/vpn/concepts/best-practices
You have been asked to create robust Virtual Private Network (VPN) connectivity between a new Virtual Private Cloud (VPC) and a remote site. Key requirements include dynamic routing, a shared address space of 10.19.0.1/22, and no overprovisioning of tunnels during a failover event. You want to follow Google-recommended practices to set up a high availability Cloud VPN.
What should you do?
- A . Use a custom mode VPC network, configure static routes, and use active/passive routing
- B . Use an automatic mode VPC network, configure static routes, and use active/active routing
- C . Use a custom mode VPC network use Cloud Router border gateway protocol (86P) routes, and use active/passive routing
- D . Use an automatic mode VPC network, use Cloud Router border gateway protocol (BGP) routes and configure policy-based routing
C
Explanation:
https://cloud.google.com/network-connectivity/docs/vpn/concepts/best-practices
Your company is running a three-tier web application on virtual machines that use a MySQL database. You need to create an estimated total cost of cloud infrastructure to run this application on Google Cloud instances and Cloud SQL.
What should you do?
- A . Use the Google Cloud Pricing Calculator to determine the cost of every Google Cloud resource you expect to use. Use similar size instances for the web server, and use your current on-premises machines as a comparison for Cloud SQL.
- B . Implement a similar architecture on Google Cloud, and run a reasonable load test on a smaller scale. Check the billing information, and calculate the estimated costs based on the real load your system usually handles.
- C . Use the Google Cloud Pricing Calculator and select the Cloud Operations template to define your web application with as much detail as possible.
- D . Create a Google spreadsheet with multiple Google Cloud resource combinations. On a separate sheet, import the current Google Cloud prices and use these prices for the calculations within formulas.
