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

Google Associate Cloud Engineer - Practice Test 1

Question #1
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 the 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, ensuring it's associated with the new project.
C. Using the Cloud SDK, create the new instance directly, and use the `--project` flag to specify the new project. Confirm API enablement when prompted by the Cloud SDK.
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 within the instance creation form.
Question #2
Storage

Your organization manages diverse datasets, each with distinct storage needs. These datasets include: 1. Customer profiles that are structured and frequently queried with complex operations. 2. Extensive historical audit logs, rarely accessed but critical for compliance. 3. High-throughput IoT sensor readings, requiring real-time ingestion and analysis, with some tolerance for data loss during peak loads. 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 #3
Compute

A managed instance group (MIG) in Google Cloud has failed to create new instances, leading to a reduced number of running instances below the desired target. This is impacting the application's ability to handle expected traffic. You suspect an issue with persistent disks preventing new instance creation. What is the most appropriate action to resolve this issue and ensure the MIG can scale correctly?

A. Create a new instance template with valid syntax and delete any persistent disks that share names with instances. Then, perform a rolling update of the MIG to use the new template.
B. Verify the existing instance template for valid syntax. Delete any persistent disks that have the same name as instances. Update the instance template to set the `disks.autoDelete` property to `true` for boot disks.
C. Create a new instance template with valid syntax, ensuring instance and persistent disk names are unique. Perform a rolling update of the MIG to use this new template.
D. Delete the current instance template and replace it with a new one. Ensure that instance names and persistent disk names are not identical in the new template, and set `disks.autoDelete` to `true`.
Question #4
Networking

You need to deploy a stateless web application with a web interface and multiple API endpoints. This application requires internal IP address accessibility from your company's private Virtual Private Cloud (VPC) and on-premises network for security reasons. You also need to frequently update the application with minimal operational overhead and manage the least amount of cloud infrastructure. Which Google Cloud solution should you implement?

A. Deploy the web application on Google Kubernetes Engine (GKE) Standard with an internal Ingress.
B. Deploy the web application on Cloud Run with Private Service Connect configured.
C. Deploy the web application on Cloud Run with Private Google Access configured.
D. Deploy the web application to GKE Autopilot with Private Google Access configured.
Question #5
Storage

You are designing a data archiving solution on Google Cloud Platform to meet compliance requirements for data originating from a single geographical region. This data needs to be archived after 30 days and will be accessed approximately once per year. Which Google Cloud Storage configuration should you choose?

A. Utilize Multi-Regional Storage and implement a bucket lifecycle rule to transition data to Coldline Storage after 30 days.
B. Utilize Regional Storage and implement a bucket lifecycle rule to transition data to Coldline Storage after 30 days.
C. Utilize Multi-Regional Storage and implement a bucket lifecycle rule to transition data to Nearline Storage after 30 days.
D. Utilize Regional Storage and implement a bucket lifecycle rule to transition data to Nearline Storage after 30 days.
Back to gcp-ace 50 questions - page 1 of 10