Question 110
An on-call engineer must correlate a request's trace spans, inspect the exact failure log and review persistent metrics charts during an incident. Choose THREE observability views.
- Query logs in Logs Explorer
- Use Error Reporting groups
- Use Cloud Monitoring dashboards
- Use Cloud Trace spans
- Use Personalized Service Health
- Use Cloud Profiler profiles
Explanation
Correct Answers
A:Logs Explorer filters indexed log entries and displays structured resource labels and payload details; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides searching centralized logs by resource and time.
C:Monitoring dashboards arrange charts and widgets to visualize supported time-series data; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides organizing health metrics into operational charts.
D:Trace spans describe timed operations within a distributed request for root-cause investigation; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides analyzing distributed request timing.
Incorrect Answers
B:Error Reporting recognizes and groups application error events by supported signatures; the question is specifically about checking trace spans, exact log entries and metrics charts in one incident, rather than aggregating recurring application stack traces.
E:Personalized Service Health surfaces supported provider events relevant to particular resources and projects; it is designed for checking provider incidents relevant to selected projects, rather than the needed checking trace spans, exact log entries and metrics charts in one incident.
F:Cloud Profiler collects supported statistical application profiles that highlight code resource consumption, which serves identifying CPU-intensive code paths instead of checking trace spans, exact log entries and metrics charts in one incident.
Question 111
A central security team wants firewall controls to apply to many project VPCs at an organization or folder scope. Which construct fits?
- Use Cloud NGFW hierarchical firewall policies
- Use VPC firewall egress deny
- Use firewall logging
- Use firewall priority evaluation
- Use VPC Flow Logs
Explanation
Correct Answer
A:The scenario depends on enforcing inherited network firewall policies; Hierarchical firewall policies apply ordered network security rules from organization or folder associations.
Incorrect Answers
B:Egress deny rules block matching traffic initiated by selected resources to the configured destinations; the supported outcome is restricting egress network flows, while the requested result is enforcing inherited network firewall policies.
C:Firewall Rules Logging produces supported connection records for traffic matching enabled rules; the decision here is about enforcing inherited network firewall policies, not recording firewall rule match activity.
D:Firewall policy priority and evaluation hierarchy determine which matching action takes effect; it is relevant when diagnosing ordered network security rule evaluation, not when the primary need is enforcing inherited network firewall policies.
E:VPC Flow Logs records sampled network flow information for eligible subnet traffic; it is relevant when observing subnet network flow patterns, not when the primary need is enforcing inherited network firewall policies.
Question 112
Security requires restricting which locations may host selected supported resource types across many projects. What control should administrators use?
- Create a project under an organization folder
- Apply an organization policy constraint
- Use labels on supported resources
- Inspect the effective organization policy
Explanation
Correct Answer
B:Organization Policy Service evaluates supported constraints along the resource hierarchy independently of ordinary IAM grants; this corresponds to enforcing an organization-level resource restriction, not a separate lifecycle action.
Incorrect Answers
A:A Google Cloud project is the primary boundary for enabled services, resources, IAM and many quotas; it is appropriate for isolating a workload in its own project; here, the deciding requirement is enforcing an organization-level resource restriction.
C:For tagging resource metadata for cost allocation, this could be relevant; Labels are user-defined key-value metadata for organization and billing analysis and are not hierarchical IAM boundaries; the actual request concerns enforcing an organization-level resource restriction.
D:Effective organization policies reflect applicable ancestors and overrides; an IAM role cannot bypass a conflicting constraint; that mechanism handles diagnosing the policy state inherited by a child project; it does not configure enforcing an organization-level resource restriction.
Question 113
A packet between two endpoints is unexpectedly blocked and operators want configuration-based path analysis. Which tool helps?
- Use Network Topology
- Use Connectivity Tests
- Use Cloud DNS forwarding zone
- Use Cloud DNS peering zone
Explanation
Correct Answer
B:The requested administrative outcome is analyzing possible network paths and blockers; Network Intelligence Center Connectivity Tests analyzes supported connectivity paths and identifies potential configuration blocks.
Incorrect Answers
A:Network Topology presents a graphical network representation from supported topology and telemetry data; it is relevant when visualizing cloud network infrastructure and flows, not when the primary need is analyzing possible network paths and blockers.
C:Forwarding zones send matching DNS queries to configured target resolvers using supported connectivity; it concerns forwarding private namespace lookups to enterprise DNS, and its normal effect does not provide analyzing possible network paths and blockers.
D:Cloud DNS peering zones direct matching queries to another VPC's DNS resolution context under supported conditions; it is appropriate for resolving private names through a peered DNS network; here, the deciding requirement is analyzing possible network paths and blockers.
Question 114
A Cloud Run endpoint requires service-to-service authentication and the caller should present a token with the correct audience. Which credential is needed?
- Use signed identity tokens for authenticated endpoints
- Grant workload identity user for federation
- Use short-lived access tokens
- Use Workload Identity Federation
Explanation
Correct Answer
A:Authenticated Cloud Run HTTP invocation uses supported OIDC identity tokens with an appropriate audience and invoker permission; for the stated workload, the practical result is authenticating service-to-service HTTP invocations.
Incorrect Answers
B:Workload Identity User can permit eligible federated identities to access a target service account through supported federation flows; that supports permitting trusted workload federation to impersonate target identity; the problem to solve concerns authenticating service-to-service HTTP invocations.
C:Short-lived OAuth access tokens restrict credential lifetime and can be generated using supported identity mechanisms; its purpose differs: limiting credential validity through expiration is separate from authenticating service-to-service HTTP invocations.
D:Workload Identity Federation exchanges eligible external workload identities for short-lived Google Cloud credentials; the scenario specifies authenticating service-to-service HTTP invocations, which differs from accessing cloud APIs from external CI without key files.
Question 115
Security must prevent a risky permission even when a user receives an inherited allow binding. Which policy type can explicitly reject it?
- Use IAM deny policies
- Remove an IAM policy binding
- Use Policy Analyzer
- Use IAM Conditions
Explanation
Correct Answer
A:IAM deny policies can block eligible permissions for matching principals despite otherwise applicable allow grants; this corresponds to enforcing an explicit permission denial, not a separate lifecycle action.
Incorrect Answers
B:Removing an IAM binding eliminates that grant path, although other inherited or indirect grants may remain; the supported outcome is removing unneeded role assignments, while the requested result is enforcing an explicit permission denial.
C:Policy Analyzer can analyze IAM allow relationships using Cloud Asset Inventory data; this is a distinct control for investigating access relationships across the hierarchy, rather than enforcing an explicit permission denial.
D:The alternative would address adding a time-bound conditional role grant; IAM Conditions attach supported CEL expressions to role bindings to restrict when permissions apply; the question instead requires enforcing an explicit permission denial.
Question 116
Resources in one VPC need to resolve private DNS names governed by a different VPC network. What DNS capability can support this?
- Use Network Topology
- Use Network Intelligence Center routes analysis
- Use Connectivity Tests
- Use Cloud DNS peering zone
Explanation
Correct Answer
D:Cloud DNS peering zones direct matching queries to another VPC's DNS resolution context under supported conditions; this is the specific mechanism used for sharing private DNS resolution across networks.
Incorrect Answers
A:For visualizing cloud network infrastructure and flows, this could be relevant; Network Topology presents a graphical network representation from supported topology and telemetry data; the actual request concerns sharing private DNS resolution across networks.
B:Network Intelligence Center and route diagnostics expose supported route and connectivity insights; this is a distinct control for troubleshooting network route visibility, rather than sharing private DNS resolution across networks.
C:Network Intelligence Center Connectivity Tests analyzes supported connectivity paths and identifies potential configuration blocks; it would help with analyzing possible network paths and blockers, but it does not directly implement sharing private DNS resolution across networks.
Question 117
A legal review needs a reversible protection flag on specific objects independent of a bucket-wide retention setting. Which mechanism fits?
- Use object holds
- Grant Storage Object Creator
- Enable bucket IAM with uniform access
- Grant Storage Object Viewer
Explanation
Correct Answer
A:Object holds block eligible object deletion until the hold condition is cleared; this is the specific mechanism used for preventing object deletion with object holds.
Incorrect Answers
B:Storage Object Creator supports creating objects without granting general read or delete permissions; its operational role is allowing append-only style object creation; the needed capability is preventing object deletion with object holds.
C:For standardizing object authorization through bucket IAM, this could be relevant; Uniform bucket-level access disables object ACL enforcement in favor of IAM evaluation; the actual request concerns preventing object deletion with object holds.
D:The alternative would address granting read-only object data access; Storage Object Viewer includes permissions for reading supported objects and object metadata; the question instead requires preventing object deletion with object holds.
Question 118
An organization wants bucket IAM to control object access and eliminate individual object ACL exceptions. Which bucket setting fits?
- Use Cloud Storage uniform bucket-level access
- Use Storage Transfer Service
- Use Cloud Storage versioning
- Use Cloud Storage public access prevention
Explanation
Correct Answer
A:What matters is standardizing object authorization through IAM; Uniform bucket-level access turns off object ACLs so IAM governs access to bucket objects.
Incorrect Answers
B:Storage Transfer Service orchestrates supported large-scale transfers into and between storage systems; it is appropriate for coordinating large-scale file transfers into buckets; here, the deciding requirement is standardizing object authorization through IAM.
C:Object Versioning retains noncurrent object generations until explicitly removed or lifecycle-managed; it concerns retaining earlier object generations, and its normal effect does not provide standardizing object authorization through IAM.
D:For preventing anonymous Cloud Storage grants, this could be relevant; Public access prevention disallows public exposure through relevant Cloud Storage access mechanisms; the actual request concerns standardizing object authorization through IAM.
Question 119
A globally distributed web service needs host/path-aware HTTPS routing and network capabilities used by Google's worldwide premium network. Choose TWO choices.
- Use Standard Network Service Tier
- Choose global external Application Load Balancer
- Use Premium Network Service Tier
- Choose internal Application Load Balancer
- Choose external passthrough Network Load Balancer
Explanation
Correct Answers
B:Global external Application Load Balancers manage public HTTP(S) traffic using proxy-based layer-seven routing; within the multi-part workflow of hosting worldwide HTTP routing with premium network capabilities, this provides routing global HTTPS traffic by application rules.
C:Premium Tier uses Google's premium network and is required for certain global connectivity features; within the multi-part workflow of hosting worldwide HTTP routing with premium network capabilities, this provides using Premium-tier global networking capabilities.
Incorrect Answers
A:Standard Tier routes eligible traffic with more reliance on the public Internet and has feature limitations; its focus is reducing eligible Internet egress network expense, rather than hosting worldwide HTTP routing with premium network capabilities.
D:Internal Application Load Balancers proxy private HTTP(S) traffic to configured backends; the mechanism concerns routing internal application requests at layer seven and does not directly supply hosting worldwide HTTP routing with premium network capabilities.
E:External passthrough Network Load Balancers distribute eligible TCP or UDP traffic to supported backends without terminating application protocols; the question is specifically about hosting worldwide HTTP routing with premium network capabilities, rather than balancing external TCP or UDP traffic without proxy termination.
Question 120
A known traffic event needs specific VM resources available even when on-demand capacity is tight. What reservation mechanism helps?
- Use a regional managed instance group
- Configure MIG autohealing
- Configure an autoscaler for a MIG
- Use VM reservation
Explanation
Correct Answer
D:Compute Engine reservations allocate qualifying VM capacity in a zone independently of starting instances; this corresponds to securing eligible compute capacity before demand, not a separate lifecycle action.
Incorrect Answers
A:Regional managed instance groups distribute members across multiple zones in a region for availability; it is relevant when operating a multi-zone VM instance group, not when the primary need is securing eligible compute capacity before demand.
B:Autohealing uses configured health checks to trigger replacement of unhealthy MIG instances; this is a distinct control for recreating unhealthy managed instances, rather than securing eligible compute capacity before demand.
C:MIG autoscaling changes the target number of instances using configured signals and scale limits; this governs scaling VM replicas to workload signals, whereas the stated objective is securing eligible compute capacity before demand.