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

Google Associate Cloud Engineer - Practice Test 3

Question #21
Storage

You are designing an archival solution for your data warehouse on Google Cloud. Your team needs to access this archived data approximately once per quarter for regulatory compliance. You need to select the most cost-efficient Cloud Storage class that meets this access frequency. Which Cloud Storage class should you choose?

A. Cold Storage
B. Nearline Storage
C. Regional Storage
D. Multi-Regional Storage
Question #22
Compute

You have a single binary application that needs to run on Google Cloud Platform. You want to automatically scale this application based on the underlying virtual machine's CPU utilization. Your organization's policies mandate the direct use of virtual machines. To ensure efficient and rapid scaling, what is the most appropriate solution?

A. Create a Google Kubernetes Engine cluster and use horizontal pod autoscaling to manage application scaling.
B. Create an instance template and deploy it within a managed instance group configured with autoscaling based on CPU usage.
C. Create an instance template and use it in a managed instance group that scales up and down according to a predefined schedule.
D. Implement a set of third-party tools to build custom automation for scaling the application based on Stackdriver CPU usage metrics.
Question #23
Networking

You are designing a custom Virtual Private Cloud (VPC) in Google Cloud Platform (GCP) and need to create a single subnet within it. To maximize the available IP addresses for this subnet, which CIDR block should you choose?

A. 0.0.0.0/0
B. 10.0.0.0/8
C. 172.16.0.0/12
D. 192.168.0.0/16
Question #24
Compute

You are developing a video encoding application on Google Cloud Compute Engine. The application needs to handle a rapidly growing user base, ensuring continuous operation and sufficient processing power without manual intervention. You need to design a highly available and automated solution following Google's recommended practices. What is the most effective approach?

A. Deploy your solution on multiple standalone Compute Engine instances, and manually increase the number of instances when CPU utilization on Cloud Monitoring reaches a predefined threshold.
B. Deploy your solution to a Managed Instance Group (MIG) and configure autoscaling based on CPU utilization.
C. Deploy your solution to an instance group, and increase the number of available instances whenever you observe high CPU utilization in Cloud Monitoring.
D. Deploy your solution on multiple standalone Compute Engine instances, and replace existing instances with higher-CPU instances when CPU utilization on Cloud Monitoring indicates a bottleneck.
Question #25
Compute Engine

You have a Google Compute Engine instance running a critical application that operates during business hours (9 AM to 6 PM, weekdays). You need to implement a daily backup strategy for disaster recovery, retaining backups for 30 days. Which Google-recommended solution offers the lowest management overhead and utilizes the fewest services to achieve this?

A. Update the instance's metadata to include `snapshot-schedule: 0 1 * * *` and `snapshot-retention: 30`.
B. Navigate to the Compute Engine Disks page in the Cloud Console, select the instance's persistent disk, and configure a Snapshot Schedule with daily frequency, a start time between 1:00 AM and 2:00 AM, and an automatic deletion policy after 30 days.
C. Create two Cloud Functions: one to create disk snapshots and another to delete snapshots older than 30 days. Use Cloud Scheduler to trigger both functions daily at 1:00 AM.
D. Develop a bash script on the instance to copy disk content to Cloud Storage and another script to delete old data from the Cloud Storage bucket. Configure the instance's crontab to execute these scripts daily at 1:00 AM.
Back to gcp-ace 50 questions - page 5 of 10