exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 97 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 97
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

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.
  • B. Create a log sink in each project.
  • C. Create two aggregated log sinks at the organization level, and filter by project ID.
  • D. Create an aggregated log sink in the Dev and Prod folders.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
PrayasMohanty
Highly Voted 6 months, 4 weeks ago
I vote for D
upvoted 6 times
...
xhilmi
Most Recent 4 months, 3 weeks ago
Selected Answer: D
To minimize the number of log sinks and ensure that the log sink configurations are applied to future projects, the optimal choice is Option D. By creating an aggregated log sink at the folder level for both the Dev and Prod folders, you can enforce consistent export configurations for all existing and forthcoming projects within each folder. This approach facilitates centralized management, eliminating the need for creating individual sinks for each project. It reduces complexity and ensures that any new projects added to the Dev or Prod folders will automatically adopt the log sink configuration, streamlining the process and fostering uniformity throughout the organization.
upvoted 2 times
...
khoukha
5 months, 2 weeks ago
Selected Answer: D
need to create two sinks at folder level. if there is new projects inside each folder, the rule will be applied to them too
upvoted 1 times
...
PGontijo
6 months, 1 week ago
D for sure.
upvoted 3 times
...
ManishKS
7 months ago
C. Create two aggregated log sinks at the organization level, and filter by project ID. By creating two aggregated log sinks at the organization level and applying filters based on project ID, you can achieve the desired log entry routing for both development and production projects. This approach allows for scalability and ensures that future projects in the respective folders will inherit the log sink configurations.
upvoted 2 times
elskander
5 months, 3 weeks ago
but doesn't apply for future projects hence D is a better option
upvoted 3 times
...
syslog
7 months ago
I vote for D. If you use project ID, you can't scale. Your explanation also suggests D, because if you configure the sink at folder level, all projects into folder (present and future) inherit the sink.
upvoted 2 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