1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. Which statement correctly contrasts vertical and…

Added 30 Nov -0001

Which statement correctly contrasts vertical and horizontal scaling for a web tier?

  1. Both require application changes, since neither approach affects the instance count or the load balancer configuration at all
  2. Vertical scaling enlarges one instance and often needs a restart, while horizontal scaling adds instances and requires statelessness or load balancing Correct answer
  3. Vertical scaling adds more instances to the tier, while horizontal scaling enlarges the instance type, so the two terms are very often swapped in practice
  4. Horizontal scaling is limited by the largest instance size that the provider offers, so it cannot grow beyond a single machine without sharding

Correct answer

B. Vertical scaling enlarges one instance and often needs a restart, while horizontal scaling adds instances and requires statelessness or load balancing

15 views

MCQSEXAM

Explanation

Scale up versus scale out: vertical scaling changes the machine size, is simple for legacy software but capped by the largest instance and usually needs downtime to resize. Horizontal scaling adds nodes behind a load balancer, giving near-linear capacity and fault tolerance, but demands that sessions and state live outside the instance. Autoscaling groups are the standard mechanism for the horizontal case.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? 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