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

Google Associate Cloud Engineer - Practice Test 3

Question #6
IAM & Administration multi-select

You have just installed the Google Cloud CLI on your new workstation. Before you can effectively use commands like `gcloud compute instances list` to view resources, what two essential configuration steps must you perform?

A. Run `gcloud auth login`, complete the authentication flow in your browser, and confirm the login in the CLI.
B. Create a Google Cloud service account, and download its key file to a known location on your machine.
C. Download your Cloud Identity user account key and place it in a folder accessible by the gcloud CLI.
D. Run `gcloud config set compute/zone $my_zone` to establish a default compute zone for your gcloud CLI commands.
E. Run `gcloud config set project $my_project` to specify the default Google Cloud project for your gcloud CLI operations.
Question #7
Deployment & Migration

Your organization is migrating its on-premises Cassandra environments to Google Cloud. Each development team requires an isolated Cassandra instance for their development work. You need to facilitate this migration quickly and with minimal operational overhead. What is the most efficient approach?

A. Create a detailed instruction guide for installing Cassandra on Google Cloud and distribute it to all development teams.
B. Direct developers to the Google Cloud Marketplace to launch pre-configured Cassandra images for their development environments.
C. Provision a Cassandra Compute Engine instance, create a snapshot, and then use this snapshot to deploy instances for each development team.
D. Set up a Cassandra Compute Engine instance, generate a snapshot, upload the snapshot to Cloud Storage, and provide instructions for developers to create their own instances from it.
Question #8
Compute

You are tasked with deploying a new containerized application to Google Cloud using a Kubernetes manifest. Your goal is to maintain full control over the Kubernetes deployment while minimizing the operational overhead of infrastructure management. Which Google Cloud service should you choose?

A. Deploy the application on Cloud Run.
B. Deploy the application on GKE Autopilot.
C. Deploy the application on GKE Standard.
D. Deploy the application on Cloud Functions.
Question #9
Databases

Your team is developing a new application on Google Kubernetes Engine (GKE) and requires a managed NoSQL database solution. You've decided on MongoDB for its flexibility and need a deployment that includes a support Service Level Agreement (SLA). Which approach should you take to meet these requirements?

A. Provision a Cloud Bigtable cluster and integrate with its HBase API.
B. Deploy MongoDB Atlas directly from the Google Cloud Marketplace.
C. Manually install MongoDB on a set of Google Compute Engine virtual machines.
D. Download and install MongoDB on instances within a Managed Instance Group (MIG).
Question #10
Data Analytics multi-select

A BigQuery query fails with a `quotaExceeded` error. You need to identify the root cause of this error to resolve it. Which two actions should you take to diagnose the issue?

A. Utilize BigQuery BI Engine to analyze the performance metrics.
B. Query the `INFORMATION_SCHEMA` views to inspect job metadata and resource consumption.
C. Configure Cloud Trace to monitor the query execution path.
D. Examine Cloud Audit Logs for detailed error messages and context.
E. Review Cloud Monitoring dashboards for BigQuery service health.
Back to gcp-ace 50 questions - page 2 of 10