GCP Associate Cloud Engineer Practice Question

Your company is migrating 50 Ubuntu 22.04 Compute Engine VMs to production. You must forward detailed instance metrics (CPU utilization, disk I/O) and custom application logs from Nginx into Cloud Monitoring and Cloud Logging. You want to minimize operational overhead by running a single, Google-supported agent that will continue to receive automatic updates. What should you do?

  • Enable the Cloud Monitoring and Cloud Logging APIs only; Compute Engine will automatically send all guest metrics and logs without agents.

  • Install the Cloud Operations Ops Agent on each VM and configure an Nginx receiver in the agent's YAML file to collect logs and metrics.

  • Export each VM's serial console output to Cloud Storage and load it into BigQuery for analysis on a schedule.

  • Install the legacy Stackdriver Monitoring agent for metrics and the separate fluentd-based Logging agent for logs.

GCP Associate Cloud Engineer
Setting up a cloud solution environment
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot