Cloud Storage Bucket Lock Feature
9 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the purpose of the Bucket Lock feature in Cloud Storage?

  • To encrypt the objects in the bucket
  • To set a maximum size limit for the bucket
  • To automatically delete objects in the bucket after a certain period
  • To permanently prevent reduction or removal of the bucket's retention policy (correct)
  • What is the result of attempting to delete or replace an object in a bucket before it reaches the defined retention period?

  • The operation is put on hold until the retention period is met
  • The object is immediately deleted
  • The operation fails with a 403 - retentionPolicyNotMet error (correct)
  • The object's retention period is extended
  • In what way does Bucket Lock help with regulatory and compliance requirements?

  • By enforcing access control on the bucket
  • By permanently locking the bucket's retention policy (correct)
  • By logging Cloud Storage request and response details
  • By providing automated object versioning
  • What happens if you apply a retention policy to a bucket with a 1-year retention period?

    <p>Objects in the bucket cannot be deleted or replaced until they reach the defined age in the policy</p> Signup and view all the answers

    What does the retention expiration time metadata show for objects in a bucket with a retention policy?

    <p>Date and time when an object fulfills the retention period</p> Signup and view all the answers

    What is the maximum retention period that can be set for objects in Cloud Storage?

    <p>100 years</p> Signup and view all the answers

    What happens when you try to remove or reduce the policy duration of a locked bucket?

    <p>You get a 400 BadRequestException error</p> Signup and view all the answers

    What happens to a project when a retention policy is locked for a bucket?

    <p>A lien is placed on the projects.delete permission for the project</p> Signup and view all the answers

    What permission is required to remove a lien placed on a project due to a locked retention policy?

    <p>resourcemanager.projects.updateLiens permission</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser