An organization is setting up telemetry collection and audit log retention for a fleet of Compute Engine virtual machines deployed across multiple GCP projects. The operations team needs to collect OS-level memory utilization metrics from the instances and automatically export application audit logs to a centralized BigQuery dataset located in a dedicated security governance project. Which of the following configuration steps are required to achieve this operational objective according to Google-recommended practices? (Select TWO options.)
- Install and configure the Google Cloud Ops Agent on the Compute Engine virtual machine instances.Cevap
- Create a Log Router sink targeting the central BigQuery dataset with an appropriate log inclusion filter.Cevap
- CInstall the legacy Stackdriver Monitoring agent alongside the standalone Stackdriver Logging agent on each VM instance.
- DGrant the primitive Owner role to the sink service account on the central BigQuery project.
Cevap
Installing the Google Cloud Ops Agent on the instances and creating a Log Router sink directed to the BigQuery dataset are the required Google-recommended steps.
To collect extended telemetry like memory metrics from Compute Engine VMs, the Google Cloud Ops Agent must be installed inside the guest OS. To export audit logs across projects to BigQuery, a Log Router sink with an inclusion filter and BigQuery sink destination must be created.
Adım Adım Çözüm
Anahtar Kavram
Google Cloud Monitoring agent architecture and Log Router sink export configuration