100% Latest & Updated Google Associate Cloud Engineer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 310
A Google Cloud engineer must resolve 3 INDEPENDENT workstreams: Workstream A: Two independent VPC networks need selective private communication and an architect must decide between Shared VPC and VPC Network Peering. Workstream B: A regulated data warehouse has default Google-managed encryption but audit policy requires customer-managed KMS keys with controlled rotation. Workstream C: An engineer must verify which account a GKE or VM resource actually runs as after an infrastructure template update. Select exactly 3 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Configure supported CMEK integration, regional key placement, service-agent permissions and key lifecycle safeguards for the target storage or database service.
- Attach the intended service account or supported workload identity binding to the compute resource and configure necessary invocation scopes and resource permissions.
- Plan custom-mode VPC subnets, Shared VPC host/service project relationships or VPC peering according to ownership and routing needs.
- Create suitable Cloud Logging sinks with filters and destination writer permissions, then verify routed events and exclusion behavior.
- Choose a supported Compute Engine disk type and location with appropriate performance, attachment, availability and recovery characteristics.
- Use Database Center inventory and applicable fleet health or recommendation views with authorized organization/project scopes.
Explanation
Correct Answers
A:This is the action for one LISTED workstream: A regulated data warehouse has default Google-managed encryption but audit policy requires customer-managed KMS keys with controlled rotation. Appropriate configuration: Configure supported CMEK integration, regional key placement, service-agent permissions and key lifecycle safeguards for the target storage or database service. Technical reason: CMEK moves responsibility for key access and lifecycle to the customer while the Google service still performs authorized encryption operations. Validation: An approved service encrypts and reads a test dataset under the intended KMS key and access revocation yields the expected denial. Limitation: Disabling or destroying an in-use key can render data inaccessible; not all resource types and regions support identical CMEK patterns.
B:This is the action for one LISTED workstream: An engineer must verify which account a GKE or VM resource actually runs as after an infrastructure template update. Appropriate configuration: Attach the intended service account or supported workload identity binding to the compute resource and configure necessary invocation scopes and resource permissions. Technical reason: A compute workload uses its attached principal for API authentication while IAM and service-specific restrictions govern authorized operations. Validation: A test workload shows the correct identity and completes only the expected API call without storing static service account credentials. Limitation: Attaching an identity alone does not grant every required data-plane permission; existing tokens and version-specific resource settings may need refresh.
C:This is the action for one LISTED workstream: Two independent VPC networks need selective private communication and an architect must decide between Shared VPC and VPC Network Peering. Appropriate configuration: Plan custom-mode VPC subnets, Shared VPC host/service project relationships or VPC peering according to ownership and routing needs. Technical reason: Shared VPC centralizes network administration across projects, whereas peering connects separate VPC routing domains without merging their IAM scopes. Validation: Selected test instances use intended subnets/routes and communicate only along approved paths while resource identities stay scoped. Limitation: Peering is not transitive and overlapping ranges can prevent routing; Shared VPC subnet permissions require explicit host and service project IAM.
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 regional payment service needs disk recovery after a zone outage and the team must distinguish zonal Persistent Disk from regional Persistent Disk replication. There the suitable action is: Choose a supported Compute Engine disk type and location with appropriate performance, attachment, availability and recovery characteristics. Evidence of success would be: A controlled read/write workload meets required IOPS and the tested failure or recovery approach matches the chosen disk durability model. 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 database operations team manages hundreds of Cloud SQL and AlloyDB instances and needs fleet risk visibility rather than inspecting each console page. There the suitable action is: Use Database Center inventory and applicable fleet health or recommendation views with authorized organization/project scopes. Evidence of success would be: The fleet view lists the intended database resources and an identified configuration risk is corroborated against an actual instance setting. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
Question 311
A Google Cloud platform team reports a requirement: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. Which next configuration or action MOST directly solves this case?
- Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
- Configure supported Google Cloud Observability dashboards, metrics, logging scopes, and alert policies with approved roles and data visibility.
- Choose appropriate predefined roles or define a permitted custom role containing only eligible required permissions, rather than applying broad basic roles.
- Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports.
Explanation
Correct Answer
D:The best next operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Google Cloud principle: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Verify its outcome with: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Operational limitation: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. An unsafe competing assumption is: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
Incorrect Answers
A:This shortcut is explicitly not a sound solution: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication. It would fail to address the actual case: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The correct action is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The reason is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Confirm the corrected design by checking: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits.
B:This describes a different, UNLISTED Google Cloud administration problem: A production team wants baseline VM memory telemetry, application logs, and alerts in a newly created observability project but has configured no monitoring resources. For that separate problem, the appropriate decision would be: Configure supported Google Cloud Observability dashboards, metrics, logging scopes, and alert policies with approved roles and data visibility. Its technical basis is: Cloud Monitoring and Cloud Logging collect distinct telemetry, and cross-project observability requires explicit project, scope and access decisions. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant decision is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The offered option therefore is not the direct answer to the stated requirement.
C: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: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant decision is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The offered option therefore is not the direct answer to the stated requirement.
Question 312
After this planned intervention, Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The original condition was: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. What observable result BEST demonstrates the desired outcome?
- Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits.
- The verified query returns accurate rows or aggregates on the intended dataset, with traceable execution permissions and cost controls.
- A monitored test resource produces current metrics and logs in intended views and a controlled threshold breach routes an alert to authorized responders.
- A controlled gcloud impersonated request succeeds and audit evidence identifies the approved actor while an unprivileged engineer is denied.
Explanation
Correct Answer
A:This provides observable evidence: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. It verifies the proposed configuration: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The relevant technical reason is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Keep the caveat in view: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
Incorrect Answers
B:This describes a different, UNLISTED Google Cloud administration problem: An engineer needs to compare the latest ten orders in Cloud SQL with an analytical aggregate in BigQuery, but the team treats every product as the same SQL dialect. For that separate problem, the appropriate acceptance would be: The verified query returns accurate rows or aggregates on the intended dataset, with traceable execution permissions and cost controls. Its technical basis is: Cloud SQL, BigQuery, Bigtable, Firestore, Spanner and AlloyDB have different query models and access permissions. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A healthcare tenant uses several Google Cloud projects and wants a shared operational view without granting every developer broad administration permissions. For that separate problem, the appropriate acceptance would be: A monitored test resource produces current metrics and logs in intended views and a controlled threshold breach routes an alert to authorized responders. Its technical basis is: Cloud Monitoring and Cloud Logging collect distinct telemetry, and cross-project observability requires explicit project, scope and access decisions. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: 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. For that separate problem, the appropriate acceptance would be: A controlled gcloud impersonated request succeeds and audit evidence identifies the approved actor while an unprivileged engineer is denied. Its technical basis is: Impersonation exchanges a permitted principal's identity for short-lived service account tokens, unlike merely assigning that account to a VM. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
Question 313
A review board considers this case: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The proposed control is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Which limitation remains important before production approval?
- Secondary ranges, peering overlaps and organization policy can prevent an expansion; changing a subnet mask is not the same as changing firewall rules.
- Scrape targets and cardinality affect ingestion volume and cost; a Prometheus text endpoint is not automatically collected without configuration.
- Supported engine versions and products may vary, and dashboard status is not a tested backup or patch result.
- Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
Explanation
Correct Answer
D:This limitation still matters: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The incident is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The proposed operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Confirm with: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Underlying reason: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A VPC subnet runs out of available VM addresses after a managed instance group expands, but teams want to retain the existing network resource. For that separate problem, the appropriate risk would be: Secondary ranges, peering overlaps and organization policy can prevent an expansion; changing a subnet mask is not the same as changing firewall rules. Its technical basis is: Google Cloud subnet IPv4 expansion adds address capacity subject to CIDR and peering restrictions; address range design controls future connectivity. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
B:This describes a different, UNLISTED Google Cloud administration problem: A GKE service exports Prometheus metrics, but an SRE team needs centrally managed scraping and alert queries without running a separate self-managed global Prometheus cluster. For that separate problem, the appropriate risk would be: Scrape targets and cardinality affect ingestion volume and cost; a Prometheus text endpoint is not automatically collected without configuration. Its technical basis is: Managed Prometheus integrates Prometheus-format metrics into Cloud Monitoring but requires suitable collection rules and permissions. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
C: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 risk would be: Supported engine versions and products may vary, and dashboard status is not a tested backup or patch result. 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 public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
Question 314
An engineer must justify the technical design for: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. Which platform principle BEST explains the correct remedy?
- Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets.
- Google Cloud hierarchical IAM grants can propagate to descendants, making organization and folder level permissions much broader than project-only bindings.
- Cloud Run configuration changes produce revisions, allowing separate validation and later traffic assignment without rewriting older revision state.
- Streaming and analytical jobs have service-specific states and metrics; task completion in one service does not prove another pipeline is healthy.
Explanation
Correct Answer
A:The appropriate principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. In the situation: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The correct operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Acceptance criterion: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Important boundary: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. Avoid: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
Incorrect Answers
B: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 principle would be: Google Cloud hierarchical IAM grants can propagate to descendants, making organization and folder level permissions much broader than project-only bindings. 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 public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. 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 Run API needs a new container image version while retaining previous working revisions for emergency rollback and controlled rollout. For that separate problem, the appropriate principle would be: Cloud Run configuration changes produce revisions, allowing separate validation and later traffic assignment without rewriting older revision state. Its technical basis is: Cloud Run configuration changes produce revisions, allowing separate validation and later traffic assignment without rewriting older revision state. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A Dataflow pipeline appears to have stopped ingesting events while BigQuery shows a completed SQL query, and operations need to distinguish job states. For that separate problem, the appropriate principle would be: Streaming and analytical jobs have service-specific states and metrics; task completion in one service does not prove another pipeline is healthy. Its technical basis is: Streaming and analytical jobs have service-specific states and metrics; task completion in one service does not prove another pipeline is healthy. The case actually posed here is: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. The offered option therefore is not the direct answer to the stated requirement.
Question 315
A Google Cloud engineer must resolve 2 INDEPENDENT workstreams: Workstream A: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. Workstream B: A GKE Autopilot app has Pods pending after an engineer sets invalid container resource requests for a supported workload class. Select exactly 2 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Create the appropriate Kubernetes Deployment or workload manifest, reference the image and service account, and verify rollout and Service routing.
- Set compatible Autopilot CPU, memory, and ephemeral storage resource requests and inspect admission messages before redeployment.
- Configure supported Google Cloud Observability dashboards, metrics, logging scopes, and alert policies with approved roles and data visibility.
- Select an eligible Spot VM or custom machine type by documented interruption tolerance, vCPU/memory constraints, pricing and region availability.
- Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports.
Explanation
Correct Answers
B:This is the action for one LISTED workstream: A GKE Autopilot app has Pods pending after an engineer sets invalid container resource requests for a supported workload class. Appropriate configuration: Set compatible Autopilot CPU, memory, and ephemeral storage resource requests and inspect admission messages before redeployment. Technical reason: GKE Autopilot enforces supported Pod resource ranges and classes to manage its underlying node capacity automatically. Validation: A corrected Pod is admitted and scheduled with intended requests and measured performance while cluster policies remain enforced. Limitation: Autopilot cannot accept arbitrary privileged host settings or every GPU or workload shape, and requests can be adjusted to platform minima.
E:This is the action for one LISTED workstream: A public API must permit only HTTPS from an external load balancer while denying arbitrary direct SSH access to backend VM ports. Appropriate configuration: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Technical reason: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Validation: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Limitation: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
Incorrect Answers
A:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A payment API image exists in Artifact Registry but the team needs to run three replicas with a Service and readiness probes in a GKE cluster. There the suitable action is: Create the appropriate Kubernetes Deployment or workload manifest, reference the image and service account, and verify rollout and Service routing. Evidence of success would be: Ready Pods reach the desired replica count, receive permitted traffic and show a healthy rollout without repeated crash loops. No workstream in the current question describes this requirement, so it is not one of the 2 requested answers.
C:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A production team wants baseline VM memory telemetry, application logs, and alerts in a newly created observability project but has configured no monitoring resources. There the suitable action is: Configure supported Google Cloud Observability dashboards, metrics, logging scopes, and alert policies with approved roles and data visibility. Evidence of success would be: A monitored test resource produces current metrics and logs in intended views and a controlled threshold breach routes an alert to authorized responders. 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: An analytics process needs 10 vCPUs and an unusual memory ratio not available in a predefined general-purpose VM size. There the suitable action is: Select an eligible Spot VM or custom machine type by documented interruption tolerance, vCPU/memory constraints, pricing and region availability. Evidence of success would be: The test job resumes safely after a preemption and custom-sized VM meets measured memory/CPU demand under approved spend limits. No workstream in the current question describes this requirement, so it is not one of the 2 requested answers.
Question 316
An ACE operator is asked to fix this deployment issue: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. Choose the BEST supported next step rather than an unrelated change.
- Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports.
- Plan and expand the subnet's supported primary IPv4 range with nonoverlapping address space and validate dependent routes and instances.
- Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
- Choose appropriate predefined roles or define a permitted custom role containing only eligible required permissions, rather than applying broad basic roles.
Explanation
Correct Answer
A:The best next operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Google Cloud principle: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Verify its outcome with: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Operational limitation: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. An unsafe competing assumption is: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
Incorrect Answers
B:This describes a different, UNLISTED Google Cloud administration problem: A VPC subnet runs out of available VM addresses after a managed instance group expands, but teams want to retain the existing network resource. For that separate problem, the appropriate decision would be: Plan and expand the subnet's supported primary IPv4 range with nonoverlapping address space and validate dependent routes and instances. Its technical basis is: Google Cloud subnet IPv4 expansion adds address capacity subject to CIDR and peering restrictions; address range design controls future connectivity. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant decision is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The offered option therefore is not the direct answer to the stated requirement.
C:This shortcut is explicitly not a sound solution: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication. It would fail to address the actual case: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The correct action is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The reason is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Confirm the corrected design by checking: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits.
D:This describes a different, UNLISTED Google Cloud administration problem: A team grants broad basic roles to CI identities but needs a smaller set of specific Compute Engine deployment permissions. 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: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant decision is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The offered option therefore is not the direct answer to the stated requirement.
Question 317
A change request targets: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The recommended operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Which measurable check shows that the problem is resolved?
- A created pilot identity joins the intended group, can authenticate as allowed, and a suspended test identity no longer accesses protected resources.
- Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits.
- The incident timeline is correlated to affected resources and a project-specific remediation is applied only when evidence supports it.
- The intended billing account is active and visible to authorized billing administrators, while resource-level users retain minimum permissions.
Explanation
Correct Answer
B:This provides observable evidence: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. It verifies the proposed configuration: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. The relevant technical reason is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Keep the caveat in view: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: An administrator must maintain group membership for project access while preventing terminated users from retaining active managed identities. For that separate problem, the appropriate acceptance would be: A created pilot identity joins the intended group, can authenticate as allowed, and a suspended test identity no longer accesses protected resources. 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 regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: During an availability issue, a regional app team must determine whether an advertised Google Cloud product incident explains affected service symptoms. For that separate problem, the appropriate acceptance would be: The incident timeline is correlated to affected resources and a project-specific remediation is applied only when evidence supports it. Its technical basis is: Service health views provide product- and project-relevant incident context but cannot prove every application failure is caused by Google infrastructure. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A business consolidates project spending into a central finance function but has no approved Cloud Billing account for new corporate projects. For that separate problem, the appropriate acceptance would be: The intended billing account is active and visible to authorized billing administrators, while resource-level users retain minimum permissions. Its technical basis is: A Cloud Billing account represents payment and usage administration and is distinct from Google Cloud project resource-permission ownership. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant acceptance is: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. The offered option therefore is not the direct answer to the stated requirement.
Question 318
The engineer plans: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. This addresses: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. What technical caveat should remain in the implementation record?
- Some API permissions cannot be placed in a custom role and role definitions can change; a custom role title alone does not convey enforcement.
- Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
- Lifecycle actions are asynchronous and can interact with retention, holds, versioning and minimum storage duration charges.
- An IAM denial or incomplete project list can cause undercounting, and a VM name alone does not prove its current lifecycle status.
Explanation
Correct Answer
B:This limitation still matters: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The incident is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The proposed operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Confirm with: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Underlying reason: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets.
Incorrect Answers
A:This describes a different, UNLISTED Google Cloud administration problem: A team grants broad basic roles to CI identities but needs a smaller set of specific Compute Engine deployment permissions. For that separate problem, the appropriate risk would be: Some API permissions cannot be placed in a custom role and role definitions can change; a custom role title alone does not convey enforcement. 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: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A company stores transient log exports in Cloud Storage and must automatically transition or delete them based on age after an approved retention interval. For that separate problem, the appropriate risk would be: Lifecycle actions are asynchronous and can interact with retention, holds, versioning and minimum storage duration charges. Its technical basis is: Cloud Storage lifecycle rules evaluate objects against configured conditions and asynchronously apply storage-class transitions or deletions. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
D:This describes a different, UNLISTED Google Cloud administration problem: A cloud operations engineer must locate VMs that are currently RUNNING in two zones before applying a planned maintenance policy. For that separate problem, the appropriate risk would be: An IAM denial or incomplete project list can cause undercounting, and a VM name alone does not prove its current lifecycle status. Its technical basis is: VM instance state is recorded as a resource status and can vary by project and zone; inventories need correct scope and current data. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant risk is: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. The offered option therefore is not the direct answer to the stated requirement.
Question 319
A project postmortem examines: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. Which underlying Google Cloud behavior makes the appropriate response effective?
- Basic roles grant wide project powers, predefined roles capture service duties, and custom roles require eligible permissions and maintenance governance.
- Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets.
- IAM allow policies bind members to roles at resource scopes, and broader ancestor bindings can confer permissions on descendants.
- 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: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. In the situation: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The correct operation is: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Acceptance criterion: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Important boundary: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks. Avoid: Delete all firewall rules and assume the VPC automatically denies every possible flow including its implied internal communication.
Incorrect Answers
A: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 principle would be: Basic roles grant wide project powers, predefined roles capture service duties, and custom roles require eligible permissions and maintenance governance. 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: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. The offered option therefore is not the direct answer to the stated requirement.
C:This describes a different, UNLISTED Google Cloud administration problem: A contractor needs to view Compute Engine metadata in one project but currently has Project Editor and can modify production firewall rules. For that separate problem, the appropriate principle would be: IAM allow policies bind members to roles at resource scopes, and broader ancestor bindings can confer permissions on descendants. Its technical basis is: IAM allow policies bind members to roles at resource scopes, and broader ancestor bindings can confer permissions on descendants. The case actually posed here is: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. 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: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. The relevant principle is: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. The offered option therefore is not the direct answer to the stated requirement.
Question 320
A Google Cloud engineer must resolve 3 INDEPENDENT workstreams: Workstream A: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. Workstream B: Users report 8-second database-backed API calls, and operations must distinguish backend query latency from application CPU and network hops. Workstream C: A GitHub Actions deployment must authenticate to Google Cloud from an external CI platform without storing a reusable private service account key. Select exactly 3 actions, ONE directly addressing EACH listed workstream, not actions for unrelated scenarios.
- Select and configure supported Cloud VPN, Interconnect or VPC peering connectivity using correct BGP, tunnels, VLAN attachments and nonoverlapping networks.
- Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports.
- Configure Workload Identity Federation pool, trusted provider and attribute restrictions for the external workload, with scoped direct roles or approved impersonation.
- Create the appropriate Kubernetes Deployment or workload manifest, reference the image and service account, and verify rollout and Service routing.
- Use Cloud Trace, Profiler, Query Insights or index advisor as appropriate and correlate application spans with database metrics.
- Use an approved private access, IAP TCP forwarding, gcloud SSH or OS Login workflow with appropriate IAM and firewall requirements.
Explanation
Correct Answers
B:This is the action for one LISTED workstream: A regulated network wants egress controls on a group of service instances and needs precedence testing between hierarchical firewall policy and VPC firewall rules. Appropriate configuration: Define supported ingress and egress VPC firewall or Cloud NGFW policies with target selection, priorities, source/destination ranges and approved ports. Technical reason: Google Cloud firewall evaluation uses applicable policy hierarchy and priorities; ingress and egress rules operate on distinct directions and targets. Validation: Positive and negative network probes show the intended HTTPS flow permitted and unapproved SSH/egress denied under recorded rule hits. Limitation: Firewall tags, secure tags, default rules and higher-level policies can change effective behavior, and connectivity may fail due to routes or health checks.
C:This is the action for one LISTED workstream: A GitHub Actions deployment must authenticate to Google Cloud from an external CI platform without storing a reusable private service account key. Appropriate configuration: Configure Workload Identity Federation pool, trusted provider and attribute restrictions for the external workload, with scoped direct roles or approved impersonation. Technical reason: External workload federation exchanges trusted IdP credentials for short-lived Google Cloud access and avoids managing permanent external service-account keys. Validation: A trusted repository branch performs the allowed API operation while an untrusted fork cannot obtain access tokens for the target principal. Limitation: A provider with overly broad subject mapping can admit unrelated workloads; service account roles and trust constraints still need careful governance.
E:This is the action for one LISTED workstream: Users report 8-second database-backed API calls, and operations must distinguish backend query latency from application CPU and network hops. Appropriate configuration: Use Cloud Trace, Profiler, Query Insights or index advisor as appropriate and correlate application spans with database metrics. Technical reason: Distributed tracing, profiling and query analysis expose distinct performance bottlenecks, and correlation IDs link cross-service components. Validation: A reproduced slow request identifies the dominant time-consuming span or query and a targeted fix reduces the measured bottleneck. Limitation: Sampling and instrumentation gaps can hide rare failures; database query insights are not a substitute for secure application-level tracing.
Incorrect Answers
A:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A branch datacenter needs encrypted private connectivity to a Google Cloud VPC without directly peering its on-premises router to a Google-managed subnet. There the suitable action is: Select and configure supported Cloud VPN, Interconnect or VPC peering connectivity using correct BGP, tunnels, VLAN attachments and nonoverlapping networks. Evidence of success would be: A pilot packet follows the approved private route with expected redundancy and throughput, and failed-link behavior is tested. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
D:This operation would fit a DIFFERENT, UNLISTED Google Cloud scenario: A retailer must deploy a containerized worker to GKE with explicit environment variables and rolling replacement without manually SSHing into nodes. There the suitable action is: Create the appropriate Kubernetes Deployment or workload manifest, reference the image and service account, and verify rollout and Service routing. Evidence of success would be: Ready Pods reach the desired replica count, receive permitted traffic and show a healthy rollout without repeated crash loops. 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 Compute Engine VM has no external IP and a developer must troubleshoot its Linux service using an auditable SSH path without opening public port 22. There the suitable action is: Use an approved private access, IAP TCP forwarding, gcloud SSH or OS Login workflow with appropriate IAM and firewall requirements. Evidence of success would be: An authorized operator reaches the intended private VM and audit logs capture access; an unauthorized identity and direct public SSH path remain blocked. No workstream in the current question describes this requirement, so it is not one of the 3 requested answers.
Associate Cloud Engineer Practice Tests