Google Cloud DevOps Certification Practice Test

Question: 1 / 400

To provide time-limited access to Google Cloud resources for employees during a September event, what is the best practice?

Add a firewall rule for employee machines that is modified after September.

Create a group for the employees with IAM conditions based on time.

Creating a group for employees with IAM conditions based on time is an effective best practice for providing time-limited access to Google Cloud resources. This approach utilizes IAM conditions, which allow fine-grained access control based on attributes such as date and time. By setting specific conditions that restrict access to a particular time frame (in this case, during the September event), you ensure that employees have the necessary permissions only when needed. This method simplifies management by allowing you to control access at the group level rather than individual users and provides a straightforward way to automatically revoke access once the time-limited period ends.

Using IAM conditions also lends itself to better compliance and security, as it reduces the risk of lingering permissions after the event is over compared to other methods where permissions might need to be manually modified or deleted. By relying on this built-in functionality within IAM, you maintain a cleaner and more manageable access policy that adheres to best practices in cloud security.

Get further explanation with Examzify DeepDiveBeta

Assign custom IAM roles that can be deleted afterward.

Use temporary service accounts for each employee.

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy