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

Google Associate Cloud Engineer - Practice Test 1

Question #16
Kubernetes

Your team is developing a critical application that requires deployment on Kubernetes. This production application demands high reliability and adherence to Google's recommended best practices for Kubernetes cluster provisioning. Which approach should you take?

A. Create a GKE Autopilot cluster and enroll it in the rapid release channel.
B. Create a GKE Autopilot cluster and enroll it in the stable release channel.
C. Create a zonal GKE Standard cluster and enroll it in the stable release channel.
D. Create a regional GKE Standard cluster and enroll it in the rapid release channel.
Question #17
Networking

Your company's on-premises infrastructure is operating at peak capacity, and you need to extend workloads to Google Cloud. The critical requirement is that these Google Cloud workloads must be able to communicate directly with on-premises workloads using private IP addresses. What is the most appropriate solution?

A. Configure the Google Cloud VPC as a host for Shared VPC.
B. Establish a Cloud VPN connection between the on-premises environment and Google Cloud.
C. Set up bastion hosts in both on-premises and Google Cloud, configuring them as proxy servers using public IP addresses.
D. Configure the Google Cloud VPC for VPC Network Peering.
Question #18
IAM & Security

A new contractor requires read-only access to view compute images and disks within a specific Google Cloud project. To adhere to the principle of least privilege and Google's recommended security practices, what is the most appropriate action to take?

A. Create a custom role, explicitly adding the `compute.disks.list` and `compute.images.list` permissions. Grant this custom role to the contractor at the project level.
B. Create a custom role based on the `Compute Image User` role, and then add the `compute.disks.list` permission to its `includedPermissions`. Grant this custom role to the contractor at the project level.
C. Create a custom role based on the `Compute Storage Admin` role, and then remove any unnecessary permissions. Grant this custom role to the contractor at the project level.
D. Grant the predefined `Compute Storage Admin` role to the contractor at the project level.
Question #19
Compute Engine

Your organization runs a nightly batch processing workload that utilizes a large number of virtual machines (VMs). This workload is designed to be fault-tolerant and can gracefully handle the termination of some VMs without impacting the overall job completion. However, the current operational costs for these VMs are excessively high. Which strategy should you implement to reduce costs effectively?

A. Run a test using simulated maintenance events. If the test is successful, use N2 Standard VMs when running future jobs.
B. Run a test using simulated maintenance events. If the test is successful, use Spot N2 Standard VMs when running future jobs.
C. Run a test using a managed instance group. If the test is successful, use N2 Standard VMs in the managed instance group when running future jobs.
D. Run a test using N1 standard VMs instead of N2. If the test is successful, use N1 Standard VMs when running future jobs.
Question #20
Storage & Data Management multi-select

You are developing an application to handle data file uploads from numerous external suppliers. Your primary objectives are to ensure data security and to automatically manage data retention. Specifically, the application must: * Ensure each supplier can only access their own data. * Grant suppliers write access to data for a limited duration of 30 minutes. * Automatically remove data older than 45 days. You need to implement a solution with a rapid development cycle and minimal ongoing maintenance. Which two strategies should you employ?

A. Implement a Cloud Storage lifecycle policy to automatically delete objects after 45 days.
B. Utilize signed URLs to provide suppliers with time-limited write access to upload their data.
C. Set up an SFTP server and create individual user accounts for each supplier to manage access.
D. Develop a Cloud Function that triggers a 45-day timer to delete expired objects.
E. Create a script to iterate through all Cloud Storage buckets and delete those older than 45 days.
Back to gcp-ace 50 questions - page 4 of 10