Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An administrator creates several new Compute Engine virtual machines running Linux in a Google Cloud project. In the Google Cloud console Observability dashboard, basic hypervisor metrics like CPU utilization and network traffic appear normally, but the charts for guest memory utilization and disk space utilization display no data.
What should the administrator do to collect these operating system-level metrics and system logs from the virtual machines?
The Google Cloud Ops Agent is the primary, unified telemetry collection agent designed specifically for Compute Engine virtual machine instances. It combines high-throughput log collection using Fluent Bit and metric and trace collection using the OpenTelemetry Collector into a single background service.
/var/log/syslog and /var/log/messages) and stream them directly to Cloud Logging with no complex setup required.
Installing the Ops Agent directly resolves the observability gap by providing the necessary in-guest instrumentation required for memory and disk space metrics, and it represents Google Cloud's standard best practice for all new VM workloads.
The legacy Stackdriver Monitoring agent (based on collectd) and legacy Stackdriver Logging agent (based on google-fluentd) are older standalone agents previously used to collect metrics and logs on Google Cloud VMs.
collectd and google-fluentd) rather than a single unified process.You were maintaining an older existing workload on a legacy operating system that does not support the Ops Agent and relies strictly on deprecated legacy agent plugins.
Private Google Access is a networking feature configured on VPC subnets that allows Compute Engine VM instances that only have internal (private) IP addresses to reach the public IP addresses of Google APIs and services.
The virtual machines already had the Ops Agent installed but lacked external IP addresses and were failing to send their collected telemetry to Google Cloud Observability endpoints due to missing outbound network connectivity.
The Compute Engine Network Admin role (roles/compute.networkAdmin) is a predefined IAM role that grants full administrative permissions over networking resources such as VPC networks, subnets, firewall rules, and routes.
roles/monitoring.metricWriter) and Logs Writer (roles/logging.logWriter). The Network Admin role does not grant permissions to write telemetry data.A service account needed administrative privileges to create, modify, or delete VPC firewall rules and subnets within the project.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated