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

Google Associate Cloud Engineer - Practice Test 3

Question #31
Compute

Your company operates a critical batch process on-premises that requires approximately 30 hours to complete. This task runs monthly, can be executed without an active network connection, and must be restarted from the beginning if interrupted. You need to migrate this workload to Google Cloud, prioritizing cost minimization. What is the most appropriate solution?

A. Migrate the workload to a Compute Engine Preemptible VM.
B. Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
C. Migrate the workload to a Google Kubernetes Engine cluster with Preemptible nodes.
D. Create an Instance Template with Preemptible VMs enabled. Create a Managed Instance Group from the template and adjust Target CPU Utilization. Migrate the workload.
Question #32
Identity and Access Management

Your team has developed an application on Google Cloud that leverages Cloud Spanner. The support team needs to observe the application's performance and health metrics but must not be able to view or modify any sensitive table data. You need to implement a streamlined solution to grant the appropriate permissions to the support team, adhering to Google's recommended security practices. Which of the following actions should you take?

A. Add the support team group to the roles/spanner.databaseUser role.
B. Add the support team group to the roles/monitoring.viewer role.
C. Add the support team group to the roles/spanner.databaseReader role.
D. Add the support team group to the roles/stackdriver.accounts.viewer role.
Question #33
Identity & Access Management

Your organization is migrating its infrastructure to Google Cloud. You need to ensure that only users with company-issued Google accounts can access your Google Cloud environment. Additionally, users within the same department should only be able to access resources relevant to their department. You aim to minimize operational costs while adhering to Google-recommended security practices. What is the most effective solution?

A. Assign users to the relevant Google Groups, and provide access to cloud resources through Identity and Access Management (IAM) roles. Periodically identify and remove non-company issued Google accounts.
B. Assign users to the relevant Google Groups, and provide access to cloud resources through Identity and Access Management (IAM) roles. Use organization policies to block non-company issued emails.
C. Create a folder for each department in Resource Manager. Grant the users of each department the Folder Admin role on the folder of their department.
D. Create a folder for each department in Resource Manager. Grant all company users the Folder Admin role on the organization level.
Question #34
Serverless

You have a web application deployed on Cloud Run for Anthos. To perform a canary deployment, you need to introduce an updated version of the application and direct a specific percentage of production user traffic to it. What is the most appropriate method to achieve this?

A. Create a new service with the new version of the application. Split traffic between this new service and the existing service.
B. Create a new revision with the new version of the application. Split traffic between this new revision and the currently serving revision.
C. Create a new service with the new version of the application. Implement an HTTP Load Balancer to manage traffic distribution between both services.
D. Create a new revision with the new version of the application. Configure an HTTP Load Balancer to distribute traffic between both revisions.
Question #35
Application Deployment

You are managing a web application hosted on Google App Engine standard environment. You need to introduce a new experimental version of the website and direct 1% of your user traffic to it, while minimizing operational complexity. Which approach should you take?

A. Deploy the new version within the existing application and utilize the `--migrate` option.
B. Deploy the new version within the existing application and use the `--splits` option to assign a weight of 99 to the current version and 1 to the new version.
C. Create a separate App Engine application in the same Google Cloud project. Deploy the new version there and use an App Engine library to proxy 1% of requests.
D. Create a separate App Engine application in the same Google Cloud project. Deploy the new version there and configure a network load balancer to route 1% of traffic.
Back to gcp-ace 50 questions - page 7 of 10