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

Google Associate Cloud Engineer - Practice Test 2

Question #6
Deployment Management

You need to modify an existing Deployment Manager deployment without causing any service interruptions or downtime to the deployed resources. Which `gcloud` command should you use to achieve this?

A. `gcloud deployment-manager deployments create --config <deployment-config-path>`
B. `gcloud deployment-manager deployments update --config <deployment-config-path>`
C. `gcloud deployment-manager resources create --config <deployment-config-path>`
D. `gcloud deployment-manager resources update --config <deployment-config-path>`
Question #7
Billing & Cost Management

You manage several Google Cloud projects, each linked to a different billing account. You need a unified, real-time visualization of all incurred costs across these projects to better estimate future charges. What is the most effective approach to achieve this?

A. Visit the Cost Table page to get a CSV export and visualize it using Data Studio.
B. Configure Billing Data Export to BigQuery and visualize the data in Data Studio.
C. Fill all resources in the Pricing Calculator to get an estimate of the monthly cost.
D. Use the Reports view in the Cloud Billing Console to view the desired cost information.
Question #8
Storage

You need to upload a 32 GB file to a Google Cloud Storage Nearline bucket. Your network connection provides a consistent 1 Gbps bandwidth, and you are the sole user. To maximize the utilization of your available bandwidth for a rapid transfer, which method should you employ?

A. Utilize the Google Cloud Console for the file transfer instead of the gsutil command-line tool.
B. Enable parallel composite uploads using gsutil during the file transfer operation.
C. Reduce the TCP window size on the machine initiating the upload.
D. Change the storage class of the target bucket from Nearline to Multi-Regional.
Question #9
Compute Engine

You manage two Google Cloud Platform projects: one in your default region/zone and another in a non-default region/zone. You need to provision new Compute Engine instances in both projects using the `gcloud` command-line interface. What is the most efficient way to manage this process?

A. Create two configurations using `gcloud config configurations create [NAME]`. Activate the relevant configuration with `gcloud config configurations activate [NAME]` before executing instance creation commands.
B. Create two configurations using `gcloud config configurations create [NAME]`. Use `gcloud configurations list` to select and start the Compute Engine instances.
C. Activate two configurations using `gcloud configurations activate [NAME]`. Then, use `gcloud config list` to initiate the Compute Engine instances.
D. Activate two configurations using `gcloud configurations activate [NAME]`. Subsequently, use `gcloud configurations list` to launch the Compute Engine instances.
Question #10
Compute

You have successfully created a new Google Cloud project and linked it to a billing account using the `gcloud` CLI. Your next task is to provision a new Compute Engine virtual machine instance via the command line. Before you can create the instance, which prerequisite step must you complete?

A. Create a Cloud Monitoring Workspace.
B. Enable the Compute Engine API (compute.googleapis.com).
C. Create a Virtual Private Cloud (VPC) network in the project.
D. Grant yourself the IAM role of Compute Admin.
Back to gcp-ace 50 questions - page 2 of 10