Google Professional Cloud Security Engineer exam dumps

Google Professional Cloud Security Engineer practice question 349 of 501

Professional Cloud Security Engineer. Expert level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Security Engineer Question 349

Select 2Google Cloud Platform

Your organization has a Cloud Storage bucket that stores log files. Due to regulatory requirements, these logs must be retained for 365 days before being deleted. Additionally, you want to minimize storage costs by moving the logs to the Nearline storage class after 30 days of being created. How should you configure the object lifecycle policy to meet these requirements?

  1. A

    Add a lifecycle rule to delete objects 365 days after their creation.

  2. B

    Add a lifecycle rule to set the storage class to Nearline 30 days after object creation.

  3. C

    Add a lifecycle rule to set the storage class to Coldline 30 days after object creation.

  4. D

    Add a lifecycle rule to delete objects 30 days after their creation.

  5. E

    Add a lifecycle rule to delete objects 365 days after being moved to Nearline.

Show answer and explanation

Correct answers: A, B

Explanation

To meet the requirements, you need to create two lifecycle rules: one to move objects to the Nearline storage class after 30 days to reduce costs, and another to delete objects 365 days after their creation to comply with regulatory retention policies. These rules ensure that the logs are retained for the required duration while optimizing storage costs.

  • A. Correct.

    This is correct because the objects must be deleted after 365 days to meet regulatory requirements.

  • B. Correct.

    This is correct because moving the objects to the Nearline storage class after 30 days will help minimize storage costs while keeping the logs accessible if needed within the retention period.

  • C. Incorrect.

    This is incorrect because the Coldline storage class is not specified in the requirements. The Nearline storage class is sufficient for minimizing costs.

  • D. Incorrect.

    This is incorrect because deleting objects 30 days after creation does not meet the regulatory requirement to retain the logs for 365 days.

  • E. Incorrect.

    This is incorrect because the deletion requirement is based on the objects' creation date, not when they were moved to Nearline.

Timed practice exam

Take a Google Professional Cloud Security Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam