🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 26 minutes remaining!

GCP Associate Cloud Engineer Practice Question

Your company runs dozens of Compute Engine VMs that host internal web applications. SREs want to forward OS-level metrics (CPU, memory, disk, network) and application logs to Cloud Monitoring and Cloud Logging without installing and maintaining two different agents. They also need a single YAML file on each VM to enable collection of NGINX access logs in addition to the default system telemetry. Which approach best meets these requirements with the least operational overhead?

  • Enable Cloud Audit Logs at the project level and export them to Cloud Monitoring; no agent installation is required.

  • Deploy a Prometheus sidecar on every VM for metrics and use a custom script to send log files to a Cloud Storage bucket.

  • Install the legacy Monitoring agent for metrics and the legacy Logging agent with a Fluentd NGINX plugin to collect logs.

  • Install the Google Cloud Ops Agent on each VM and add an nginx_access logging receiver to the agent's unified config.yaml file.

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