Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 84 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 84

Select 3Google Cloud Platform

You are developing a web application on Google Cloud that handles sensitive customer information. Which practices should you implement to ensure the application is secure and meets compliance requirements?

  1. A

    Use Identity and Access Management (IAM) roles to restrict access to application resources.

  2. B

    Store sensitive customer data in plaintext in Cloud Storage for quick access.

  3. C

    Encrypt sensitive data both in transit and at rest using Cloud KMS.

  4. D

    Implement input validation and sanitize user inputs to prevent injection attacks.

  5. E

    Allow unrestricted public access to your application’s APIs for faster performance.

Show answer and explanation

Correct answers: A, C, D

Explanation

To design secure applications on Google Cloud, it is important to enforce the principle of least privilege using IAM roles, encrypt sensitive data at all stages, and implement measures like input validation to protect against common vulnerabilities. Avoid practices like storing plaintext data or exposing APIs to the public, as these can lead to serious security breaches.

  • A. Correct.

    Using IAM roles to restrict access ensures that only authorized users or services can access application resources, minimizing the risk of unauthorized access.

  • B. Incorrect.

    Storing sensitive customer data in plaintext is a major security risk, as it can be easily accessed and misused if compromised. Encryption should be used instead.

  • C. Correct.

    Encrypting data in transit and at rest using tools like Cloud KMS helps to protect sensitive information from being intercepted or accessed by unauthorized parties.

  • D. Correct.

    Input validation and sanitization are crucial to defend against injection attacks, such as SQL injection or cross-site scripting (XSS), that could compromise application security.

  • E. Incorrect.

    Allowing unrestricted public access to APIs is a security vulnerability that exposes the application to potential abuse and unauthorized data access.

Timed practice exam

Take a Google Professional Cloud Developer 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