exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 89 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 89
Topic #: 1
[All Professional Cloud Architect Questions]

Your architecture calls for the centralized collection of all admin activity and VM system logs within your project.
How should you collect these logs from both VMs and services?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MeasService
Highly Voted 5 years ago
Does not agree with D. B is the nearest answer I feel !
upvoted 43 times
KouShikyou
5 years ago
Agree.
upvoted 9 times
tartar
4 years, 2 months ago
B is ok
upvoted 12 times
...
...
nitinz
3 years, 7 months ago
It is B, all rest are BS
upvoted 2 times
...
kumarp6
3 years, 12 months ago
B is correct, D is SPOF ...
upvoted 2 times
...
...
shandy
Highly Voted 4 years, 11 months ago
Admin and event logs are configured by default. VM System logs require a logging agent to be configured. So A is not valid. Answer is B
upvoted 20 times
...
JaimeMS
Most Recent 4 months, 4 weeks ago
Selected Answer: B
Admin and event logs are configured by default. VM System logs require a logging agent to be configured. Answer is B
upvoted 1 times
...
hitmax87
5 months, 2 weeks ago
Selected Answer: A
Stackdriver Logging agent doesn't need for audit logs
upvoted 1 times
...
convers39
10 months ago
Selected Answer: B
B is correct Now it is recommended to use OpsAgent as a replacement. Although you can create a VM instance with OpsAgent automatically enabled, which makes it look like 'the logging is automatically enabled', under the hood you need to install the agent on the instance. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/install-agent-vm-creation
upvoted 3 times
...
stefanop
10 months, 3 weeks ago
Selected Answer: A
A: Stackdriver already collects admin logs and GCE logs.
upvoted 2 times
...
spuyol
10 months, 3 weeks ago
Answer is A you don't need to install the Stackdriver Logging agent or any other agents in order to collect admin or system logs from compute engine instances (VM): https://cloud.google.com/compute/docs/logging/activity-logs https://cloud.google.com/compute/docs/logging/audit-logging
upvoted 2 times
...
squishy_fishy
11 months, 3 weeks ago
Answer is B, but it would be more accurate if the answer mentioned install the Ops Agent on the VMs. https://cloud.google.com/logging/docs/agent/ops-agent
upvoted 1 times
...
jlambdan
1 year, 7 months ago
Selected Answer: B
answer is B as per this tutorial step: https://cloud.google.com/logging/docs/logging-gce-quickstart#install-agent
upvoted 1 times
...
omermahgoub
1 year, 10 months ago
Stackdriver does not require the Stackdriver Logging agent to be installed in order to collect system logs. Stackdriver is a cloud monitoring and logging platform that is integrated with Google Cloud Platform (GCP) and is designed to collect, monitor, and troubleshoot logs from your GCP resources. By default, Stackdriver automatically collects admin activity logs for most GCP services, as well as VM system logs. This means that you don't need to install the Stackdriver Logging agent or any other agents in order to collect these logs - they are automatically collected and centralized by Stackdriver. However, if you want to collect logs from other sources that are not automatically collected by Stackdriver (e.g. logs from applications running on your VMs, logs from on-premises systems, etc.), you can use the Stackdriver Logging agent to forward these logs to Stackdriver. The agent is a lightweight daemon that runs on your VMs or other hosts, and it can be used to collect logs from various sources and forward them to Stackdriver for centralized storage and analysis.
upvoted 6 times
omermahgoub
1 year, 10 months ago
Answer is A In Google Cloud Platform (GCP), you can use Stackdriver to collect and centralize all admin activity and VM system logs within your project. Stackdriver is a powerful cloud monitoring and logging platform that is integrated with GCP, and it provides a number of features that are specifically designed to help you collect, monitor, and troubleshoot logs from your GCP resources. One of the key features of Stackdriver is that it automatically collects admin activity logs for most GCP services, as well as VM system logs. This means that you don't need to install any agents or configure any additional components to collect these logs - they are automatically collected and centralized by Stackdriver. To view and analyze your logs in Stackdriver, you can use the Stackdriver Logs Viewer, which provides a powerful interface for searching, filtering, and aggregating your logs. You can also use the Stackdriver Logs API to programmatically access your logs, or use the Stackdriver Logging agent to forward your logs to other log management or analysis tools.
upvoted 6 times
...
...
megumin
1 year, 11 months ago
Selected Answer: B
B is ok
upvoted 1 times
...
DrishaS4
2 years, 2 months ago
Selected Answer: B
https://cloud.google.com/logging/docs/agent/logging/installation#before_you_begin
upvoted 5 times
AzureDP900
2 years ago
Thank you for sharing the link, B is right
upvoted 1 times
...
...
panqueca
2 years, 5 months ago
Selected Answer: B
it's B
upvoted 2 times
...
haroldbenites
2 years, 10 months ago
Go for B.
upvoted 2 times
...
vincy2202
2 years, 11 months ago
B is the correct answer.
upvoted 2 times
...
MaxNRG
3 years ago
B – stackdriver automatically collects admin activity logs for most services. Stackdriver Logging Agenct must be installed on each instance to collect system logs. Read more about Logging Agent. https://cloud.google.com/logging/docs/agent/ Logging agent streams logs from 3rd party apps and systems SW (syslog on Linux) to Logging. It is best practice to run the Logging agent on all your VM instances. It runs on Linux and Windows. Cloud Audit Logs says that Admin Activity audit logs are always enabled.
upvoted 3 times
...
unnikrisb
3 years ago
Agree with B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago