Cloud and Container Basics

A virtual machine costs ¥50 per hour on demand, paying only for the hours used, or ¥262,800 per year with a reservation that commits to a year of use in advance, regardless of the hours used (both made-up prices). With a year taken as 8,760 hours, the reservation becomes cheaper once the hours used in a year exceed a certain number. Which of the following is that number of hours?

  1. A3,504 hours (40% of the year)
  2. B5,256 hours (60% of the year)
  3. C8,760 hours (100% of the year)
Show answer and explanation

Answer: B. 5,256 hours (60% of the year)

The reservation costs ¥262,800 regardless of the hours used, and on demand costs ¥50 × hours used, so the two are equal at 262,800 ÷ 50 = 5,256 hours. This is 5,256 ÷ 8,760 = 60%, so if the machine is used for more than 60% of the year, the reservation is cheaper. Converted to an hourly rate, the reservation is 262,800 ÷ 8,760 = ¥30, which is 40% cheaper than on demand. A common approach is to reserve servers that always run and use on demand for the extra capacity added to match the load.

  • A. This confuses the reservation's discount rate (¥30 is 40% cheaper than ¥50) with the share of hours used.
  • B. Correct. 262,800 ÷ 50 = 5,256 hours, 60% of the year.
  • C. The reservation does not need year-round use to pay off. Above 5,256 hours, the reservation is cheaper.
Practice this topic Back to topic

Books on Cloud and Container Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Cloud and Container Basics questions

  1. Which of the following generally applies to how many public clouds charge for data transfer?
  2. An environment was created by applying, with a declarative IaC (Infrastructure as Code) tool, a file that defines a network and two virtual machines. Immediately afterwards, the same file is applied again without any changes. Which of the following is what happens?
  3. Which of the following is an appropriate way to update the software on production servers in line with the idea of immutable infrastructure?
  4. Two environments with the same configuration as production are prepared; the current version keeps running in one while the new version is installed and checked in the other, and then the load balancer is switched over to it all at once. If there is a problem, switching back quickly returns to the old version. Which of the following is this release method?
  5. A service that receives 12,000 requests per hour performs a canary release of a new version, sending only 5% of the requests to it. The new version has a bug that makes 3% of the requests it receives fail; it is noticed after one hour, and all requests are returned to the old version. Which of the following is the number of requests that failed because of the bug during that hour?