What is horizontal scaling, and how does it differ from vertical scaling?
Horizontal: add more VMs/containers (scale out). Vertical: upgrade to a larger VM with more CPU/RAM (scale up). Cloud autoscaling is primarily horizontal.
Why this answer
Horizontal scaling (scale-out) adds more instances (e.g., additional virtual machines or containers) to distribute the workload across multiple nodes, improving fault tolerance and capacity. Vertical scaling (scale-up) increases the resources (CPU, RAM, storage) of an existing instance, often hitting hardware limits and requiring downtime. Option B correctly captures this distinction.
Exam trap
Cisco often tests the common misconception that horizontal scaling means adding resources to a single server (like upgrading RAM), when in fact it means adding more servers to share the load.
How to eliminate wrong answers
Option A is wrong because it reverses the definitions: horizontal scaling adds more servers, not CPU/memory to existing servers, while vertical scaling adds resources to a single server. Option C is wrong because horizontal and vertical scaling apply to all types of workloads (databases, web servers, etc.), not exclusively to one or the other. Option D is wrong because horizontal scaling typically requires no downtime (instances can be added or removed live), while vertical scaling often requires a reboot or downtime to resize the instance.