100% Latest & Updated Google Associate Cloud Engineer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 180
A Google Cloud engineer must resolve 3 INDEPENDENT workstreams: Workstream A: A release pipeline needs rolling updates for dozens of VM replicas and must preserve a health-checked instance template and minimum capacity. Workstream B: A cloud operations engineer must locate VMs that are currently RUNNING in two zones before applying a planned maintenance policy. Workstream C: A support contractor has a custom group grant but the service desk cannot verify who assigned its current project permissions. Select exactly 3 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Query the appropriate project and zone Compute Engine instance inventory using console or gcloud with verified filters and sufficient read permissions.
- Create a managed instance group from a versioned instance template and configure autoscaler, health checks and update policy to match service demand.
- Inspect current effective IAM allow policies and create or change narrowly scoped bindings only after testing target identities and inherited roles.
- Create suitable Cloud Logging sinks with filters and destination writer permissions, then verify routed events and exclusion behavior.
- Attach the intended service account or supported workload identity binding to the compute resource and configure necessary invocation scopes and resource permissions.
- Instrument and export a supported user-defined Monitoring metric with controlled labels, metric type and sampling/aggregation choices.
Explanation
Correct Answers
A:This is the action for one LISTED workstream: A cloud operations engineer must locate VMs that are currently RUNNING in two zones before applying a planned maintenance policy. Appropriate configuration: Query the appropriate project and zone Compute Engine instance inventory using console or gcloud with verified filters and sufficient read permissions. Technical reason: VM instance state is recorded as a resource status and can vary by project and zone; inventories need correct scope and current data. Validation: The inventory returns only intended RUNNING instances with exact project, zone, machine type and labels for the maintenance change. Limitation: An IAM denial or incomplete project list can cause undercounting, and a VM name alone does not prove its current lifecycle status.
B:This is the action for one LISTED workstream: A release pipeline needs rolling updates for dozens of VM replicas and must preserve a health-checked instance template and minimum capacity. Appropriate configuration: Create a managed instance group from a versioned instance template and configure autoscaler, health checks and update policy to match service demand. Technical reason: Managed instance groups maintain similar VM fleets and can autoscale and update them using templates and workload signals. Validation: The fleet increases and decreases replica count under controlled load while verified healthy instances receive traffic after updates. Limitation: Autoscaling is constrained by quota, cooldown and configured limits; a MIG does not make an incompatible stateful workload horizontally safe.
C:This is the action for one LISTED workstream: A support contractor has a custom group grant but the service desk cannot verify who assigned its current project permissions. Appropriate configuration: Inspect current effective IAM allow policies and create or change narrowly scoped bindings only after testing target identities and inherited roles. Technical reason: Google Cloud IAM policies bind principals to roles at resource scopes; effective access can include permissions inherited from organization or folders. Validation: An access review identifies expected role members and a pilot request confirms approved actions while a denied control principal lacks privileges. Limitation: Project policy alone may not show all inherited or deny policy effects; IAM propagation and product data-plane checks must be considered.
Incorrect Answers
D:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: An enterprise needs to route selected production application logs to a central BigQuery dataset for incident analytics without granting each project broad reader access. There the suitable action is: Create suitable Cloud Logging sinks with filters and destination writer permissions, then verify routed events and exclusion behavior. Evidence of success would be: A known test log reaches the approved BigQuery or external destination and deliberately excluded event categories remain outside the export. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
E:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A Cloud Run service uses the default identity but needs a separate service account for invoking a downstream private service. There the suitable action is: Attach the intended service account or supported workload identity binding to the compute resource and configure necessary invocation scopes and resource permissions. Evidence of success would be: A test workload shows the correct identity and completes only the expected API call without storing static service account credentials. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
F:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A custom application counts failed payment retries internally but Cloud Monitoring has no metric that differentiates them from ordinary 500 errors. There the suitable action is: Instrument and export a supported user-defined Monitoring metric with controlled labels, metric type and sampling/aggregation choices. Evidence of success would be: A controlled failure increments the expected metric with valid labels and the result is queryable and alertable in Monitoring. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
Question 181
A Google Cloud platform team reports a requirement: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. Which next configuration or action MOST directly solves this case?
- Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
- Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access.
- Create or reorganize the required organization and folder resources, place projects at intended hierarchy nodes, and review inherited policies and IAM access.
- Choose appropriate predefined roles or define a permitted custom role containing only eligible required permissions, rather than applying broad basic roles.
Explanation
Correct Answer
B:The best next operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Google Cloud principle: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Verify its outcome with: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Operational limitation: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. An unsafe competing assumption is: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
Incorrect Answers
A:This shortcut is explicitly not a sound solution: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance. It would fail to address the actual case: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The correct action is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The reason is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Confirm the corrected design by checking: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced.
C:This describes a different, UNLISTED Google Cloud administration problem: A retail enterprise acquired a subsidiary and must place 35 new Google Cloud projects under an auditable organization and folder hierarchy without breaking existing billing ownership. For that separate problem, the appropriate decision would be: Create or reorganize the required organization and folder resources, place projects at intended hierarchy nodes, and review inherited policies and IAM access. Its technical basis is: Google Cloud organization, folder, and project nodes create a hierarchy in which applicable IAM and organization policies are inherited down to resources. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant decision is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A security administrator needs to distinguish Google basic, predefined and custom roles when planning least-privilege service delegation. For that separate problem, the appropriate decision would be: Choose appropriate predefined roles or define a permitted custom role containing only eligible required permissions, rather than applying broad basic roles. Its technical basis is: Basic roles grant wide project powers, predefined roles capture service duties, and custom roles require eligible permissions and maintenance governance. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant decision is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The offered option therefore is not the direct answer to the stated requirement.
Question 182
After this planned intervention, Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The original condition was: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. What observable result BEST demonstrates the desired outcome?
- The deployed application authenticates with an expected service account and the account inventory and permissions match approved scope.
- Instances on designated subnets obtain intended internal addresses and pass permitted network tests while blocked flows remain denied.
- A controlled resource restart or replacement uses the intended reserved address and allowlisted clients continue to connect.
- The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced.
Explanation
Correct Answer
D:This provides observable evidence: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. It verifies the proposed configuration: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The relevant technical reason is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Keep the caveat in view: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A batch application needs a non-human identity for writing BigQuery job results, but engineers currently share an employee's personal user token. For that separate problem, the appropriate acceptance would be: The deployed application authenticates with an expected service account and the account inventory and permissions match approved scope. Its technical basis is: Service accounts represent workload or Google-managed identities; they are separate from interactive users and require careful ownership and permissions. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
B:This describes a different, UNLISTED Google Cloud administration problem: A multi-team sandbox has overlapping IP plans and a cloud engineer must establish controlled connectivity for new app subnets. For that separate problem, the appropriate acceptance would be: Instances on designated subnets obtain intended internal addresses and pass permitted network tests while blocked flows remain denied. Its technical basis is: VPC networks are global resources, subnets are regional, and effective connectivity depends on routes, firewall rules and nonoverlapping ranges. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: An external HTTPS endpoint changes IP every redeployment and its customers need a stable allowlisted frontend address. For that separate problem, the appropriate acceptance would be: A controlled resource restart or replacement uses the intended reserved address and allowlisted clients continue to connect. Its technical basis is: Reserved Google Cloud IP addresses preserve a known endpoint when allocated and used in compatible networking resources. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
Question 183
A review board considers this case: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The proposed control is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Which limitation remains important before production approval?
- Some products need separate service-agent or resource-level IAM; a broad role at a parent may undermine a narrow bucket policy.
- OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
- API activation may have billing, quota and dependency implications, and service agents may require separate permissions after enablement.
- Budget notifications may have data latency and require separate automation for enforcement; setting a budget alone is not a hard spending limit.
Explanation
Correct Answer
B:This limitation still matters: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The incident is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The proposed operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Confirm with: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Underlying reason: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A reporting service account only needs to read one approved Cloud Storage bucket but currently has project Editor across development and production. For that separate problem, the appropriate risk would be: Some products need separate service-agent or resource-level IAM; a broad role at a parent may undermine a narrow bucket policy. Its technical basis is: A service account's access is defined by IAM role bindings; running as a service account does not imply automatic project Editor permissions. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A developer receives a Service Disabled error when creating BigQuery jobs in a newly provisioned project even though the principal has an eligible job role. For that separate problem, the appropriate risk would be: API activation may have billing, quota and dependency implications, and service agents may require separate permissions after enablement. Its technical basis is: Google Cloud APIs must be enabled per project before supported resources and API operations can run; IAM permissions do not replace API activation. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A platform owner needs notification when forecast monthly spend exceeds a threshold but currently notices cost spikes only after invoices close. For that separate problem, the appropriate risk would be: Budget notifications may have data latency and require separate automation for enforcement; setting a budget alone is not a hard spending limit. Its technical basis is: Cloud Billing budgets report configured spend progress and notifications; by default they do not automatically cap or stop underlying charges. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
Question 184
An engineer must justify the technical design for: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. Which platform principle BEST explains the correct remedy?
- Quotas protect shared Google Cloud resources and can be regional, global or per machine family; account budget and quotas are separate limits.
- OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys.
- Service accounts represent workload or Google-managed identities; they are separate from interactive users and require careful ownership and permissions.
- Asset Inventory records searchable asset metadata and policy history where supported; AI assistance can help interpret evidence but cannot replace its verification.
Explanation
Correct Answer
B:The appropriate principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. In the situation: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The correct operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Acceptance criterion: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Important boundary: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. Avoid: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A batch workload cannot start 30 additional Compute Engine instances because its regional CPU quota is exhausted despite budget remaining. For that separate problem, the appropriate principle would be: Quotas protect shared Google Cloud resources and can be regional, global or per machine family; account budget and quotas are separate limits. Its technical basis is: Quotas protect shared Google Cloud resources and can be regional, global or per machine family; account budget and quotas are separate limits. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A compliance review needs to inventory Google-managed service agents separately from customer-created service accounts to avoid deleting service dependencies. For that separate problem, the appropriate principle would be: Service accounts represent workload or Google-managed identities; they are separate from interactive users and require careful ownership and permissions. Its technical basis is: Service accounts represent workload or Google-managed identities; they are separate from interactive users and require careful ownership and permissions. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: An enterprise wants to inventory public-address exposure across 600 project assets and obtain AI-assisted interpretation without giving developers Owner access. For that separate problem, the appropriate principle would be: Asset Inventory records searchable asset metadata and policy history where supported; AI assistance can help interpret evidence but cannot replace its verification. Its technical basis is: Asset Inventory records searchable asset metadata and policy history where supported; AI assistance can help interpret evidence but cannot replace its verification. The case actually posed here is: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
Question 185
A Google Cloud engineer must resolve 2 INDEPENDENT workstreams: Workstream A: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. Workstream B: A service uses Cloud NGFW rules targeting one tag but after a policy change unrelated workers can reach the restricted administration port. Select exactly 2 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Inspect and correct applicable VPC firewall or NGFW policy priorities and targets, validate inherited rules and use flow logs where appropriate.
- Configure Workload Identity Federation pool, trusted provider and attribute restrictions for the external workload, with scoped direct roles or approved impersonation.
- Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access.
- Use approved service account impersonation with narrow Token Creator access and short-lived credentials, preserving the initiating principal in audit evidence.
- Review and manage IAM bindings ON the specific service account controlling who may act as or administer it, and validate delegated identities.
Explanation
Correct Answers
A:This is the action for one LISTED workstream: A service uses Cloud NGFW rules targeting one tag but after a policy change unrelated workers can reach the restricted administration port. Appropriate configuration: Inspect and correct applicable VPC firewall or NGFW policy priorities and targets, validate inherited rules and use flow logs where appropriate. Technical reason: Effective Google Cloud firewall policy results from matching direction, priority, targets, sources and hierarchy, not merely the last edited rule. Validation: A negative-control VM cannot reach the protected port, while permitted service traffic still works and relevant rule logs corroborate enforcement. Limitation: Firewall changes can be shadowed by higher-priority or hierarchical policies, and service accounts or secure tags need proper governance.
C:This is the action for one LISTED workstream: An enterprise prohibits project users from storing unmanaged SSH keys in VM metadata and needs IAM-backed operating-system access on Linux VMs. Appropriate configuration: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Technical reason: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Validation: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Limitation: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
Incorrect Answers
B:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: An external build identity from a partner repository was accepted by a cloud trust pool despite lacking the approved organization attribute and branch restriction. There the suitable action is: Configure Workload Identity Federation pool, trusted provider and attribute restrictions for the external workload, with scoped direct roles or approved impersonation. Evidence of success would be: A trusted repository branch performs the allowed API operation while an untrusted fork cannot obtain access tokens for the target principal. No workstream in the current question describes this requirement, so it is not one of the 2 requested answers.
D:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A CI identity should temporarily act as a release service account for one project but must not be allowed to impersonate higher-privileged identities in other folders. There the suitable action is: Use approved service account impersonation with narrow Token Creator access and short-lived credentials, preserving the initiating principal in audit evidence. Evidence of success would be: A controlled gcloud impersonated request succeeds and audit evidence identifies the approved actor while an unprivileged engineer is denied. No workstream in the current question describes this requirement, so it is not one of the 2 requested answers.
E:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A team rotates an administrator identity but accidentally retains broad iam.serviceAccounts.setIamPolicy privileges on a payment service account and needs a narrowly scoped correction. There the suitable action is: Review and manage IAM bindings ON the specific service account controlling who may act as or administer it, and validate delegated identities. Evidence of success would be: Only an approved principal can attach or impersonate the designated service account; a control principal receives access denied. No workstream in the current question describes this requirement, so it is not one of the 2 requested answers.
Question 186
An ACE operator is asked to fix this deployment issue: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. Choose the BEST supported next step rather than an unrelated change.
- Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
- Configure GKE Workload Identity Federation to bind the intended Kubernetes workload principal to eligible Google Cloud IAM permissions or account impersonation.
- Create a scoped Cloud Billing budget with actual or forecast thresholds, alert destinations, and accountable spend review procedures.
- Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access.
Explanation
Correct Answer
D:The best next operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Google Cloud principle: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Verify its outcome with: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Operational limitation: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. An unsafe competing assumption is: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
Incorrect Answers
A:This shortcut is explicitly not a sound solution: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance. It would fail to address the actual case: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The correct action is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The reason is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Confirm the corrected design by checking: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced.
B:This describes a different, UNLISTED Google Cloud administration problem: A multi-namespace GKE cluster lets one compromised development Pod assume the storage identity used by production, and operators need namespace-scoped separation. For that separate problem, the appropriate decision would be: Configure GKE Workload Identity Federation to bind the intended Kubernetes workload principal to eligible Google Cloud IAM permissions or account impersonation. Its technical basis is: Workload identity bridges Kubernetes workload identity to Google Cloud APIs using managed short-lived credentials rather than embedded static service-account keys. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant decision is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A platform owner needs notification when forecast monthly spend exceeds a threshold but currently notices cost spikes only after invoices close. For that separate problem, the appropriate decision would be: Create a scoped Cloud Billing budget with actual or forecast thresholds, alert destinations, and accountable spend review procedures. Its technical basis is: Cloud Billing budgets report configured spend progress and notifications; by default they do not automatically cap or stop underlying charges. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant decision is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The offered option therefore is not the direct answer to the stated requirement.
Question 187
A change request targets: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The recommended operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Which measurable check shows that the problem is resolved?
- A controlled budget configuration shows the correct spend scope and alert thresholds, and designated owners can verify notification routing.
- The correct quota metric shows sufficient approved limit and controlled workload startup no longer fails for a quota-related reason.
- The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced.
- An approved group accesses only the expected projects after inheritance changes and an external negative-control user remains denied.
Explanation
Correct Answer
C:This provides observable evidence: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. It verifies the proposed configuration: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. The relevant technical reason is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Keep the caveat in view: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A platform owner needs notification when forecast monthly spend exceeds a threshold but currently notices cost spikes only after invoices close. For that separate problem, the appropriate acceptance would be: A controlled budget configuration shows the correct spend scope and alert thresholds, and designated owners can verify notification routing. Its technical basis is: Cloud Billing budgets report configured spend progress and notifications; by default they do not automatically cap or stop underlying charges. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
B:This describes a different, UNLISTED Google Cloud administration problem: A batch workload cannot start 30 additional Compute Engine instances because its regional CPU quota is exhausted despite budget remaining. For that separate problem, the appropriate acceptance would be: The correct quota metric shows sufficient approved limit and controlled workload startup no longer fails for a quota-related reason. Its technical basis is: Quotas protect shared Google Cloud resources and can be regional, global or per machine family; account budget and quotas are separate limits. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A regulated finance organization must decide whether an IAM binding belongs at organization, folder, project or individual resource scope. For that separate problem, the appropriate acceptance would be: An approved group accesses only the expected projects after inheritance changes and an external negative-control user remains denied. Its technical basis is: Google Cloud hierarchical IAM grants can propagate to descendants, making organization and folder level permissions much broader than project-only bindings. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant acceptance is: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. The offered option therefore is not the direct answer to the stated requirement.
Question 188
The engineer plans: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. This addresses: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. What technical caveat should remain in the implementation record?
- OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
- Directory group changes and IAM propagation are not instantaneous; creating a Cloud Identity group alone does not grant roles on cloud projects.
- Creating an organization may depend on identity-domain and administrative prerequisites; it is not accomplished by merely renaming a project.
- An iam.serviceAccountUser permission is not interchangeable with Token Creator and an account's project roles do not automatically authorize impersonation.
Explanation
Correct Answer
A:This limitation still matters: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The incident is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The proposed operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Confirm with: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Underlying reason: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys.
Incorrect Answers
B:This describes a different, UNLISTED Google Cloud administration problem: After an acquisition, a company needs to provision and suspend hundreds of staff identities in Cloud Identity through a centrally controlled onboarding lifecycle. For that separate problem, the appropriate risk would be: Directory group changes and IAM propagation are not instantaneous; creating a Cloud Identity group alone does not grant roles on cloud projects. Its technical basis is: Cloud Identity manages organization identities and groups that may be referenced by Google Cloud IAM, while authentication and resource authorization remain separate. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A startup has verified its domain but is unable to manage organization-wide policies because all workloads are in isolated personal-project contexts. For that separate problem, the appropriate risk would be: Creating an organization may depend on identity-domain and administrative prerequisites; it is not accomplished by merely renaming a project. Its technical basis is: An organization resource is the administrative root for Google Cloud resource hierarchy and policy control and is distinct from a billing account. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A team rotates an administrator identity but accidentally retains broad iam.serviceAccounts.setIamPolicy privileges on a payment service account and needs a narrowly scoped correction. For that separate problem, the appropriate risk would be: An iam.serviceAccountUser permission is not interchangeable with Token Creator and an account's project roles do not automatically authorize impersonation. Its technical basis is: Service account resource permissions for attaching, managing or impersonating identities are separate from the roles that account has on other resources. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant risk is: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. The offered option therefore is not the direct answer to the stated requirement.
Question 189
A project postmortem examines: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. Which underlying Google Cloud behavior makes the appropriate response effective?
- Custom metrics turn application-specific measurements into time series, requiring correct schema, IAM and label cardinality design.
- OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys.
- Google Cloud IAM policies bind principals to roles at resource scopes; effective access can include permissions inherited from organization or folders.
- Database Center centralizes metadata and some risk/operations insights across supported databases but does not replace product-specific instance operations.
Explanation
Correct Answer
B:The appropriate principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. In the situation: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The correct operation is: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Acceptance criterion: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Important boundary: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter. Avoid: Give a contractor the Cloud Billing Viewer role and assume it automatically enables sudo SSH into every Linux instance.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A custom application counts failed payment retries internally but Cloud Monitoring has no metric that differentiates them from ordinary 500 errors. For that separate problem, the appropriate principle would be: Custom metrics turn application-specific measurements into time series, requiring correct schema, IAM and label cardinality design. Its technical basis is: Custom metrics turn application-specific measurements into time series, requiring correct schema, IAM and label cardinality design. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A cloud security team needs a report of all IAM policy bindings on a project before revoking risky external member access. For that separate problem, the appropriate principle would be: Google Cloud IAM policies bind principals to roles at resource scopes; effective access can include permissions inherited from organization or folders. Its technical basis is: Google Cloud IAM policies bind principals to roles at resource scopes; effective access can include permissions inherited from organization or folders. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A database operations team manages hundreds of Cloud SQL and AlloyDB instances and needs fleet risk visibility rather than inspecting each console page. For that separate problem, the appropriate principle would be: Database Center centralizes metadata and some risk/operations insights across supported databases but does not replace product-specific instance operations. Its technical basis is: Database Center centralizes metadata and some risk/operations insights across supported databases but does not replace product-specific instance operations. The case actually posed here is: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. The relevant principle is: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. The offered option therefore is not the direct answer to the stated requirement.
Question 190
A Google Cloud engineer must resolve 3 INDEPENDENT workstreams: Workstream A: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. Workstream B: A Cloud Run API needs a new container image version while retaining previous working revisions for emergency rollback and controlled rollout. Workstream C: A deployment system can impersonate a service account unexpectedly because Token Creator was granted at the entire project, not on the selected account. Select exactly 3 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Inspect effective VPC routes and add or adjust supported static routes with the correct destination, next hop and priority after testing reachability.
- Choose appropriate Cloud Storage classes and lifecycle or shared file products according to access frequency, filesystem semantics and recovery needs.
- Review and manage IAM bindings ON the specific service account controlling who may act as or administer it, and validate delegated identities.
- Deploy a new immutable Cloud Run revision with tested image, environment, identity and ingress settings before promoting user traffic.
- Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access.
- Create a Compute Engine VM with supported zone, machine type, boot image, disk, network, service identity, availability policy and secure access configuration.
Explanation
Correct Answers
C:This is the action for one LISTED workstream: A deployment system can impersonate a service account unexpectedly because Token Creator was granted at the entire project, not on the selected account. Appropriate configuration: Review and manage IAM bindings ON the specific service account controlling who may act as or administer it, and validate delegated identities. Technical reason: Service account resource permissions for attaching, managing or impersonating identities are separate from the roles that account has on other resources. Validation: Only an approved principal can attach or impersonate the designated service account; a control principal receives access denied. Limitation: An iam.serviceAccountUser permission is not interchangeable with Token Creator and an account's project roles do not automatically authorize impersonation.
D:This is the action for one LISTED workstream: A Cloud Run API needs a new container image version while retaining previous working revisions for emergency rollback and controlled rollout. Appropriate configuration: Deploy a new immutable Cloud Run revision with tested image, environment, identity and ingress settings before promoting user traffic. Technical reason: Cloud Run configuration changes produce revisions, allowing separate validation and later traffic assignment without rewriting older revision state. Validation: The new revision becomes Ready, passes its smoke test and can be selected independently of the previously healthy revision. Limitation: A newly deployed revision does not guarantee app correctness, and a change can shift traffic if rollout flags are misconfigured.
E:This is the action for one LISTED workstream: A contractor needs temporary SSH access to a staging VM while persistent instance-level authorized_keys entries remain unacceptable. Appropriate configuration: Enable and configure OS Login on eligible Compute Engine instances with corresponding IAM roles and tested operating-system access. Technical reason: OS Login integrates Linux account and SSH authorization with Google Cloud IAM and OS-level prerequisites instead of uncontrolled metadata keys. Validation: The approved principal connects through OS Login and an unprivileged account is denied while SSH-key sprawl is reduced. Limitation: OS Login behavior can depend on image support, guest environment, project metadata and external identity configuration; firewall rules still matter.
Incorrect Answers
A:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A multi-network environment has a custom route sending application packets to a nonexistent appliance and needs a safe correction without disabling all traffic. There the suitable action is: Inspect effective VPC routes and add or adjust supported static routes with the correct destination, next hop and priority after testing reachability. Evidence of success would be: Traces show permitted packets follow the intended next hop and conflicting routes are removed without interrupting unrelated subnets. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
B:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A legal archive accesses files twice a year and needs low recurring storage cost while retaining an approved retrieval window and retention policy. There the suitable action is: Choose appropriate Cloud Storage classes and lifecycle or shared file products according to access frequency, filesystem semantics and recovery needs. Evidence of success would be: A representative file workload meets required throughput or access profile and a sample retrieval costs and behaves as planned. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
F:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A fraud analytics service needs a Linux VM on a fixed machine family with an attached boot disk and restricted SSH, and staff have only created a project. There the suitable action is: Create a Compute Engine VM with supported zone, machine type, boot image, disk, network, service identity, availability policy and secure access configuration. Evidence of success would be: The instance boots with the intended image and disks and a designated authorized user can access it securely while unauthorized SSH fails. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
Associate Cloud Engineer Practice Tests