Practice Test 2 | Google Cloud Certified Professional Cloud Security Engineer | Dumps | Mock Test
You have asked to collect the Apache server logs streaming into Cloud Logging to a custom Cloud logging bucket.
Which of the following helps you meet the requirement?
A. Create a Sink in Logs Router, specify the destination as Cloud Logging bucket and build an inclusion filter.
B. Create a Sink in Logs Explorer, specify the destination as Cloud Storage bucket and build an exclusion filter.
C. Create a Sink in Logs Router, then specify the destination as Cloud Logging bucket and build an exclusion filter.
D. Create a Sink in Logs Explorer, specify the destination as Cloud Storage bucket and build an inclusion filter
Answer: A
- Option A is CORRECT. Log Sink is created in Logs Router, and an inclusion filter is used to specify the logs to be routed to the destination selected.
- Option B is incorrect. Log Sink is created in Logs Router, and an inclusion filter is used to specify the logs to be routed to the destination selected. Also, the requirement specifies a Logging bucket not Cloud Storage.
- Option C is incorrect. An inclusion filter is used to specify the logs to be routed to the destination selected.
- Option D is incorrect. Log Sink is created in Logs Router, and the requirement specifies a Logging bucket not Cloud Storage.
Reference:
Comments are closed, but trackbacks and pingbacks are open.