Google Professional Cloud Security Engineer exam dumps

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

Select 3Google Cloud Platform

Your organization has implemented Google Cloud for hosting its workloads. To enhance security and ensure consistency, you want to automate infrastructure and application security by using Infrastructure as Code (IaC). Which of the following practices should you follow to achieve this?

  1. A

    Use a version-controlled repository to store and manage your IaC templates.

  2. B

    Hardcode sensitive secrets, such as API keys and passwords, directly in your IaC templates for simplicity.

  3. C

    Integrate your IaC pipeline with a security scanning tool to identify vulnerabilities in templates before deployment.

  4. D

    Manually review each IaC template for security issues before every deployment.

  5. E

    Implement role-based access control (RBAC) for the CI/CD pipeline managing your IaC deployments.

Show answer and explanation

Correct answers: A, C, E

Explanation

To automate infrastructure and application security effectively, it is important to follow best practices such as using a version-controlled repository for IaC, integrating with security scanning tools for automated vulnerability detection, and implementing RBAC to secure the deployment pipeline. Avoid practices such as hardcoding sensitive information or relying solely on manual reviews, as they can introduce significant security risks and hinder automation.

  • A. Correct.

    Using a version-controlled repository for IaC allows for proper change tracking, auditability, and collaboration, which are critical for maintaining secure infrastructure.

  • B. Incorrect.

    Hardcoding sensitive secrets in IaC templates is a bad practice as it exposes them to unauthorized access. Instead, use secret management tools like Google Secret Manager.

  • C. Correct.

    Integrating IaC pipelines with security scanning tools ensures that potential vulnerabilities in templates are identified and mitigated before they are deployed.

  • D. Incorrect.

    While manual reviews can be helpful, they are not scalable or sufficient for consistent security automation. Automated tools are more effective for identifying issues systematically.

  • E. Correct.

    Implementing RBAC for CI/CD pipelines ensures that only authorized users or services can make changes to IaC deployments, reducing the risk of unauthorized access or modifications.

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