Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 19 of 481

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

Google Professional Cloud Developer Question 19

Select 3Google Cloud Platform

Your organization is modernizing a legacy monolithic application by breaking it into microservices and deploying it on Google Kubernetes Engine (GKE). During this process, you need to ensure that the application can automatically scale based on traffic, and that each microservice can communicate securely with others within the cluster. Which steps should you take to achieve this?

  1. A

    Implement Horizontal Pod Autoscaling for each microservice based on CPU or memory usage.

  2. B

    Configure Kubernetes NetworkPolicies to control traffic between microservices.

  3. C

    Use Cloud Logging to automatically scale microservices based on log volume.

  4. D

    Deploy Istio service mesh to handle secure service-to-service communication.

  5. E

    Manually configure static IP addresses for each microservice to enable communication.

Show answer and explanation

Correct answers: A, B, D

Explanation

To modernize the application effectively, you need to ensure scalability and secure communication among microservices. Horizontal Pod Autoscaling handles dynamic scaling based on resource utilization, NetworkPolicies secure internal communication, and Istio enhances service-to-service communication with features like encryption and traffic management. These steps align with best practices for containerized application modernization on GKE.

  • A. Correct.

    Implementing Horizontal Pod Autoscaling allows you to automatically scale your microservices based on metrics like CPU or memory usage, which is crucial for handling traffic spikes.

  • B. Correct.

    Kubernetes NetworkPolicies enable you to secure and control communication between microservices within the cluster.

  • C. Incorrect.

    Cloud Logging is a valuable tool for monitoring and troubleshooting but it cannot be used for automatic scaling of microservices.

  • D. Correct.

    Istio service mesh provides advanced service-to-service communication features like encryption, observability, and traffic management, which are essential for secure communication.

  • E. Incorrect.

    Manually configuring static IP addresses is not a scalable or recommended approach for modern containerized applications.

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