Skip to main content

Associate Cloud Engineer · 20% of the exam

Ensuring Successful Operation of a Cloud Solution practice questions

10 free Ensuring Successful Operation of a Cloud Solution questions for the Google Cloud Associate Cloud Engineer (Associate Cloud Engineer) exam, each with the correct answer and an explanation for every option.

What this domain covers

Keeping deployed solutions running: managing resources, scaling, monitoring and logging.

Exam weight
20%
On a real exam
≈ 11 questions
In our bank
125 questions

Topics that come up most

  • Managing instance groups and autoscaling
  • GKE node pools and workloads
  • Cloud Monitoring and alerting
  • Cloud Logging and log sinks
  • Snapshots and images

How to study it

Know where logs and metrics go by default and how to route them; operations questions build on it.

Sample Ensuring Successful Operation of a Cloud Solution questions

Try each one before opening the answer. Original questions written to the official exam objectives.

  1. Question 1

    An operations team runs Compute Engine workloads in three projects: frontend, backend, and data. During incidents, engineers waste time switching between each project's Cloud Monitoring pages. The team wants one place where they can chart these projects' metrics together and build shared dashboards and alerting policies. What should you do?

    • APick one project as the scoping project and add the three projects as monitored projects in its metrics scope
    • BCreate a log sink in each project that routes logs to a log bucket in a central project
    • CCreate an identical custom dashboard in each project and bookmark all three dashboards for the team
    • DGrant the team the Monitoring Viewer role on the folder that contains the three projects
    Show answer and explanation

    Answer: A) Pick one project as the scoping project and add the three projects as monitored projects in its metrics scope

    To monitor several projects from one place, add them as monitored projects to the metrics scope of a single scoping project. That project then charts their metrics together and holds shared dashboards and alerting policies. Log sinks, per-project dashboards, and IAM grants don't combine the metrics into one view.

    • ACorrect. A metrics scope sets which projects' time-series data a scoping project can chart and monitor. The scoping project holds the dashboards and alerting policies, so engineers can view metrics from all three projects in one place.
    • BIncorrect. A log sink centralizes log entries, not Cloud Monitoring metrics. It doesn't let you chart the projects' metrics together or create cross-project alerting policies on them.
    • CIncorrect. Identical dashboards still show each project's metrics separately, so engineers would still switch between projects and compare views by hand.
    • DIncorrect. Granting IAM access lets the team open each project's metrics, but it doesn't combine those metrics into one view. A combined view requires adding the projects to a metrics scope.
  2. Question 2

    A project's Cloud Logging bill has grown sharply. Most of the volume comes from load balancer health-check request logs that nobody reviews and the team doesn't need to keep. What should the team do to cut these costs while still storing their other logs?

    • AAdd an exclusion filter for those entries to the _Default sink
    • BCreate a log-based metric that counts those entries
    • CAdd a second sink that routes those entries to Cloud Storage
    • DShorten the retention period of the _Default log bucket
    Show answer and explanation

    Answer: A) Add an exclusion filter for those entries to the _Default sink

    An exclusion filter on the sink that feeds the log bucket stops matching entries from being stored, which reduces chargeable Cloud Logging volume. Log-based metrics, extra sinks and shorter retention don't stop the unwanted entries from being ingested.

    • ACorrect. Entries that match an exclusion filter on a sink aren't routed into the log bucket, so they aren't stored and don't count as chargeable log volume. All other logs keep flowing to the bucket as before.
    • BIncorrect. A log-based metric turns matching entries into a monitoring time series. It doesn't stop those entries from being sent to and stored in the log bucket, so costs don't go down.
    • CIncorrect. Adding a sink sends copies of matching entries to another destination. Unless they are also excluded from the _Default sink, they are still stored in the _Default bucket, and costs go up rather than down.
    • DIncorrect. The retention period only controls how long stored logs are kept. The unwanted entries would still be ingested and stored, so the cost driven by their volume remains.
  3. Question 3

    A company has dev/test and production Cloud SQL instances. It wants each scheduled maintenance update to reach the dev/test instances first, so the update can be checked there. The production instance should get the same update weeks later in the rollout. What should the team configure?

    • ASet maintenance timing to Week 1 on the dev/test instances and Week 5 on the production instance
    • BSet the production maintenance window to a later day of the week than the dev/test instances' window
    • CConfigure a deny maintenance period on the dev/test instances so they finish updating before production
    • DUse self-service maintenance on the production instance as soon as each maintenance notification arrives
    Show answer and explanation

    Answer: A) Set maintenance timing to Week 1 on the dev/test instances and Week 5 on the production instance

    Cloud SQL's maintenance timing setting (gcloud --maintenance-release-channel: preview, production, week5) controls which week of the rollout each instance is updated in. Setting Week 1 for dev/test and Week 5 for production gives time to check updates before production gets them.

    • AMaintenance timing (previously called order of update) sets which week of the rollout an instance is updated in. With Week 1, maintenance happens 7 to 14 days after the notification. With Week 5, it happens 35 to 42 days after, which leaves time to test on dev/test first.
    • BThe maintenance window only sets the preferred day and hour for maintenance. It doesn't change which week of the rollout an instance gets the update, so production could still be updated in the same week as dev/test.
    • CA deny maintenance period stops maintenance from happening during a set date range. Putting it on dev/test would delay their updates, which is the opposite of updating them first.
    • DSelf-service maintenance lets you apply an available update right away, before the scheduled time. Doing this on production would update it first instead of last.
  4. Question 4

    A team just added an alias IP range to a Compute Engine VM's network interface. Before relying on it, they want to check whether traffic from another VM in the VPC can reach one of the new alias IP addresses, given the current routes and firewall rules. What should they use?

    • AConnectivity Tests in Network Intelligence Center, with the alias IP address set as the destination
    • BPerformance Dashboard in Network Intelligence Center, filtered to the VM's zone
    • CNetwork Topology in Network Intelligence Center, showing the VM's network graph
    • DFirewall Insights in Network Intelligence Center, listing shadowed firewall rules
    Show answer and explanation

    Answer: A) Connectivity Tests in Network Intelligence Center, with the alias IP address set as the destination

    Connectivity Tests checks reachability to a specific endpoint, such as a new alias IP, by analyzing routes and firewall configuration and, when eligible, sending live probes. That makes it the right tool for this check.

    • ACorrect. Connectivity Tests checks reachability between endpoints you specify, such as IP addresses. It traces the path against the configured routes and firewall rules. When the test is eligible, it also sends probe packets as a live data-plane check. This configuration analysis can reveal problems such as a firewall rule that does not yet allow the new address.
    • BIncorrect. Performance Dashboard shows aggregate packet loss and latency between zones and regions. It does not test reachability to one specific IP address.
    • CIncorrect. Network Topology shows a graph of resources and traffic between them. It does not trace a specific source-to-destination path through routes and firewall rules.
    • DIncorrect. Firewall Insights finds shadowed, unused, or overly permissive firewall rules. It does not test whether a given destination IP address is reachable.
  5. Question 5

    A network team deleted a VPC firewall allow rule after Firewall Insights reported it had no hits during the observation period. The VPC has no other deny rules, only the implied rules. The team wants log evidence of any legitimate connection attempts that the removed rule used to allow and that are now being blocked. What should they do?

    • ACreate a lowest-priority deny-all ingress rule with Firewall Rules Logging enabled, then review its log entries for denied connections
    • BEnable Firewall Rules Logging on the implied deny ingress rule, then review its log entries for denied connections
    • CRe-run Firewall Insights and confirm the deleted rule no longer appears in the list of rules that have no hits
    • DReview the Admin Activity audit log entry for the firewall rule deletion to confirm the change completed
    Show answer and explanation

    Answer: A) Create a lowest-priority deny-all ingress rule with Firewall Rules Logging enabled, then review its log entries for denied connections

    The implied deny ingress rule can't be logged, so to see traffic that a deleted allow rule used to permit, add a logged, low-priority deny-all ingress rule and review its denied entries.

    • ACorrect. Firewall Rules Logging does not cover the implied deny ingress rule, so blocked traffic would otherwise leave no log entry. A low-priority deny-all ingress rule (for example, priority 65534) with logging enabled records denied connection attempts. That shows whether anything legitimate still depended on the removed rule.
    • BIncorrect. Firewall Rules Logging is not supported for the implied deny ingress and implied allow egress rules, so this can't be configured. The team needs an explicit deny rule with logging enabled.
    • CIncorrect. A deleted rule naturally drops out of Firewall Insights. Its absence says nothing about whether legitimate traffic is now being blocked.
    • DIncorrect. Admin Activity audit logs record who deleted the rule and when. They don't record data-plane connections, so they can't show whether traffic is being denied.
  6. Question 6

    A team wants to be notified automatically by email and Slack when a Compute Engine VM's CPU utilization stays above 85% for 10 minutes. What should they configure?

    • AA Cloud Monitoring alerting policy with a metric-threshold condition
    • BA Cloud Monitoring uptime check targeting the VM
    • CA custom dashboard chart with a CPU threshold line
    • DA Cloud Billing budget with alert threshold rules
    Show answer and explanation

    Answer: A) A Cloud Monitoring alerting policy with a metric-threshold condition

    To get automatic notifications when a metric stays above a threshold for a set time, create a Cloud Monitoring alerting policy with a metric-threshold condition and notification channels. Uptime checks, dashboards and budget alerts do not cover this case.

    • AA metric-threshold condition is met when a metric stays above or below a threshold for a set duration, called the retest window. When the condition is met, the alerting policy sends notifications to its notification channels, such as email and Slack.
    • BUptime checks send periodic HTTP, HTTPS or TCP requests to test whether a URL or resource is available. They do not evaluate CPU utilization against a threshold.
    • CA dashboard can show CPU utilization against a threshold, but it does not send notifications. Someone would have to keep watching the chart to notice the problem.
    • DBudget threshold rules send email when actual or forecasted spend passes a percentage of the budget. They track cost, not resource metrics like CPU utilization.
  7. Question 7

    A Cloud Scheduler job uses the time zone America/Chicago with the cron schedule 30 1 * * *. After a recent daylight saving time change, the team saw a run that didn't follow the expected cadence. The downstream system needs runs spaced exactly 24 hours apart all year. What should the team do?

    • ASet the job's time zone to UTC and change the cron hour so the run happens at the matching UTC time
    • BIncrease the job's maximum retry attempts so any run disrupted by the clock change is retried automatically
    • CRecreate the job in a different Cloud Scheduler region located closer to the downstream system
    • DLengthen the job's attempt deadline so each run has extra time to finish around the clock change
    Show answer and explanation

    Answer: A) Set the job's time zone to UTC and change the cron hour so the run happens at the matching UTC time

    Cloud Scheduler runs on wall-clock time, so DST in the configured time zone can disrupt a job's cadence. For strict 24-hour spacing, Google recommends setting the job to UTC.

    • ACorrect. Cloud Scheduler evaluates schedules on wall-clock time in the configured time zone, so DST transitions can cause unexpected runs. Google recommends a time zone without DST, specifically UTC, when a job needs a very specific cadence.
    • BIncorrect. Retry settings only control what happens after a failed attempt. They don't change when the schedule fires, so the DST-related cadence problem remains.
    • CIncorrect. The job's location doesn't decide how the schedule is evaluated. The configured time zone does, and America/Chicago would still observe DST.
    • DIncorrect. The attempt deadline limits how long a single attempt may run. It has no effect on when runs are scheduled across a DST transition.
  8. Question 8

    A team enabled automated backups and binary logging on a Cloud SQL for MySQL instance so they can use point-in-time recovery (PITR). As part of their operational runbook, they want a periodic check that shows PITR will actually recover data correctly when needed. What should the check be?

    • ARun a PITR to a specific recent timestamp, which creates a new instance, and validate that its data matches the expected state at that time
    • BReview the instance configuration to confirm that automated backups and binary logging are both still enabled on the instance
    • CRestore the most recent automated backup over the existing production instance during a scheduled maintenance window
    • DMonitor the instance's storage usage metric to confirm that binary log files are steadily being written and retained
    Show answer and explanation

    Answer: A) Run a PITR to a specific recent timestamp, which creates a new instance, and validate that its data matches the expected state at that time

    The only way to show that Cloud SQL PITR works is to perform one. A periodic PITR to a new instance at a chosen timestamp, followed by checking the data, validates recovery. Configuration checks and storage metrics don't.

    • ACorrect. In Cloud SQL, PITR restores a backup and replays binary logs into a new instance at the chosen timestamp. Running this regularly and checking the recovered data confirms the whole recovery path works without touching production.
    • BIncorrect. This confirms the prerequisites are still in place, but it doesn't show that a restore succeeds or that the recovered data is correct.
    • CIncorrect. Restoring over production overwrites live data, which is risky. A backup restore also returns the instance only to the backup time and doesn't test binary log replay to an arbitrary point in time.
    • DIncorrect. Growing storage suggests logs are being written, but it doesn't show that the logs and backups can actually be used to recover a correct database state.
  9. Question 9

    A team's application writes exceptions with stack traces to Cloud Logging. Engineers currently search the logs by hand to notice that the same failure keeps happening. The team wants these exceptions collected automatically into groups of similar errors, with counts and first-seen and last-seen times, in one place. Which Google Cloud service should they use?

    • AError Reporting, which sorts error events into error groups
    • BA log-based counter metric with a filter on error severity
    • CCloud Trace, which records spans for each request across services
    • DCloud Profiler, which samples CPU and memory usage of running code
    Show answer and explanation

    Answer: A) Error Reporting, which sorts error events into error groups

    Error Reporting automatically groups similar error events, using exception type, stack frames and message, and shows their counts in one place. Log-based metrics need filters you define, and Trace and Profiler measure performance, not errors.

    • ACorrect. Error Reporting collects application error events and puts them into error groups. It groups them by exception type, the topmost stack frames, and the message, then shows each group's occurrence counts and timeline in one view.
    • BIncorrect. A counter metric counts the log entries that match a filter you write yourself. It doesn't automatically sort different exceptions into groups by similarity.
    • CIncorrect. Cloud Trace records latency data for requests as they pass through services. It's built for finding performance bottlenecks, not for grouping exceptions by their stack traces.
    • DIncorrect. Cloud Profiler shows which functions use the most CPU or memory. It doesn't collect or group the exceptions an application throws.
  10. Question 10

    An engineer enabled Workload Identity Federation for GKE on an existing Standard cluster by setting a workload pool. Audit logs show that Pods in a node pool created before this change still call Google Cloud APIs as the node's Compute Engine service account instead of their own Kubernetes ServiceAccount identity. What should the engineer do?

    • AUpdate that node pool with --workload-metadata=GKE_METADATA so its Pods use the GKE metadata server
    • BGrant the node's service account the Workload Identity User role on each Pod's Kubernetes ServiceAccount
    • CRun the cluster update command again with the --workload-pool flag so the setting reaches every node pool
    • DChange the node pool's access scopes to cloud-platform so Pod requests are routed through Workload Identity Federation
    Show answer and explanation

    Answer: A) Update that node pool with --workload-metadata=GKE_METADATA so its Pods use the GKE metadata server

    After you enable Workload Identity Federation for GKE on a cluster, each node pool must run with --workload-metadata=GKE_METADATA. Otherwise its Pods keep getting the node service account's credentials from the Compute Engine metadata server.

    • ACorrect. Enabling Workload Identity Federation at the cluster level doesn't move existing node pools to the GKE metadata server. Until a node pool runs with GKE_METADATA, its Pods can reach the Compute Engine metadata server and get the node service account's credentials. With GKE_METADATA, the GKE metadata server intercepts these requests and returns credentials for the Pod's Kubernetes ServiceAccount.
    • BIncorrect. This gets the relationship backwards and gives the node identity more power. It doesn't stop Pods from reaching the Compute Engine metadata server, so they would keep using the node's credentials.
    • CIncorrect. The workload pool is already set on the cluster. Running the cluster-level command again doesn't change the metadata mode of an existing node pool. You have to update the node pool itself.
    • DIncorrect. Access scopes only limit what the node's Compute Engine service account can do. Setting them to cloud-platform makes the node identity broader and has no effect on how Pod credential requests are handled.

