Google Professional Cloud Security Engineer exam dumps

Google Professional Cloud Security Engineer practice question 69 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 69

Single answerGoogle Cloud Platform

Your organization is using Google Cloud for a critical workload and requires fine-grained access controls for users and applications. You are tasked with implementing short-lived credentials for a service that needs to access Cloud Storage for a limited time. Which solution should you implement to meet this requirement?

  1. A

    Use OAuth 2.0 access tokens generated with a Service Account and set a limited expiration time.

  2. B

    Generate signed URLs for the service to access specific Cloud Storage objects with an expiration time.

  3. C

    Assign the service a permanent IAM role with the required permissions.

  4. D

    Use a user-managed key pair to generate long-lived credentials for authentication.

Show answer and explanation

Correct answer: B

Explanation

Signed URLs are the recommended approach for granting temporary, fine-grained access to specific Cloud Storage objects. They allow you to define an expiration time, ensuring the credentials are short-lived and meet the security requirements for this scenario.

  • A. Incorrect.

    OAuth 2.0 access tokens are valid for a short time (typically 1 hour) but are not directly suitable for controlling access to specific Cloud Storage objects. Signed URLs are a more appropriate solution for object-level access control.

  • B. Correct.

    Signed URLs allow you to grant temporary access to specific Cloud Storage objects by specifying an expiration time. This meets the requirement for short-lived credentials.

  • C. Incorrect.

    Assigning a permanent IAM role provides long-term access and does not meet the requirement for short-lived credentials.

  • D. Incorrect.

    User-managed key pairs generate long-lived credentials, which contradict the requirement for short-lived credentials. They also increase security risks if the keys are exposed.

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