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

Google Associate Cloud Engineer - Practice Test 3

Question #26
Storage & Databases

Your organization manages diverse datasets, each with distinct storage needs. These datasets include: 1. Structured customer information requiring complex query capabilities. 2. Extensive historical log data, accessed rarely but needing long-term retention. 3. High-throughput sensor readings that are written frequently and need to be available for analysis, with a tolerance for minor data loss. You need to implement the most cost-effective Google Cloud storage solution that meets all these requirements. Which combination of services should you choose?

A. Use Firestore for customer data, Cloud Storage (Nearline) for historical logs, and Bigtable for sensor data.
B. Use Cloud SQL for customer data, Cloud Storage (Coldline) for historical logs, and BigQuery for sensor data.
C. Use Cloud SQL for customer data, Cloud Storage (Archive) for historical logs, and Bigtable for sensor data.
D. Use Spanner for all data.
Question #27
Security

You are responsible for managing the security configuration of your company’s Google Cloud organization. Your Operations team requires specific permissions to manage both a Google Kubernetes Engine (GKE) cluster and a Cloud SQL instance. You've identified two existing predefined Identity and Access Management (IAM) roles that each contain some, but not all, of the necessary permissions. You need to grant the Operations team the required IAM permissions while adhering to Google's recommended practices for least privilege. What is the most appropriate action to take?

A. Create a custom IAM role that combines all permissions from the two relevant predefined roles.
B. Create a custom IAM role that includes only the specific required permissions from the predefined roles.
C. Grant the Operations team both of the predefined IAM roles.
D. Grant the Operations team the predefined IAM roles of Kubernetes Engine Admin and Cloud SQL Admin.
Question #28
Compute Engine

You have deployed a Linux-based application on a Google Compute Engine instance. An external contractor needs secure access to this instance. The contractor is connected to your corporate network via a VPN but does not possess a Google account. What is the most appropriate method to grant them access?

A. Instruct the external contractor to use the gcloud compute ssh command-line tool with Identity-Aware Proxy to access the instance.
B. Instruct the external contractor to generate an SSH key pair, request their public key, add it to the instance, and have them access the instance via SSH with their private key.
C. Instruct the external contractor to use the gcloud compute ssh command-line tool by providing them with the public IP address of the instance.
D. Instruct the external contractor to generate an SSH key pair, request their private key, add it to the instance, and have them access the instance via SSH with their public key.
Question #29
Compute

You are designing the infrastructure for a new Enterprise Resource Planning (ERP) system on Google Cloud. This application relies heavily on an in-memory database for rapid data access. Which Google Cloud Compute Engine machine type would be most appropriate for this workload?

A. Provision preemptible Compute Engine instances.
B. Provision Compute Engine instances with M1 machine type.
C. Provision Compute Engine instances with GPUs attached.
D. Provision Compute Engine instances with local SSDs attached.
Question #30
Compute

Your web application, hosted on Cloud Run, frequently interacts with a Cloud SQL database. During peak traffic periods each morning, you observe recurring API quota errors in your Cloud SQL logs, indicating that the project has hit its maximum API quota. To mitigate this issue, which configuration change should you implement?

A. Configure traffic splitting for the Cloud Run service.
B. Adjust the minimum number of Cloud Run instances.
C. Modify the maximum number of Cloud Run instances.
D. Set a minimum concurrent requests environment variable for the application.
Back to gcp-ace 50 questions - page 6 of 10