Medium ACE practice questions
Applied — put a concept to work in a realistic situation. 130 medium questions available — no sign-up, always free.
A startup is deploying a stateless Python web application that receives highly variable traffic, including long idle periods overnight. The team has no operations staff and wants a fully managed platform that automatically scales down to zero instances when there is no traffic to minimize cost, while requiring the least configuration effort. Which compute option should they choose?
A critical firewall rule protecting your production VPC was unexpectedly deleted, causing a brief security exposure. Your security team asks you to identify exactly which user or service account deleted the firewall rule and when. Which Google Cloud audit log type should you examine to find this information?
A financial analytics company is building a platform that ingests millions of stock trade events per second and must support single-digit millisecond read latency for key-based lookups. The access pattern is always by a row key (symbol + timestamp), and the total dataset is expected to grow into the hundreds of terabytes. The team does not need SQL joins or ACID multi-row transactions. Which Google Cloud data service should they choose?
Your company's finance team wants a specific employee, Maria, to be able to create new Cloud Billing accounts for different departments directly under the organization. Maria should not receive broad administrative rights over the organization itself. Which action grants Maria the minimum access needed to create new billing accounts?
Your company acquired a small startup that has one Google Cloud project running production workloads under its own separate billing account. Finance wants the acquired project's charges to appear on your organization's existing billing account starting next month, with no downtime for the running resources. What should you do?
Your company has a single Cloud Billing account managed by the finance team. A project lead named Priya needs the ability to link the new projects she creates to the existing billing account, but finance does not want her to be able to modify billing account settings, view all account cost data across the organization, or manage other users' billing roles. Following least privilege, which IAM role should you grant Priya on the billing account?
Your finance team lead needs to view and download the monthly invoices and payment history for your organization's billing account, but she should not be able to modify billing settings, link projects, or change the payment method. You want to follow the principle of least privilege. Which IAM role should you grant her on the billing account?
Your finance team wants automated cost controls for a development project. When the project's spending reaches its monthly budget, an internal system must automatically trigger a script that disables billing on the project to prevent further charges. You are configuring the budget in the Google Cloud console. Which budget setting must you enable so your automation can react to budget threshold events programmatically?
Your finance team wants detailed, near-real-time billing data (including labels and per-SKU usage) available for SQL analysis. As the project owner with the required billing permissions, what is the correct way to make this data continuously available?
Your finance team wants to perform detailed, granular analysis of Google Cloud spending using SQL queries, including custom dashboards that break down costs by label and SKU over time. They need the raw, itemized billing data available for querying. As the Associate Cloud Engineer, what should you configure to meet this requirement?
Your finance team wants to build a chargeback report in BigQuery that combines resource usage costs with the current list prices for each SKU so they can model potential savings from committed use discounts. You have already enabled standard usage cost export to BigQuery. What additional configuration must you perform in the Cloud Billing console?
Your organization has a single billing account linked to 40 projects. The finance team wants to identify which specific project incurred the highest Compute Engine costs last month, and they want to do this directly in the Cloud Console without setting up any external tooling or exports. What is the most direct way to provide this information?
Your finance team wants to be notified before a project's monthly spending exceeds its allocated budget, not just after the actual costs cross the threshold. They want an alert triggered when the projected end-of-month cost is expected to reach 100% of the $5,000 budget. As the Cloud Engineer, how should you configure this in a Cloud Billing budget?
A manufacturing company is deploying thousands of IoT sensors that will emit device metrics at very high throughput (hundreds of thousands of writes per second). The team needs a fully managed database optimized for time-series and high-volume single-key lookups, with low-latency reads and writes, that can scale horizontally. Which Google Cloud data service should they choose?
Your company is decommissioning an old development project. Finance wants to ensure no further charges accrue for the resources in that specific project, but the same billing account is still actively used by dozens of other production projects. What should you do?
Your company runs several internal microservices on Compute Engine VMs within a single VPC network. Developers need to reach these services using friendly hostnames like api.internal.example.com instead of internal IP addresses, and these names must NOT be resolvable from the public internet. What should you configure?
Your team runs a photo-sharing app. Whenever a user uploads an original image to a Cloud Storage bucket, you must automatically generate a thumbnail and write it to a second bucket. The processing code takes a few seconds per image, there is no steady traffic pattern, and the team wants to avoid managing any servers or clusters. Which compute option best fits this requirement?
Your security team needs to retain and analyze all Cloud Audit Logs from a production project for at least two years, and they want to run SQL queries against the log data to investigate access patterns. By default, admin activity logs are only retained for 400 days in Cloud Logging. What should you configure to meet these requirements?
Your compliance team requires that application logs for a production project be retained for 400 days, but the default _Default log bucket in Cloud Logging keeps logs for only 30 days. You want to meet the requirement with the least ongoing operational effort and without exporting logs to another service. What should you do?
Your team runs a fleet of Compute Engine VMs and needs Cloud Monitoring dashboards to show detailed guest-level metrics such as disk I/O and process-level CPU usage. Currently the dashboards only display default hypervisor-level metrics like network traffic and disk throughput reported by the VM instance. What should you do to collect the additional guest-level metrics?
Your team runs a fleet of IoT gateway devices that push a custom metric named 'device/heartbeat' to Cloud Monitoring every 60 seconds. Operations wants to be paged automatically if any device stops reporting its heartbeat entirely, indicating the gateway has gone offline. What is the most appropriate way to configure this alerting policy in Cloud Monitoring?
You operate a fleet of Compute Engine VMs behind a load balancer. Operations wants to be paged only when BOTH average CPU utilization exceeds 85% AND request latency exceeds 500ms for a sustained 5-minute window, to avoid noisy alerts during isolated spikes. Using Cloud Monitoring, what is the correct way to configure this?
Your team runs a fleet of Compute Engine VMs behind Cloud Monitoring. You created an alerting policy on CPU utilization that fires every time a brief scheduled cron job spikes CPU above 90% for a few seconds, generating dozens of false pages each night. You want to reduce these transient alerts without raising the threshold value. What should you configure on the alerting condition?
Your team runs a fleet of Compute Engine VMs hosting a memory-intensive application. In Cloud Monitoring you can see CPU utilization for each VM, but you cannot find any memory usage metrics to build a dashboard chart. What must you do to collect and visualize per-VM memory utilization?
Your operations team manages hundreds of Compute Engine VMs across several environments. VMs are tagged with a label 'env' set to values like 'prod', 'staging', or 'dev'. You want a single Cloud Monitoring construct that automatically includes any new VM tagged 'env:prod' so dashboards and alerting policies always reflect the current production fleet without manual updates. What should you configure?