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

Google Associate Cloud Engineer - Practice Test 2

Question #11
Management Tools

You are an Associate Cloud Engineer responsible for managing several Google Cloud projects. To streamline your workflow and efficiently switch between these projects using the Google Cloud SDK command-line interface (CLI), what is the most effective approach?

A. Create a unique configuration for each project you need to manage, and then activate the relevant configuration when working with a specific Google Cloud project.
B. Create a unique configuration for each project you need to manage, and use `gcloud init` to update configuration values when switching to a non-default project.
C. Utilize the default configuration for one project, and activate a new configuration each time you work with a different assigned Google Cloud project.
D. Utilize the default configuration for one project, and use `gcloud init` to update configuration values when switching to a non-default project.
Question #12
Compute

You need to provision a new Compute Engine instance within a Google Cloud project that does not yet exist. Which sequence of steps should you follow?

A. Enable the Compute Engine API in the Cloud Console, then use the Cloud SDK to create the instance, specifying the new project with the `--project` flag.
B. Using the Cloud SDK, create a new project, enable the Compute Engine API within that new project, and then create the instance while specifying the new project.
C. Using the Cloud SDK, create the new instance and use the `--project` flag to specify the new project, answering 'yes' when prompted by Cloud SDK to enable the Compute Engine API.
D. Enable the Compute Engine API in the Cloud Console, navigate to the Compute Engine section, and look for a 'Create In A New Project' option during instance creation.
Question #13
Database Services

Your organization needs to migrate several PostgreSQL databases from an on-premises data center to Google Cloud. The primary goals are to achieve significant performance improvements, minimize changes to existing data schemas and application code, and handle data volumes exceeding 150 TB per geographical region. You also want to adhere to Google-recommended practices and optimize operational costs. Which Google Cloud database service should you choose for this migration?

A. Migrate your data to AlloyDB.
B. Migrate your data to Spanner.
C. Migrate your data to Firebase.
D. Migrate your data to Bigtable.
Question #14
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 same application and utilize the --migrate option.
B. Deploy the new version within the same 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 new App Engine application in the same project, deploy the new version there, and use the App Engine library to proxy 1% of requests to it.
D. Create a new App Engine application in the same project, deploy the new version there, and configure a network load balancer to route 1% of traffic to the new application.
Question #15
Monitoring & Operations

You are managing a critical web application hosted on Google Compute Engine. Your operations team requires automatic notifications if users experience elevated latency for a sustained period of at least 5 minutes. You need to implement a Google-recommended solution that incurs no additional development costs. What is the most appropriate action to take?

A. Export Cloud Monitoring metrics to BigQuery and create a Looker Studio dashboard to visualize and manually monitor the web application's latency.
B. Configure an alert policy in Cloud Monitoring to send a notification when the HTTP response latency consistently exceeds a predefined threshold.
C. Develop and deploy an App Engine service that periodically queries the Cloud Monitoring API for latency data and sends notifications upon detecting anomalies.
D. Utilize the Cloud Monitoring dashboard to visually observe latency trends and manually initiate actions when the response latency surpasses the specified threshold.
Back to gcp-ace 50 questions - page 3 of 10