Ensuring Successful Operation of a Cloud Solution: FAQs

How much of the Associate Cloud Engineer exam is Ensuring Successful Operation of a Cloud Solution?

Ensuring Successful Operation of a Cloud Solution is 20% of the Associate Cloud Engineer exam by the official exam guide's weighting, which on a 55-question form works out to roughly 11 questions. The real exam's exact split varies by form.

What does the Ensuring Successful Operation of a Cloud Solution domain cover?

Keeping deployed solutions running: managing resources, scaling, monitoring and logging.

How should I study Ensuring Successful Operation of a Cloud Solution for Associate Cloud Engineer?

Know where logs and metrics go by default and how to route them; operations questions build on it.

Where can I practise more Ensuring Successful Operation of a Cloud Solution questions?

This page has 10 free Ensuring Successful Operation of a Cloud Solution questions with answers. CertRidge's Associate Cloud Engineer question bank has 125 questions in this domain. Every practice exam result breaks your score down by domain, and Review Mode re-drills the questions you missed.

Get Ensuring Successful Operation of a Cloud Solution exam-ready

The full Associate Cloud Engineer bank has 125 Ensuring Successful Operation of a Cloud Solution questions. Timed practice exams match the real exam's length and domain weights, every result shows your score per domain, and Review Mode re-drills the questions you missed.

Not affiliated with Google Cloud; questions are original and never copied from the real exam.