Google Associate Cloud Engineer Practice Test 52

Question 510

A team needs to change a single VM's allowed SSH sources without modifying other workloads. Which implementation matches this requirement?

  1. Inspect applicable VPC firewall rules, Cloud NGFW policies, and priority ordering
  2. Expand the subnet primary IPv4 range to a supported larger CIDR
  3. Associate an appropriate hierarchical Cloud NGFW policy at the folder
  4. Update a targeted ingress rule with the right source ranges
  5. Verify the rule's target service account or tag and the VM's actual identity

Explanation

Correct Answer

D:

An ingress rule filters traffic by source and VM target. Restricting source ranges and matching only the intended instance avoids broad VPC-wide SSH exposure.

Incorrect Answers

A:

This mechanism is intended to troubleshoot effective network firewall policy. It does not implement the required action to tighten one workload's admin exposure, even though both are relevant to the same general service.

B:

The result of this choice would be to expand a subnet's primary IPv4 capacity. The requested outcome, to tighten one workload's admin exposure, is handled at a different layer or through another operation.

C:

While this can enforce centralized descendant firewall policy, the present task requires an action to tighten one workload's admin exposure. This operation does not supply the behavior described in the requirements.

E:

Administrators use it to diagnose firewall target matching, rather than to tighten one workload's admin exposure. Applying it would change the wrong component of this deployment.

Question 511

A folder-level security control must deny prohibited traffic across descendant projects. What should the administrator do?

  1. Inspect the route's network tags and instance tag membership where supported
  2. Verify the rule's target service account or tag and the VM's actual identity
  3. Update a targeted ingress rule with the right source ranges
  4. Associate an appropriate hierarchical Cloud NGFW policy at the folder
  5. Inspect applicable VPC firewall rules, Cloud NGFW policies, and priority ordering

Explanation

Correct Answer

D:

Hierarchical policies provide central rule administration for descendant VPCs. Individual project owners do not override an enforced ancestor deny through ordinary local allow rules.

Incorrect Answers

A:

In a workflow for vpc routing operations, it can scope an eligible custom route to tagged VMs; This question instead asks how to apply folder-wide network restrictions; substituting the former action would leave that distinct technical requirement unmet.

B:

This choice is useful to diagnose firewall target matching. The stated task is to apply folder-wide network restrictions, which requires a different mechanism or permission scope.

C:

The tool can restrict SSH ingress to selected sources, but it cannot be substituted for the capability needed to apply folder-wide network restrictions. Its operational effect is not equivalent.

E:

Select this when the goal is to troubleshoot effective network firewall policy. Here the decisive requirement is to apply folder-wide network restrictions, and that outcome is not achieved by this action.

Question 512

A network operator must understand why a VM target selector does not match despite the right subnet. Which choice provides the required behavior?

  1. Associate an appropriate hierarchical Cloud NGFW policy at the folder
  2. Verify the rule's target service account or tag and the VM's actual identity
  3. Update a targeted ingress rule with the right source ranges
  4. Inspect applicable VPC firewall rules, Cloud NGFW policies, and priority ordering
  5. Evaluate longest-prefix matching and relevant route priorities

Explanation

Correct Answer

B:

Firewall targeting can depend on VM service accounts, network tags or secure Tags as supported by rule type. Subnet membership alone might not satisfy the target condition.

Incorrect Answers

A:

This approach can enforce centralized descendant firewall policy. The requirement is to correct tag or identity selection, so it controls a different part of the workflow and leaves that result unaddressed.

C:

While this can restrict SSH ingress to selected sources, the present task requires an action to correct tag or identity selection. This operation does not supply the behavior described in the requirements.

D:

This setting would troubleshoot effective network firewall policy. That behavior does not establish the requested ability to correct tag or identity selection; it addresses an adjacent concern instead.

E:

The choice is aimed at a different purpose: to understand route-selection precedence; Even if it can choose effective VPC routing paths, that would not accomplish the stated requirement to correct tag or identity selection.

Question 513

A service should page on-call when a monitored error metric stays above a threshold for five minutes. How should the team proceed?

  1. Create a Cloud Monitoring metric-threshold alerting policy with an appropriate duration
  2. Adjust its alignment, threshold and retest duration to match the desired signal
  3. Create a Cloud Monitoring uptime check and an associated alert
  4. Associate an appropriate notification channel with the alerting policy

Explanation

Correct Answer

A:

Alerting policies evaluate time-series conditions and can require a condition to hold for a period. Notification channels deliver incidents to responders.

Incorrect Answers

B:

The result of this choice would be to reduce short-lived monitoring false alarms. The requested outcome, to page on a prolonged error-rate problem, is handled at a different layer or through another operation.

C:

Select this when the goal is to monitor external service uptime. Here the decisive requirement is to page on a prolonged error-rate problem, and that outcome is not achieved by this action.

D:

The tool can send alert incidents to responders, but it cannot be substituted for the capability needed to page on a prolonged error-rate problem. Its operational effect is not equivalent.

Question 514

A product needs an alert when a public HTTPS endpoint repeatedly fails an outside connectivity check. What is the most direct solution?

  1. Associate an appropriate notification channel with the alerting policy
  2. Create a Cloud Monitoring metric-threshold alerting policy with an appropriate duration
  3. Adjust its alignment, threshold and retest duration to match the desired signal
  4. Create a Cloud Monitoring uptime check and an associated alert
  5. Create a Cloud Logging log-based metric

Explanation

Correct Answer

D:

Uptime checks probe configured service endpoints from monitoring locations. They test reachability and response rather than internal memory usage.

Incorrect Answers

A:

Using this action would send alert incidents to responders, not detect public endpoint outages. Its function is different from the specific change described in the scenario.

B:

This setting would alert on sustained metric threshold breach. That behavior does not establish the requested ability to detect public endpoint outages; it addresses an adjacent concern instead.

C:

This approach can reduce short-lived monitoring false alarms. The requirement is to detect public endpoint outages, so it controls a different part of the workflow and leaves that result unaddressed.

E:

In a workflow for custom metrics and slo observability, it can derive a metric from matching logs; This question instead asks how to detect public endpoint outages; substituting the former action would leave that distinct technical requirement unmet.

Question 515

An application alert exists but no team receives it. Which implementation matches this requirement?

  1. Adjust its alignment, threshold and retest duration to match the desired signal
  2. Associate an appropriate notification channel with the alerting policy
  3. Create a Cloud Monitoring uptime check and an associated alert
  4. Write a custom metric through the Cloud Monitoring API or supported instrumentation
  5. Create a Cloud Monitoring metric-threshold alerting policy with an appropriate duration

Explanation

Correct Answer

B:

An alerting condition can generate incidents, but channels determine where notifications are delivered. Configured recipients and verification matter.

Incorrect Answers

A:

This mechanism is intended to reduce short-lived monitoring false alarms. It does not implement the required action to route notifications to on-call staff, even though both are relevant to the same general service.

C:

While this can monitor external service uptime, the present task requires an action to route notifications to on-call staff. This operation does not supply the behavior described in the requirements.

D:

The choice is aimed at a different purpose: to monitor completed checkout activity; Even if it can ingest application-defined performance metrics, that would not accomplish the stated requirement to route notifications to on-call staff.

E:

The result of this choice would be to alert on sustained metric threshold breach. The requested outcome, to route notifications to on-call staff, is handled at a different layer or through another operation.

Question 516

A noisy metric alert fires on brief spikes that should be ignored. What should the administrator do?

  1. Associate an appropriate notification channel with the alerting policy
  2. Create a Cloud Monitoring metric-threshold alerting policy with an appropriate duration
  3. Adjust its alignment, threshold and retest duration to match the desired signal
  4. Create a Cloud Monitoring uptime check and an associated alert
  5. Configure appropriate service-level indicators and objectives in Cloud Monitoring

Explanation

Correct Answer

C:

Alert policy evaluation settings distinguish sustained incidents from transient variations. Raising a quota does not tune the alert sensitivity.

Incorrect Answers

A:

This choice is useful to send alert incidents to responders. The stated task is to alert only on persistent metric conditions, which requires a different mechanism or permission scope.

B:

The tool can alert on sustained metric threshold breach, but it cannot be substituted for the capability needed to alert only on persistent metric conditions. Its operational effect is not equivalent.

D:

It can monitor external service uptime; however, it does not provide the specific operation to alert only on persistent metric conditions. The two controls serve different purposes.

E:

This alternative addresses custom metrics and slo observability by allowing a team to measure reliability against an SLO; The incident, however, requires the different action to alert only on persistent metric conditions, so its central configuration remains unchanged.

Question 517

A service needs to analyze the 95th percentile of request latency rather than only the average latency. It is adding custom telemetry to Cloud Monitoring. Which metric design most directly supports percentile analysis?

  1. Record only the total number of requests as a cumulative counter
  2. Record latency measurements in an appropriate distribution-valued metric with meaningful bucket boundaries
  3. Record the latest observed latency as one gauge and discard earlier samples
  4. Set a logging exclusion filter so all successful requests are dropped

Explanation

Correct Answer

B:

A distribution-valued metric retains the shape of observed measurements, allowing percentile-oriented analysis. A single aggregate average loses the tail behavior required for a p95 view.

Incorrect Answers

A:

A request counter measures volume. Without a latency distribution or equivalent histogram data, it cannot reconstruct request-duration percentiles.

C:

A last-value gauge does not preserve the distribution of many request durations in an interval. Tail-percentile analysis requires samples aggregated into a distribution or histogram.

D:

Log exclusions govern storage and routing of selected log entries. Dropping successful requests does not define a usable latency distribution metric.

Question 518

A log entry pattern contains failed payment messages and the team wants a numeric count metric. How should the team proceed?

  1. Write a custom metric through the Cloud Monitoring API or supported instrumentation
  2. Configure appropriate service-level indicators and objectives in Cloud Monitoring
  3. Create a Cloud Logging log-based metric
  4. Build a Cloud Monitoring dashboard using appropriate metrics

Explanation

Correct Answer

C:

Log-based metrics turn matching log entries into Monitoring metric data. They enable alerts and charts without re-parsing each log query manually.

Incorrect Answers

A:

It can ingest application-defined performance metrics; however, it does not provide the specific operation to count application error log events. The two controls serve different purposes.

B:

The tool can measure reliability against an SLO, but it cannot be substituted for the capability needed to count application error log events. Its operational effect is not equivalent.

D:

Select this when the goal is to visualize multiple time-series signals. Here the decisive requirement is to count application error log events, and that outcome is not achieved by this action.

Question 519

An SRE wants a dashboard that tracks request latency and error-rate time series together. What is the most direct solution?

  1. Create a Cloud Logging log-based metric
  2. Build a Cloud Monitoring dashboard using appropriate metrics
  3. Create a Cloud Monitoring metric-threshold alerting policy with an appropriate duration
  4. Configure appropriate service-level indicators and objectives in Cloud Monitoring
  5. Write a custom metric through the Cloud Monitoring API or supported instrumentation

Explanation

Correct Answer

B:

Dashboards combine charts for performance indicators over time. Log Explorer instead focuses on individual log records.

Incorrect Answers

A:

This approach can derive a metric from matching logs. The requirement is to correlate latency and error rate, so it controls a different part of the workflow and leaves that result unaddressed.

C:

This setting would alert on sustained metric threshold breach. That behavior does not establish the requested ability to correlate latency and error rate; it addresses an adjacent concern instead.

D:

Its purpose is to measure reliability against an SLO. That distinction matters: the scenario calls for an action to correlate latency and error rate, not this separate configuration task.

E:

Using this action would ingest application-defined performance metrics, not correlate latency and error rate. Its function is different from the specific change described in the scenario.

Question 520

A service reliability team wants to define a measurable availability target and burn-rate alerts. Which implementation matches this requirement?

  1. Create a Cloud Logging log-based metric
  2. Configure appropriate service-level indicators and objectives in Cloud Monitoring
  3. Create or configure a Cloud Logging bucket with appropriate retention settings
  4. Write a custom metric through the Cloud Monitoring API or supported instrumentation
  5. Build a Cloud Monitoring dashboard using appropriate metrics

Explanation

Correct Answer

B:

SLO tooling evaluates service behavior against target reliability over windows. A generic CPU alert cannot substitute for user-impact-based reliability measurements.

Incorrect Answers

A:

Administrators use it to derive a metric from matching logs, rather than to track error budget consumption. Applying it would change the wrong component of this deployment.

C:

The technical effect is to set Cloud Logging storage retention, not to track error budget consumption; That distinction matters here because the first operation serves retain security logs for compliance, rather than the scenario's required result.

D:

The result of this choice would be to ingest application-defined performance metrics. The requested outcome, to track error budget consumption, is handled at a different layer or through another operation.

E:

Select this when the goal is to visualize multiple time-series signals. Here the decisive requirement is to track error budget consumption, and that outcome is not achieved by this action.

Associate Cloud Engineer Practice Tests