
Answer-first summary for fast verification
Answer: Use VPC Flow Logs and Network Intelligence Center to identify network bottlenecks and connectivity issues.
**Correct Answer: B** - Using VPC Flow Logs and Network Intelligence Center is the correct approach. VPC Flow Logs offer visibility into network traffic, helping to pinpoint bottlenecks or connectivity issues. Network Intelligence Center provides comprehensive network monitoring, aiding in diagnosing and resolving network issues in GCP. This directly addresses both the optimization and troubleshooting needs mentioned. **Incorrect Options:** - **A**: Modifying the Kubernetes Ingress controller to use HTTP/2 might enhance performance but doesn't directly tackle the network issues causing latency. - **C**: Increasing vCPUs and memory for Kubernetes Pods could improve microservice performance but doesn't address the root cause of network-related latency. - **D**: Cloud Trace and Cloud Profiler are useful for identifying code-level performance bottlenecks but are not suited for diagnosing network connectivity problems.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A DevOps Engineer at XYZ Company is optimizing a latency-sensitive microservice and troubleshooting network issues in their Google Cloud Platform environment. The microservice, running on a Kubernetes cluster, uses Cloud Monitoring and Cloud Logging for observability but faces intermittent network issues causing high API call latency. What approach should the engineer take to diagnose and resolve these issues?
A
Modify the Kubernetes Ingress controller to use HTTP/2.
B
Use VPC Flow Logs and Network Intelligence Center to identify network bottlenecks and connectivity issues.
C
Increase the number of vCPUs and memory allocated to the microservice‘s Kubernetes Pods.
D
Use Cloud Trace and Cloud Profiler to identify performance bottlenecks in the microservice.
No comments yet.