PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #111
You are monitoring a service that uses n2-standard-2 Compute Engine instances that serve large files. Users have reported that downloads are slow. Your Cloud Monitoring dashboard shows that your VMs…
The correct answer is C. Change the machine type for your VMs to n2-standard-8. When Compute Engine instances serving large files are at peak network throughput and users report slow downloads, improving performance requires selecting a machine type with higher network bandwidth.
Question
Options
- AAdd additional network interface controllers (NICs) to your VMs.
- BDeploy a Cloud NAT gateway and attach the gateway to the subnet of the VMs.
- CChange the machine type for your VMs to n2-standard-8.
- DDeploy the Ops Agent to export additional monitoring metrics.
How the community answered
(25 responses)- A4% (1)
- B12% (3)
- C76% (19)
- D8% (2)
Why each option
When Compute Engine instances serving large files are at peak network throughput and users report slow downloads, improving performance requires selecting a machine type with higher network bandwidth.
Adding additional network interface controllers (NICs) generally provides more network interfaces for isolation or routing, but it does not increase the maximum network throughput of a single VM instance beyond its machine type's limit.
A Cloud NAT gateway is used for outbound internet connectivity for private instances and does not improve the internal network throughput performance of a VM serving files or its egress bandwidth.
The n2-standard machine types have increasing network bandwidth limits as the number of vCPUs increases. An n2-standard-2 (2 vCPUs) has a lower network throughput limit compared to an n2-standard-8 (8 vCPUs), which offers significantly higher egress bandwidth, directly addressing the observed bottleneck of "peak network throughput."
Deploying the Ops Agent exports more monitoring metrics but does not address or improve the underlying network throughput performance of the VM itself.
Concept tested: Compute Engine Network Performance & Machine Types
Source: https://cloud.google.com/compute/docs/network-performance/optimizing-network-performance#max_network_egress_rate
Topics
Community Discussion
No community discussion yet for this question.