Cloud and Container Basics

Cloud storage is used for three purposes: (1) attaching it to a virtual machine as a disk, creating a file system and storing database data files; (2) mounting it from several servers at the same time and using it as a shared directory; (3) reading and writing a large number of images by key (name) through an HTTP API and growing the capacity without deciding it in advance. Which of the following is the appropriate combination of storage types for (1) to (3)?

  1. A(1) object storage, (2) block storage, (3) file storage
  2. B(1) file storage, (2) object storage, (3) block storage
  3. C(1) block storage, (2) file storage, (3) object storage
Show answer and explanation

Answer: C. (1) block storage, (2) file storage, (3) object storage

Block storage attaches an area of fixed size to a virtual machine as a virtual disk; a file system is created on it, and it suits uses such as databases that perform many small reads and writes quickly. File storage provides a shared file system that several servers can mount at the same time through NFS, SMB or the like. Object storage reads and writes data as whole objects identified by keys through an HTTP API; its capacity can be grown almost without limit, and it suits images, backups and logs. It is not suited to rewriting part of an object, so database data files are not placed in it.

  • A. Object storage is not suited to fine-grained rewriting as a file system, and block storage is generally not used as a directory shared by several servers.
  • B. Object storage is not suited to a shared directory that is mounted, and block storage is not read and written through an HTTP API.
  • C. Correct. Disks are block storage, sharing is file storage, and large amounts of data handled through an API are object storage.
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. Virtual machines that are charged only for the time used, at ¥40 per hour (a made-up price), are used. Normally 2 machines run throughout the month (30 days), and on 20 weekdays 4 more are added for 6 hours a day to match the load. Which of the following is the charge for the month?
  2. 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?
  3. Which of the following generally applies to how many public clouds charge for data transfer?
  4. 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?
  5. Which of the following is an appropriate way to update the software on production servers in line with the idea of immutable infrastructure?