GCP Professional Cloud Architect Practice Question
Your organization is standardizing its incident-response process for a multi-region GKE workload. Requirements include: 1) capture and retain all application and platform logs for analytics, 2) automatically page the on-call SRE when a spike of log entries with severity ERROR or higher exceeds 100 per minute, and 3) manage the configuration through version-controlled Infrastructure as Code. Which approach most completely meets these monitoring, alerting, and logging goals?
Create a Cloud Logging sink that exports all project logs to BigQuery; define a logs-based metric for entries with severity ERROR or higher; add an alerting policy that fires when the metric exceeds 100 events per minute and routes to a Slack channel; manage the sink, metric, and policy definitions in Terraform modules.
Install the Ops Agent on all nodes to collect system metrics only; schedule a weekly Cloud Scheduler job that emails compressed log files from the nodes to the SRE team for manual review.
Turn on VPC Flow Logs and route them to Cloud Storage; create a dashboard that shows flow-log traffic volume; instruct on-call staff to perform ad-hoc log searches in the console during incidents without automated alerting.
Enable Cloud Monitoring uptime checks on each service endpoint; rely on default 30-day log retention in Cloud Logging; configure email notifications manually in the console for any failed uptime check.
Exporting logs with a Cloud Logging sink to BigQuery satisfies the retention and analytics requirement. A logs-based metric filtered on severity>=ERROR lets Cloud Monitoring evaluate the rate of error entries; attaching an alerting policy with a threshold of 100/minute and routing to a ChatOps notification channel meets the paging mandate. Managing the sink, metric, alerting policy, and notification channel definitions in Terraform keeps all operational procedures codified and version controlled. The other options omit either automated alerting on log volume, long-term log storage, or Infrastructure as Code.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Cloud Logging sink and how does it work?
Open an interactive chat with Bash
What are logs-based metrics and how are they used in monitoring?
Open an interactive chat with Bash
Why is managing infrastructure with Terraform beneficial in this use case?
Open an interactive chat with Bash
What is a Cloud Logging sink, and how does it work in GCP?
Open an interactive chat with Bash
How does Terraform help with version-controlled Infrastructure as Code in GCP?
Open an interactive chat with Bash
What is the purpose of logs-based metrics and alerting policies in Cloud Monitoring?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Ensuring solution and operations excellence
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .