home / exams / Google / gcp-ace / Practice Test 3
gcp-ace Google

Google Associate Cloud Engineer - Practice Test 3

Question #11
Storage

A company based in Boston, MA (United States) operates a mission-critical analytics pipeline that continuously processes data stored in Google Cloud Storage. You need to configure the optimal data storage solution to minimize costs while ensuring high availability and performance for these frequently accessed files. What is the most appropriate configuration?

A. Configure regional storage in a region closest to Boston and use the Nearline storage class.
B. Configure regional storage in a region closest to Boston and use the Standard storage class.
C. Configure dual-regional storage in a dual-region closest to Boston and use the Nearline storage class.
D. Configure dual-regional storage in a dual-region closest to Boston and use the Standard storage class.
Question #12
Compute

You are deploying several applications on distinct Compute Engine instances within the same Google Cloud project. You need to ensure that each instance uses a specific, granular service account when interacting with Google Cloud APIs. What is the most appropriate method to achieve this?

A. When creating the instances, assign the name of each Service Account as instance metadata.
B. When creating the instances, specify a Service Account for each instance.
C. After starting the instances, use `gcloud compute instances update` to assign the name of the relevant Service Account as instance metadata.
D. After starting the instances, use `gcloud compute instances update` to specify a Service Account for each instance.
Question #13
Cost Management

Your organization manages multiple Google Cloud projects under a unified billing account. You need to create a solution to visualize cost metrics that are dynamically calculated based on custom business rules and automate the data pipeline. What is the most effective approach to achieve this?

A. Utilize the Google Cloud console's Reports section to view project-related costs.
B. Configure Cloud Billing data export to BigQuery for the billing account, then build a Looker Studio dashboard on top of the BigQuery dataset.
C. Export the Cost table data from the Google Cloud console as a CSV and create a Looker Studio dashboard from the CSV.
D. Access the Google Cloud console's Cost breakdown section to analyze project costs.
Question #14
Compute

Your application is deployed on Google Cloud within a managed instance group (MIG). You observe errors in Cloud Logging indicating that a process on one specific VM is unresponsive. You need to quickly replace this problematic VM within the MIG. What is the most efficient way to achieve this?

A. Use the `gcloud compute instances update` command with a REFRESH action for the VM.
B. Execute the `gcloud compute instance-groups managed recreate-instances` command to recreate the specific VM.
C. Navigate to the Compute Engine console, select the MIG, and choose 'Replace VMs' from the menu.
D. Update and apply the instance template of the MIG.
Question #15
Compute Engine

You need to configure secure SSH access to a specific Compute Engine instance for a group of users named 'dev1'. These users should only be able to connect to this single instance within the Google Cloud project. What is the most appropriate method to achieve this?

A. Set metadata to enable-oslogin=true for the instance. Grant the dev1 group the compute.osLogin role. Direct them to use the Cloud Shell to SSH to that instance.
B. Set metadata to enable-oslogin=true for the instance. Set the service account to no service account for that instance. Direct them to use the Cloud Shell to SSH to that instance.
C. Enable block project wide keys for the instance. Generate an SSH key for each user in the dev1 group. Distribute the keys to dev1 users and direct them to use their third-party tools to connect.
D. Enable block project wide keys for the instance. Generate an SSH key and associate the key with that instance. Distribute the key to dev1 users and direct them to use their third-party tools to connect.
Back to gcp-ace 50 questions - page 3 of 10