Google Associate Cloud Engineer Practice Test 16
Question 150
A service exceeds a Google API calls-per-minute limit and receives 429 quota errors while its regional Compute Engine CPU quota remains nearly unused. Which limit should the team address?
- Increase the regional CPU quota, because request-rate quotas are submetrics of CPU allocation.
- Double the VM boot-disk capacity so requests count against storage quota instead of API quota.
- Inspect the specific API request-rate quota and implement rate limiting and exponential backoff, or seek an approved quota increase.
- Move the project to another folder; inherited IAM automatically doubles every service request quota.
Explanation
Correct Answer
C:Inspect the specific API request-rate quota and implement rate limiting and exponential backoff, or seek an approved quota increase. The error is about requests per time window. Shaping client traffic and requesting a limit adjustment for the named API quota directly addresses the exceeded counter.
Incorrect Answers
A:Increase the regional CPU quota, because request-rate quotas are submetrics of CPU allocation. CPU resource quotas and service API request-rate quotas are distinct metrics. Extra CPU allocation cannot resolve a 429 request-rate limit.
B:Double the VM boot-disk capacity so requests count against storage quota instead of API quota. Boot-disk capacity has no relationship to the API request counter that is producing the rate-limit error.
D:Move the project to another folder; inherited IAM automatically doubles every service request quota. Changing the resource hierarchy does not automatically change service request-rate entitlements; the relevant API metric remains bounded.
Question 151
A service account sees quota-related errors for one project although requests are triggered from another. What routing detail matters?
- Use the service account’s home project as the quota owner for every Google Cloud API without checking requests.
- Change the project’s display name to match the API’s quota metric.
- Add an organization Owner binding to eliminate per-project quotas.
- Inspect the API’s consumer/quota project attribution, requested metric and relevant quota limits.
Explanation
Correct Answer
D:Depending on the API and credential flow, calls may consume quota against a configured quota or consumer project. Identify the precise failing metric and account attribution in the error before changing limits or request routing.
Incorrect Answers
A:A service account’s identity project does not invariably determine which project is charged for quota.
B:Project names do not set quota accounting or the enforced metric.
C:Admin grants affect authorization, not service capacity limits.
Question 152
An audit requires two separately governed projects to live in the same data region but under different folders. What controls the scope of each requirement?
- Use one organization-wide role as proof that both projects store data in the same geographic region.
- Move the projects into the same folder because parent location determines all resource geography.
- Use identical labels and omit service-specific location constraints.
- Keep distinct folder governance and explicitly enforce allowed service locations where applicable.
Explanation
Correct Answer
D:Apply IAM and organization policies to each intended folder while separately configuring or enforcing the deployment regions for the relevant services. Governance scope and data geography are different dimensions and both need explicit validation.
Incorrect Answers
A:Role inheritance governs access; it does not itself locate every service’s data.
B:Folder ancestry does not move resources into a common physical region.
C:Labels classify resources but do not necessarily constrain where supported products can deploy.
Question 153
A new user is not visible to a project admin, who wants to create a shadow unmanaged account as a workaround. What should be done?
- Create an unmanaged Gmail identity and give it organization Owner until directory provisioning catches up.
- Share an existing administrator login to make the user immediately visible.
- Correct provisioning in the approved identity directory and group lifecycle before assigning intended project roles.
- Disable group-based authorization for the entire organization.
Explanation
Correct Answer
C:Managed workforce users should be created or synchronized through the approved identity process. Check group membership and propagation, then bind only the required roles once the principal is correctly represented.
Incorrect Answers
A:A shadow account bypasses identity governance and complicates offboarding and auditability.
B:Shared logins remove individual accountability and do not fix the directory synchronization issue.
D:Removing group-based authorization from every project is disproportionate and could disrupt existing access.
Question 154
An employee authentication provider rotates signing certificates and federated access begins failing. What should identity operations inspect?
- Grant broader project IAM roles to everyone until signatures become valid again.
- Update and validate the workforce federation provider’s trusted IdP certificate/metadata and assertion settings.
- Increase the project’s network bandwidth because token validation uses API quota.
- Disable the trusted issuer check and accept assertions from any identity provider.
Explanation
Correct Answer
B:A signing-key rotation can cause assertions to fail verification if federation trust metadata is stale. Refresh the approved provider configuration, validate issuer/audience/signature handling, and test a limited login before normal operation resumes.
Incorrect Answers
A:An authentication trust failure is not solved by extra resource permissions.
C:Network throughput does not explain a signature verification failure.
D:Accepting untrusted tokens compromises identity assurance and is not an acceptable repair.
Question 155
A VPC already uses subnet 10.8.0.0/20 in us-central1. An engineer tries to add 10.8.0.0/21 in europe-west1 in that same VPC. What address-plan correction is required?
- Use the same overlapping CIDR and add a different subnet name, since regions automatically disambiguate identical addresses.
- Add an organization Viewer role, which makes conflicting VPC subnet routes coexist without changing addresses.
- Allocate a nonoverlapping subnet CIDR within the VPC's address plan before creating the europe-west1 subnet.
- Enable a Cloud Billing spend-cap budget because payment policy reserves unique RFC1918 address ranges.
Explanation
Correct Answer
C:Allocate a nonoverlapping subnet CIDR within the VPC's address plan before creating the europe-west1 subnet. A global VPC may contain regional subnets, but each requires a compatible nonoverlapping address range for consistent routing.
Incorrect Answers
A:Use the same overlapping CIDR and add a different subnet name, since regions automatically disambiguate identical addresses. Google VPC subnet address ranges cannot overlap within one network. Naming or regional separation cannot remove the overlap.
B:Add an organization Viewer role, which makes conflicting VPC subnet routes coexist without changing addresses. IAM role grants control API rights but do not change route uniqueness. Conflicting subnet CIDRs would still be invalid.
D:Enable a Cloud Billing spend-cap budget because payment policy reserves unique RFC1918 address ranges. Budgets do not allocate or reserve private IP ranges for subnet topology. The conflict is an overlapping network prefix.
Question 156
A newly created project relies on dashboards hosted in another project's Monitoring metrics scope, but the viewer cannot load them. What should be checked?
- Grant the viewer Compute Engine Admin on both projects and assume Monitoring dashboards will appear.
- Verify the Monitoring metrics scope and the viewer’s read permissions for the scoping project and monitored resources.
- Move all monitored VMs into the dashboard project just to share the charts.
- Enable Cloud Billing export because Billing tables automatically include every Monitoring dashboard.
Explanation
Correct Answer
B:Cross-project dashboards rely on the selected metrics scope and appropriate IAM roles. Check which projects are included and whether the viewer can access the scoping project and required metric data before changing workloads.
Incorrect Answers
A:Compute administration is broader than read-only observability and does not by itself configure a metrics scope.
C:Moving workloads is unnecessary when a supported metrics-scope and permissions design can provide a shared view.
D:Billing exports hold financial usage data, not Cloud Monitoring dashboard access controls.
Question 157
A team uses an asset snapshot to determine whether a service is currently processing requests. What additional data is needed?
- Use the historical asset export as a real-time stream of every currently executing request.
- Inspect current Cloud Monitoring telemetry, service logs or the product’s runtime API.
- Query the asset’s project display name repeatedly instead of collecting metrics.
- Compare only billing spend because a low daily charge proves zero incoming requests.
Explanation
Correct Answer
B:The question asks whether a service is currently processing traffic. Use product-level health metrics, request logs or runtime status APIs to observe activity; the inventory snapshot alone cannot establish live request state.
Incorrect Answers
A:Asset metadata is primarily resource configuration/inventory, not a complete real-time request monitor.
C:A project name is not a runtime signal.
D:Spend can lag and reflects pricing as well as activity, so it cannot confirm instantaneous requests.
Question 158
A regional managed instance group spans three zones in us-central1. The recovery requirement is to serve users through a complete us-central1 outage. What gap remains in the design?
- Increase maxSurge within the existing us-central1 MIG, because added instances inside the failed region survive a regional outage.
- Deploy an approved serving stack and necessary data recovery in another region, with health-aware cross-region traffic failover.
- Attach another zonal persistent disk in us-central1-a and assume it remains reachable after failure of the entire region.
- Turn on regional Cloud Monitoring dashboards only; dashboards automatically create cross-region serving capacity.
Explanation
Correct Answer
B:Deploy an approved serving stack and necessary data recovery in another region, with health-aware cross-region traffic failover. The existing MIG handles zone failure, not a whole region outage. A separate regional footprint and failover/data plan covers the broader failure scope.
Incorrect Answers
A:Increase maxSurge within the existing us-central1 MIG, because added instances inside the failed region survive a regional outage. More instances across zones mitigate zonal outages but are still confined to the same region and share its regional failure domain.
C:Attach another zonal persistent disk in us-central1-a and assume it remains reachable after failure of the entire region. A zonal disk remains within us-central1 and cannot supply regional disaster-recovery storage when the entire region is unavailable.
D:Turn on regional Cloud Monitoring dashboards only; dashboards automatically create cross-region serving capacity. Monitoring improves detection but does not provision or route user traffic to a surviving serving stack in another region.
Question 159
An AI cloud assistant suggests increasing firewall ingress to 0.0.0.0/0 to fix a private metrics export, but policy requires internal-only communication. What should be done?
- Open ingress to 0.0.0.0/0 on the production VM to guarantee the exporter reaches it.
- Give the monitoring agent organization Owner so packet routing restrictions no longer apply.
- Investigate the actual source addresses, routes and effective deny rule; add only an authorized internal ingress rule.
- Turn off VPC Firewall Rules Logging so the denied packets are no longer reported.
Explanation
Correct Answer
C:Use observed connection details and effective firewall logs to isolate the private path failure. A scoped source range, target and protocol change may solve it without permitting arbitrary external traffic.
Incorrect Answers
A:A public ingress opening conflicts with internal-only policy and unnecessarily exposes the service.
B:IAM elevation cannot repair a firewall, subnet or route mismatch and increases privilege.
D:Hiding logs does not permit traffic and removes useful troubleshooting evidence.
Question 160
A CI workflow enables a newly adopted Google API but fails only in the production project due to an organization restriction. What should the release check?
- Inspect the applicable organization service restrictions and approved exception path before retrying enablement.
- Grant project Editor repeatedly until the policy restriction disappears.
- Move the pipeline’s logs to a different bucket, then retry without a governance review.
- Disable the production billing account because billing controls all API allowlists.
Explanation
Correct Answer
A:A permission to call Service Usage does not override effective organization policies. Identify the exact constraint or denied service, obtain any authorized policy exception and reattempt through the controlled production workflow.
Incorrect Answers
B:Broader project IAM cannot negate a prohibition imposed by a higher-level organization policy.
C:Log destination is unrelated to service-use organization constraints.
D:Removing billing can break workloads and does not solve a governance-level API restriction.