Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Google Associate Cloud Engineer Associate-Cloud-Engineer Exam Questions

Last updated: · 15 practice questions with answers and explanations

Page: 1 / 25 Total 363 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Setting up a cloud solution environment

Skill tested: Configures project IAM for teams using least-privilege predefined roles.

A company is onboarding an analytics team to a new Google Cloud project. Team members must create and manage BigQuery datasets and jobs, but they must not administer project IAM, create other Google Cloud resources, or change billing settings. The project is already created, and the team should not receive broad access inherited from a group. Which project-level role is the best fit for the team?

Correct Answer: A. BigQuery User
Explanation:

BigQuery User grants permissions to run jobs and create datasets, allowing the team to perform the stated project-level BigQuery work without broad project administration. BigQuery Admin includes broader control over BigQuery resources than needed. BigQuery Data Editor is primarily for modifying data and table contents, and does not provide the full job-and-dataset creation capabilities required here. Project Editor would grant permissions across many services and violate the least-privilege constraint.

Question 2

New Multiple answers

Topic: Setting up a cloud solution environment

Skill tested: Enables required APIs and distinguishes API activation from IAM authorization.

A deployment team is preparing a project to create Compute Engine virtual machines and Cloud Storage buckets. A test deployment fails because the Compute Engine API is disabled. The team also wants to ensure that its deployment identity can make the required calls, while avoiding unnecessary project-wide permissions. Which TWO actions address these separate prerequisites? Select TWO.

Correct Answer: C. Grant the deployment identity the required resource-level roles for its planned operations.; E. Enable the Compute Engine API in the project.
Explanation:

An API must be enabled for the project before its service can be used; enabling Compute Engine directly resolves the reported API prerequisite. Separately, the deployment identity needs IAM permissions for the specific resources and operations it will perform, ideally scoped as narrowly as practical. Granting Storage Admin merely to activate an API confuses API enablement with authorization. Project Owner is excessive, and creating a key neither enables APIs nor grants permissions.

Question 3

New Single answer

Topic: Setting up a cloud solution environment

Skill tested: Checks project quota availability before planning resource deployment.

A platform engineer is planning a regional rollout that will create 48 Compute Engine virtual machines in one project. The approved design specifies machine types and regions, but a deployment rehearsal reports a quota error. The engineer needs to determine whether the issue is a project limit, whether capacity can be requested, and which quota applies to the planned resources. What should the engineer do first?

Correct Answer: D. Inspect the project's quota usage and limits in the Cloud Quotas page or with the relevant quota commands, focusing on the applicable regional CPU quota.
Explanation:

Quota errors should first be diagnosed against the actual quota, its scope, current usage, and limit. For Compute Engine deployments, CPU quotas are commonly regional and depend on the selected machine types, so checking the applicable quota establishes whether a quota increase is needed. Project-count quota does not address instance CPU consumption. Downsizing might help only if CPU quota is the cause, and moving workloads to another project is not a substitute for diagnosing or requesting an appropriate quota.

Question 4

New Single answer

Topic: Setting up a cloud solution environment

Skill tested: Selects a billing account and project setup that supports controlled resource provisioning.

A department is launching a new Google Cloud workload. Its organization already has an approved billing account, and finance requires all usage to appear on that account. The cloud administrator must create a project within the organization, ensure the workload can use billed services, and avoid granting the workload team authority to change billing associations. Which approach best meets these requirements?

Correct Answer: D. Create the project under the organization, link it to the approved billing account, and grant the workload team only the resource roles it needs.
Explanation:

Creating the project within the organization and associating it with the approved billing account gives the department the required billing path and organizational governance. Resource permissions can then be granted separately, preserving least privilege. Billing Account Administrator is unnecessary for ordinary workload provisioning and gives authority over billing-account configuration. A project without a linked billing account cannot use many billed services as intended, while Project Owner does not replace a required billing association.

Question 5

New Multiple answers

Topic: Planning and implementing a cloud solution

Skill tested: Builds an autoscaled managed instance group from a reusable instance template.

A web service runs on identical stateless Compute Engine VMs. The team wants a regional managed instance group that can scale with load, distribute instances across zones, and use the same machine configuration for every new instance. The group must be created from a reusable configuration rather than from manually created VMs. Which TWO components should the team configure? Select TWO.

Correct Answer: D. An instance template containing the machine type, boot disk settings, network interfaces, and startup configuration.; E. A regional managed instance group that references the template and has autoscaling configured.
Explanation:

An instance template defines the consistent VM configuration, and a regional managed instance group uses that template to create and manage instances across zones. Configuring autoscaling on the group adjusts the managed population according to the selected signal and limits. Snapshots provide disk recovery, not scaling. Sole-tenant placement is unrelated to the stated requirement, and assigning a static external IP to every possible instance is unnecessary and conflicts with elastic membership.

Question 6

New Multiple answers

Topic: Planning and implementing a cloud solution

Skill tested: Chooses Cloud Storage classes based on access frequency and retention needs.

A media company stores two data sets in Cloud Storage. Editors access current project footage frequently, and that data must remain immediately available. Completed footage is rarely read but must be retained for at least a year; the company accepts a minimum storage duration and wants lower storage charges, while occasional retrieval must remain online without restoring from an archive system. Which TWO storage-class choices best match these data sets? Select TWO.

Correct Answer: B. Standard for the frequently accessed current footage.; E. Nearline for the year-retained footage that is accessed less than once per month.
Explanation:

Standard is designed for frequently accessed data. Nearline suits data read infrequently, including less than once per month, and provides online access with a minimum storage duration that aligns with the stated year-long retention. Coldline and Archive can be appropriate for less frequently accessed data but have longer minimum storage durations and higher retrieval considerations; neither is a fit for current, frequently read footage. Standard remains usable for both, but it does not meet the stated cost-optimization goal for the infrequently accessed set.

Question 7

New Single answer

Topic: Planning and implementing a cloud solution

Skill tested: Chooses a compute service appropriate for a containerized HTTP application.

A small development team has a containerized HTTP service that handles intermittent traffic. The service does not require access to a custom VM operating system, and the team wants Google Cloud to handle infrastructure scaling and routine server management. The application can be built from a container image and should scale down when requests stop. Which compute option is the best fit?

Correct Answer: D. Cloud Run, configured to deploy the container and scale according to incoming requests.
Explanation:

Cloud Run is a managed platform for containerized HTTP workloads and can scale the service based on requests, including scaling down when idle subject to configuration and platform behavior. It avoids the VM administration the team does not need. A fixed VM requires ongoing management and does not naturally scale to zero. A managed instance group can scale VMs but adds infrastructure management that is unnecessary here. Sole-tenant nodes address specialized host-placement requirements, not intermittent container traffic.

Question 8

New Single answer

Topic: Planning and implementing a cloud solution

Skill tested: Selects persistent disk performance and availability characteristics for a VM workload.

A transactional application runs on a Compute Engine VM and requires durable block storage with predictable low-latency performance. The application needs to retain its disk when the VM is stopped or recreated, and the team does not need a shared filesystem mounted by multiple VMs. Which storage choice is most appropriate?

Correct Answer: D. A persistent disk attached to the VM, sized and provisioned for the workload's performance needs.
Explanation:

Persistent disks provide durable block storage that can be detached and retained independently of a VM's lifecycle, with performance characteristics selected through disk type and sizing. Local SSD provides high performance but is ephemeral and is not the durable retained storage required. Cloud Storage is object storage rather than a VM block device, and an ephemeral disk does not provide the required persistence after VM deletion. A shared filesystem is not needed by this single-VM workload.

Question 9

New Single answer

Topic: Planning and implementing a cloud solution

Skill tested: Uses instance templates and rolling updates to change managed group configurations safely.

A service operates in a zonal managed instance group created from an instance template. Engineers need to change the boot disk image for new instances while keeping the group managed and limiting disruption during rollout. They also need a rollback path if the replacement instances fail health checks. What is the most appropriate approach?

Correct Answer: B. Create a new instance template with the updated image and apply it to the group using a controlled rolling update.
Explanation:

Instance templates are immutable configurations, so the updated image should be represented by a new template. Applying it through a managed instance group's rolling update allows replacement to proceed in controlled batches and supports rollback to the previous template if needed. Editing the old template in place is not the supported update model, while changing autoscaling does not update instance configuration. Replacing the managed group with standalone VMs loses the group's management and update capabilities.

Question 10

New Multiple answers

Topic: Ensuring the successful operation of a cloud solution

Skill tested: Diagnoses VM startup failures using serial console output and instance logs.

A Compute Engine VM stops serving traffic shortly after a deployment. Its status remains RUNNING, but application health checks fail. Cloud Monitoring shows the VM's CPU is low, and the deployment team suspects a boot or startup-script problem. They need evidence from the guest before changing the VM. Which TWO actions are the most useful next steps? Select TWO.

Correct Answer: A. Review relevant Cloud Logging entries and guest or application logs available for the VM.; E. Inspect the VM's serial port output for boot messages and startup-script errors.
Explanation:

Serial port output can expose boot-stage messages and failures even when an instance is running but not serving traffic. Cloud Logging and available guest or application logs provide additional evidence about startup scripts and service failures. Deleting the VM before collecting evidence may destroy useful diagnostic context. Low CPU does not indicate under-provisioning, and a broad ingress rule is neither a diagnosis nor a safe response; firewall and health-check paths should be validated specifically if evidence points there.

Question 11

New Single answer

Topic: Ensuring the successful operation of a cloud solution

Skill tested: Uses Cloud Monitoring metrics to isolate resource saturation before resizing a VM.

A reporting VM becomes slow during scheduled data processing. Users report delays, but the VM is still reachable. The operations team wants to identify whether CPU, memory, disk, or network pressure is responsible before paying for a larger machine. Cloud Monitoring is available, and the team can compare metrics with the processing schedule. What should the team do next?

Correct Answer: A. Compare time-aligned VM metrics and workload logs around the slowdown, including CPU, disk, and network indicators; use guest-level monitoring where needed for memory.
Explanation:

Correlating resource metrics and logs with the workload window helps identify the bottleneck before changing capacity. Compute Engine metrics provide useful CPU, disk, and network signals, while memory utilization may require guest-level monitoring rather than assuming it is fully represented by default metrics. Resizing without diagnosis can add cost without resolving a disk or application bottleneck. Snapshot size does not diagnose runtime performance, and repeated restarts disrupt service while discarding useful evidence.

Question 12

New Single answer

Topic: Ensuring the successful operation of a cloud solution

Skill tested: Restores a Compute Engine boot disk using a valid snapshot recovery workflow.

A VM's boot disk becomes corrupted after an unsuccessful system update. The data team has a recent snapshot of that disk and confirms that restoring the operating system is the priority; application data on a separate persistent disk is healthy. The recovery should preserve the existing VM identity where practical and avoid changing the healthy data disk. What is the most appropriate recovery plan?

Correct Answer: A. Create a new disk from the boot-disk snapshot and use it as the VM's replacement boot disk, leaving the healthy data disk intact.
Explanation:

A disk snapshot can be used to create a new disk, which can then serve as the restored boot disk while the healthy data disk remains untouched. The VM must be stopped or otherwise handled according to the applicable boot-disk replacement procedure, but the recovery source and scope are clear. Restoring over the application disk risks healthy data. A machine image captured after corruption would preserve the bad state, and attaching an empty disk does not repair the boot disk.

Question 13

New Multiple answers

Topic: Ensuring the successful operation of a cloud solution

Skill tested: Uses health checks and managed instance group repair behavior to restore unhealthy capacity.

A regional managed instance group serves a stateless API behind a load balancer. One instance fails the application's health check after a software rollout, while the other zones remain healthy. The group should stop sending traffic to the failing instance and replace it automatically, but engineers also need to avoid changing unrelated firewall rules. Which TWO checks or configurations are appropriate? Select TWO.

Correct Answer: B. Verify that the load balancer's health check reaches the service on the expected port and path.; C. Configure or verify the managed instance group's autohealing health check so unhealthy instances can be recreated.
Explanation:

The load balancer health check determines whether an instance should receive traffic, while the managed instance group's autohealing health check can trigger recreation of persistently unhealthy instances. Both checks must use the intended service endpoint and be reachable through correctly scoped network rules. Disabling health checks would route traffic to a known failing backend. Project Owner is not a health-repair mechanism, and reducing the deployment to one zonal VM harms availability rather than addressing the configuration.

Question 14

New Multiple answers

Topic: Ensuring the successful operation of a cloud solution

Skill tested: Correlates Cloud Logging evidence and monitoring alerts to diagnose recurring VM failures.

A production VM intermittently stops responding for several minutes, then recovers without an administrator restart. The service team has Cloud Monitoring alerts for availability but needs to distinguish a guest reboot, a host-level event, and an application crash. The VM runs a supported guest agent and produces application logs. Which TWO sources should the team correlate around each incident? Select TWO.

Correct Answer: B. Cloud Logging entries for Compute Engine system events and the VM's guest or application logs.; E. Cloud Monitoring time series for uptime or availability and relevant VM resource metrics.
Explanation:

System and guest/application logs can help distinguish platform events, reboots, and application failures, while Monitoring time series show when availability or resource behavior changed. Correlating timestamps across these sources is more useful than inspecting them in isolation. An unchanged image's object metadata does not reveal runtime incidents. Billing exports are not a detailed reboot or application-error log, and IP allocation history does not substitute for health metrics or event records.

Question 15

New Single answer

Topic: Configuring access and security

Skill tested: Creates a dedicated service account and grants only the roles needed for its workload.

A scheduled Compute Engine job must read objects from one Cloud Storage bucket and write results to a different bucket. The job should run without using an employee's identity, and it must not be able to administer buckets or access other projects' storage. Which configuration best follows least privilege?

Correct Answer: A. Attach a dedicated service account to the VM and grant it object-read access on the source bucket and object-create access on the destination bucket.
Explanation:

A dedicated service account gives the workload its own identity, and bucket-level permissions can restrict it to reading source objects and creating destination objects. This avoids employee credentials and limits impact to the intended data. Project-level Storage Admin is much broader than required, whether granted to the default account or a new one. Storing a long-lived key in source control creates avoidable credential exposure and is unnecessary when the VM can use an attached service account.