ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 5 - Professional Cloud DevOps Engineer discussion

Report
Export

You are creating Cloud Logging sinks to export log entries from Cloud Logging to BigQuery for future analysis Your organization has a Google Cloud folder named Dev that contains development projects and a folder named Prod that contains production projects Log entries for development projects must be exported to dev_dataset. and log entries for production projects must be exported to prod_dataset You need to minimize the number of log sinks created and you want to ensure that the log sinks apply to future projects What should you do?

A.
Create a single aggregated log sink at the organization level.
Answers
A.
Create a single aggregated log sink at the organization level.
B.
Create a log sink in each project
Answers
B.
Create a log sink in each project
C.
Create two aggregated log sinks at the organization level, and filter by project ID
Answers
C.
Create two aggregated log sinks at the organization level, and filter by project ID
D.
Create an aggregated Iog sink in the Dev and Prod folders
Answers
D.
Create an aggregated Iog sink in the Dev and Prod folders
Suggested answer: D

Explanation:

The best option for minimizing the number of log sinks created and ensuring that the log sinks apply to future projects is to create an aggregated log sink in the Dev and Prod folders. An aggregated log sink is a log sink that collects logs from multiple sources, such as projects, folders, or organizations. By creating an aggregated log sink in each folder, you can export log entries for development projects to dev_dataset and log entries for production projects to prod_dataset. You can also use filters to specify which logs you want to export. Additionally, by creating an aggregated log sink at the folder level, you can ensure that the log sink applies to future projects that are created under that folder.

asked 18/09/2024
Mk Cheng
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first