Google Professional Cloud Developer Question 219
Select 4Google Cloud PlatformYou are part of a development team that uses Google Cloud Workstations for development. The team needs to ensure that the workstations are pre-configured with the necessary software, provide a secure development environment, and allow developers to collaborate efficiently while maintaining compliance with security policies. Which of the following actions should you take to meet these requirements?
- A
Use a custom container image to pre-install necessary development tools and libraries.
- B
Enable IAM-based access control to restrict access to the workstations.
- C
Configure persistent storage to retain changes made to the development environment across sessions.
- D
Allow developers to install any software they need without restrictions for flexibility.
- E
Set up a shared Google Cloud Workstation configuration to ensure consistency across the team.
Show answer and explanation
Correct answers: A, B, C, E
Explanation
Google Cloud Workstations provide a secure, scalable, and configurable development environment. To meet the team's requirements, it is important to use custom container images for pre-configuration, enable IAM-based access for security, configure persistent storage for session continuity, and establish shared configurations for consistency. Allowing unrestricted software installation is not recommended as it can compromise security and compliance.
- A. Correct.
Using a custom container image ensures that the workstations are pre-configured with all the necessary tools and libraries, providing a consistent and ready-to-use environment for developers.
- B. Correct.
IAM-based access control is crucial for restricting and managing access to the workstations, ensuring compliance with security policies.
- C. Correct.
Configuring persistent storage allows developers to retain changes between sessions, improving productivity and ensuring a seamless development experience.
- D. Incorrect.
Allowing unrestricted software installation can lead to security vulnerabilities and non-compliance with organizational policies, so this is not a recommended practice.
- E. Correct.
Setting up a shared configuration ensures that all developers use the same workstation setup, enabling consistency and collaboration within the team.