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

Google Associate Cloud Engineer - Practice Test 1

Question #21
Networking

You are designing a network architecture for an application that requires separate environments for production and development workloads on Google Compute Engine. Production virtual machines (VMs) must reside in a distinct subnet from development VMs. All VMs across both environments need to communicate with each other using internal IP addresses without requiring additional routing configurations. You need to set up the Virtual Private Cloud (VPC) and the two necessary subnets. Which configuration effectively meets these requirements?

A. Create a single custom VPC with two subnets. Place each subnet in a different region and assign them distinct CIDR ranges.
B. Create a single custom VPC with two subnets. Place each subnet in the same region but assign them distinct CIDR ranges.
C. Create two separate custom VPCs, each with a single subnet. Place each subnet in a different region and assign them distinct CIDR ranges.
D. Create two separate custom VPCs, each with a single subnet. Place each subnet in the same region and assign them distinct CIDR ranges.
Question #22
Cost Management

You are using the Google Cloud Pricing Calculator to estimate the cost of a new Google Kubernetes Engine (GKE) cluster. Your application requires high I/O operations per second (IOPS) and will utilize disk snapshots for data protection. After entering the number of nodes, average hours, and average days, what is the most appropriate next step to accurately reflect these requirements in the cost estimate?

A. Fill in local SSD. Add estimated cost for cluster management.
B. Fill in local SSD. Fill in persistent disk storage and snapshot storage.
C. Select Add GPUs. Fill in persistent disk storage and snapshot storage.
D. Select Add GPUs. Add estimated cost for cluster management.
Question #23
Data Analytics

Your application leverages Cloud Spanner for real-time user state management and Cloud Bigtable for logging all user-triggered events. Daily backups of Cloud Spanner data are exported to Cloud Storage. An analyst requests an ad-hoc join of data from Cloud Spanner and Cloud Bigtable for specific users. What is the most efficient way to fulfill this request?

A. Create a Dataflow job to copy data from Cloud Bigtable and Cloud Storage for the specified users.
B. Create two separate BigQuery external tables, one for Cloud Storage (Spanner backups) and one for Cloud Bigtable. Then, use the BigQuery console to join these tables on user fields with appropriate filters.
C. Create a Dataflow job to copy data from Cloud Bigtable and Cloud Spanner for the specified users.
D. Provision a Cloud Dataproc cluster to run a Spark job that extracts and joins data from Cloud Bigtable and Cloud Storage for the specified users.
Question #24
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 a 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 in the instance creation form.
Question #25
Storage

As a project owner in Google Cloud Platform, you need to delegate comprehensive control over Cloud Storage buckets and objects to your team members, adhering to Google's recommended security practices for least privilege. Which IAM role should you grant to your colleagues?

A. Project Editor
B. Storage Admin
C. Storage Object Admin
D. Storage Object Creator
Back to gcp-ace 50 questions - page 5 of 10