1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. What is the difference between horizontal and vertical…

Added 30 Nov -0001

What is the difference between horizontal and vertical scaling?

  1. Horizontal adds more machines; vertical enlarges one machine Correct answer
  2. Horizontal enlarges one machine; vertical adds more machines
  3. Horizontal only applies to storage; vertical only to CPUs
  4. Horizontal requires downtime; vertical never does

Correct answer

A. Horizontal adds more machines; vertical enlarges one machine

15 views

MCQSEXAM

Explanation

Horizontal scaling, or scale-out, adds more instances behind a load balancer and suits stateless services, while vertical scaling, or scale-up, gives a single server more CPU or RAM and eventually hits a hardware ceiling. Horizontal scaling tolerates instance failure and is the default in cloud-native designs, but it forces the application to externalise session state. Vertical scaling is simpler to operate but usually needs a restart and cannot grow indefinitely.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs