
Answer-first summary for fast verification
Answer: Stackdriver automatically collects admin activity logs for most services. The Stackdriver Logging agent must be installed on each instance to collect system logs.
The correct answer is B. Stackdriver (now known as Google Cloud Operations) automatically collects admin activity logs for most services. However, to collect system logs from VMs, the Stackdriver Logging agent must be installed on each instance. This agent ensures that the system logs from each VM are gathered and sent to Stackdriver for centralized logging and analysis. Options A and D incorrectly state the extent of Stackdriver's automatic collection capabilities, and option C is not a standard or recommended approach for collecting logs in GCP.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In your Google Cloud Platform (GCP) environment, you need a solution for the centralized collection of all administrative activity and VM system logs within your project. Given the requirement that logs need to be collected from both VMs and services, which approach should you take?
A
All admin and VM system logs are automatically collected by Stackdriver.
B
Stackdriver automatically collects admin activity logs for most services. The Stackdriver Logging agent must be installed on each instance to collect system logs.
C
Launch a custom syslogd compute instance and configure your GCP project and VMs to forward all logs to it.
D
Install the Stackdriver Logging agent on a single compute instance and let it collect all audit and access logs for your environment.
No comments yet.