1Question 1
Performance-tuning, Optimization, and Upgrades
Choose 1
Compression is enabled on a lab Virtual Service, but initial tests are not indicating that the traffic is being compressed. What is the most likely reason for this issue?
Correct answer:
C. The default compression mode excludes traffic with a round-trip time of less than 10 ms
Explanation:
In VMware NSX Advanced Load Balancer (Avi), compression settings include policies to avoid compressing traffic when it yields negligible benefit. By default, compression excludes traffic when the round-trip time (RTT) between the client and load balancer is very low (e.g., < 10 ms). In a lab environment with low latency (clients close to the SE), compression is skipped because bandwidth savings would not outweigh CPU cost.
Correct Option:
C. The default compression mode excludes traffic with a round-trip time of less than 10 ms –
Correct. The default compression policy has a minimum RTT threshold (typically 10 ms). If client‑to‑SE RTT is below this threshold, compression is bypassed. Lab environments often have sub‑millisecond RTT, explaining why compression does not occur.
Incorrect Options:
A. The default compression mode does not include content types –
Incorrect. The default compression profile includes common compressible content types (text/html, application/javascript, text/css, etc.). Content type inclusion is not the likely issue.
B. Caching is enabled and cannot be used with compression on the same Virtual Service –
Incorrect. Caching and compression can be used simultaneously. The Avi SE can serve compressed content from cache or compress on the fly. There is no inherent incompatibility.
D. Caching was previously enabled, so the uncompressed data is being delivered from the existing cache –
Incorrect. Even if cached content is uncompressed, the SE can compress it on delivery (compress on the fly). Cached content does not prevent compression from being applied.
Reference:
VMware NSX Advanced Load Balancer Documentation: "Compression Policy – Minimum RTT Threshold" – specifies default exclusion for RTT < 10 ms. Also covered in NSX ALB Configuration Guide and vDefend Load Balancing Optimization Guide, section on compression settings.
In VMware NSX Advanced Load Balancer (Avi), compression settings include policies to avoid compressing traffic when it yields negligible benefit. By default, compression excludes traffic when the round-trip time (RTT) between the client and load balancer is very low (e.g., < 10 ms). In a lab environment with low latency (clients close to the SE), compression is skipped because bandwidth savings would not outweigh CPU cost.
Correct Option:
C. The default compression mode excludes traffic with a round-trip time of less than 10 ms –
Correct. The default compression policy has a minimum RTT threshold (typically 10 ms). If client‑to‑SE RTT is below this threshold, compression is bypassed. Lab environments often have sub‑millisecond RTT, explaining why compression does not occur.
Incorrect Options:
A. The default compression mode does not include content types –
Incorrect. The default compression profile includes common compressible content types (text/html, application/javascript, text/css, etc.). Content type inclusion is not the likely issue.
B. Caching is enabled and cannot be used with compression on the same Virtual Service –
Incorrect. Caching and compression can be used simultaneously. The Avi SE can serve compressed content from cache or compress on the fly. There is no inherent incompatibility.
D. Caching was previously enabled, so the uncompressed data is being delivered from the existing cache –
Incorrect. Even if cached content is uncompressed, the SE can compress it on delivery (compress on the fly). Cached content does not prevent compression from being applied.
Reference:
VMware NSX Advanced Load Balancer Documentation: "Compression Policy – Minimum RTT Threshold" – specifies default exclusion for RTT < 10 ms. Also covered in NSX ALB Configuration Guide and vDefend Load Balancing Optimization Guide, section on compression settings.