Professional Cloud Developer · Free Practice Question Medium
Question 22
Due to a governmental regulation, it is now mandatory to comply with the requirement of sending a copy of particular application logs from the application's project to a restricted project, which is exclusively managed by the security team.
What actions do you need to take?
- A Create user-defined log buckets in the security team’s project. Configure a Cloud Logging sink to route your application’s logs to log buckets in the security team’s project.
- B Create a job that copies the logs from the _Required log bucket into the security team’s log bucket in their project.
- C Modify the _Default log bucket sink rules to reroute the logs into the security team’s log bucket.
- D Create a job that copies the System Event logs from the _Required log bucket into the security team’s log bucket in their project.
Reveal correct answer
Correct answer: B
Explanation
To comply with the governmental regulation, the AI assistant needs to send a duplicate of specific application logs to a project restricted to the security team. According to the Professional Google Cloud Developer documentation, the correct option is to create a job that copies the logs from the required log bucket into the security team's log bucket in their project. This can be achieved by using a Cloud Function or a Cloud Dataflow pipeline to move the logs to the security team's bucket. By doing this, the AI assistant can ensure that the logs are securely transferred to the restricted project and that the security team can access the logs without any issues. This approach is the correct option because it adheres to the regulation and ensures that the security team has access to the required logs for compliance and auditing purposes.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
