CompTIA A+ Core 1 · Domain 4 of 5 · 11% of the exam

CompTIA A+ Core 1 Domain 4: Virtualization and Cloud Computing

24 free practice questions for Virtualization and Cloud Computing in the CompTIA A+ Core 1 (220-1201) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Virtualization and Cloud Computing practice questions

  1. Question 1. Which type of hypervisor runs directly on the server hardware without a host operating system?

    1. A Type 2, or hosted, hypervisor
    2. A container runtime on a desktop OS
    3. An emulator running inside a web browser
    4. A Type 1, or bare-metal, hypervisor
    Show answer

    Answer: D. A Type 1, or bare-metal, hypervisor

    Type 1 hypervisors such as ESXi or Hyper-V Server run on the hardware itself. Type 2 hypervisors such as VirtualBox run as applications on a host OS.

  2. Question 2. A student wants to run a Linux virtual machine on a Windows laptop using a desktop application. Which kind of hypervisor is this?

    1. A Type 1 hypervisor that replaces the host operating system
    2. A Type 2 hypervisor that runs on top of the host operating system
    3. A cloud hypervisor that runs only in a provider's data center
    4. A firmware hypervisor that runs from the laptop's TPM chip
    Show answer

    Answer: B. A Type 2 hypervisor that runs on top of the host operating system

    Client-side tools such as VirtualBox or VMware Workstation are Type 2 (hosted) hypervisors running inside Windows, macOS, or Linux.

  3. Question 3. A security analyst wants to open a suspicious attachment where it cannot harm the main system. Which use of virtualization fits?

    1. A shared network drive that is mapped on every workstation in the office
    2. A domain controller that is cloned to a second physical server
    3. A sandbox virtual machine that is isolated and can be reverted afterwards
    4. A production database that is restored from last night's backup
    Show answer

    Answer: C. A sandbox virtual machine that is isolated and can be reverted afterwards

    Sandboxing runs untrusted code in an isolated VM. A snapshot lets the analyst roll back to a clean state when finished.

  4. Question 4. A developer needs to test an application on several operating system versions without buying extra computers. What is the best solution?

    1. Create a virtual machine for each OS version on one host
    2. Create a separate user account for each OS version on one host
    3. Create a disk partition for each OS version on a USB flash drive
    4. Create a network share for each OS version on the file server
    Show answer

    Answer: A. Create a virtual machine for each OS version on one host

    VMs let several operating systems run side by side on one machine, which is ideal for test and development.

  5. Question 5. A company still needs a program that runs only on an operating system that is no longer supported. How can virtualization help?

    1. Run the old OS in an isolated VM so the program keeps working on new hardware
    2. Run the old OS directly on the newest hardware with no other changes
    3. Run the program on the domain controller so all users can reach it
    4. Run the program from a USB stick plugged into each employee's PC
    Show answer

    Answer: A. Run the old OS in an isolated VM so the program keeps working on new hardware

    Legacy software and OS support is a common reason to virtualize. The old OS runs in a VM, ideally isolated from the network because it is unpatched.

  6. Question 6. What is a key difference between a container and a virtual machine?

    1. VMs share the host OS kernel, while each container runs its own full operating system
    2. Containers share the host OS kernel, while each VM runs its own full operating system
    3. Containers need a Type 1 hypervisor, while VMs run only on desktop computers
    4. VMs start in milliseconds, while containers take several minutes to boot
    Show answer

    Answer: B. Containers share the host OS kernel, while each VM runs its own full operating system

    Containers package an application and its dependencies but share the host kernel, so they are lighter and start faster than VMs, which each include a guest OS.

  7. Question 7. Which virtualization approach delivers a full desktop OS that runs on central servers and is shown on users' thin clients?

    1. Software-defined storage (SDS)
    2. Infrastructure as code (IaC)
    3. Network address translation (NAT)
    4. Virtual desktop infrastructure (VDI)
    Show answer

    Answer: D. Virtual desktop infrastructure (VDI)

    VDI hosts desktops in the data center or cloud and streams them to endpoints, so data stays central and thin clients can be used.

  8. Question 8. A company streams a single application from a server so that it runs on users' PCs without being installed on them. What is this called?

    1. Disk partitioning
    2. Port forwarding
    3. Application virtualization
    4. Driver rollback
    Show answer

    Answer: C. Application virtualization

    Application virtualization runs or streams an app in an isolated layer, so it doesn't need a normal install and can avoid conflicts with other software.

  9. Question 9. A technician sets up several virtual machines on one workstation. What is the most important resource consideration?

    1. The host needs a separate monitor for each VM that is running at the same time
    2. The host needs a separate keyboard for each VM that is running at the same time
    3. The host needs a separate internet line for each VM that is running at the same time
    4. The host needs enough CPU, RAM, and storage for itself plus all the running VMs
    Show answer

    Answer: D. The host needs enough CPU, RAM, and storage for itself plus all the running VMs

    Each running VM uses a share of the host's CPU, memory, and disk. The host must also support hardware virtualization.

  10. Question 10. A VM must be reachable from other computers on the office LAN with its own IP address from the office DHCP server. Which virtual network mode should be used?

    1. NAT networking, which hides the VM behind the host's IP address
    2. Host-only networking, which allows the VM to talk only to the host
    3. Bridged networking, which connects the VM directly to the physical network
    4. Disconnected networking, which removes the VM's virtual network adapter
    Show answer

    Answer: C. Bridged networking, which connects the VM directly to the physical network

    Bridged mode puts the VM's virtual NIC on the physical LAN as a separate host. NAT shares the host's address, and host-only isolates the VM with the host.

  11. Question 11. Why should every virtual machine receive the same security updates and antivirus protection as a physical computer?

    1. A VM's guest OS is just as vulnerable to attacks as an OS installed on hardware
    2. A VM's guest OS cannot run any code unless it is patched every single day
    3. A VM's guest OS shares one license key, so patches must stay identical
    4. A VM's guest OS is never isolated from the host, so it cannot be secured
    Show answer

    Answer: A. A VM's guest OS is just as vulnerable to attacks as an OS installed on hardware

    Guest operating systems face the same threats as physical ones. A compromised VM can also be used to attack the network, or in rare cases the hypervisor.

  12. Question 12. A company rents virtual servers, storage, and networks from a provider and manages the operating systems itself. Which cloud service model is this?

    1. Software as a Service (SaaS)
    2. Infrastructure as a Service (IaaS)
    3. Platform as a Service (PaaS)
    4. Desktop as a Service (DaaS)
    Show answer

    Answer: B. Infrastructure as a Service (IaaS)

    With IaaS the provider supplies compute, storage, and networking, and the customer manages the OS and everything above it.

  13. Question 13. A business uses a web-based email and office suite, and the provider manages everything from the hardware to the application. Which model is this?

    1. Software as a Service (SaaS)
    2. Infrastructure as a Service (IaaS)
    3. Platform as a Service (PaaS)
    4. Network as a Service (NaaS)
    Show answer

    Answer: A. Software as a Service (SaaS)

    SaaS delivers a complete application. The customer just uses it and manages only its own data and users.

  14. Question 14. Developers want to deploy their code without managing servers or operating systems, while still controlling their application. Which model fits?

    1. Software as a Service (SaaS)
    2. Platform as a Service (PaaS)
    3. Infrastructure as a Service (IaaS)
    4. On-premises bare-metal hosting
    Show answer

    Answer: B. Platform as a Service (PaaS)

    PaaS provides a managed runtime platform; developers deploy applications while the provider handles the OS, patching, and scaling of the platform.

  15. Question 15. A company keeps sensitive records in its own data center but uses a public cloud for its website and extra capacity at busy times. Which deployment model is this?

    1. Public cloud
    2. Private cloud
    3. Community cloud
    4. Hybrid cloud
    Show answer

    Answer: D. Hybrid cloud

    A hybrid cloud combines private (on-premises or dedicated) infrastructure with public cloud services, often linked together.

  16. Question 16. Several hospitals with the same regulatory needs share a cloud environment built for them. Which deployment model is this?

    1. Hybrid cloud
    2. Public cloud
    3. Community cloud
    4. Personal cloud
    Show answer

    Answer: C. Community cloud

    A community cloud is shared by organizations with common requirements, such as compliance rules, and is not open to the general public.

  17. Question 17. A retail website automatically adds servers during a holiday sale and removes them when traffic drops. Which cloud characteristic is this?

    1. Multitenancy
    2. High availability
    3. File synchronization
    4. Rapid elasticity
    Show answer

    Answer: D. Rapid elasticity

    Elasticity is the ability to scale resources out and in quickly to match demand, often automatically.

  18. Question 18. A cloud provider bills a customer only for the compute hours and storage actually used each month. Which characteristic does this describe?

    1. Rapid elasticity
    2. Shared resources
    3. Metered utilization
    4. Multitenancy
    Show answer

    Answer: C. Metered utilization

    Metered (measured) service tracks usage, so the customer pays for what is consumed instead of a fixed amount of capacity.

  19. Question 19. Many customers' workloads run on the same physical cloud hardware, but each customer sees only its own data. What is this called?

    1. Ingress filtering
    2. Multitenancy
    3. Rapid elasticity
    4. Data egress
    Show answer

    Answer: B. Multitenancy

    In multitenancy, several tenants share infrastructure while staying logically isolated from each other.

  20. Question 20. A company plans to move large amounts of data out of a public cloud each month. What cost should it check before committing?

    1. Egress charges for data leaving the provider's network
    2. Ingress charges for data entering the provider's network
    3. Licensing charges for the provider's physical server racks
    4. Power charges for the customer's office workstations
    Show answer

    Answer: A. Egress charges for data leaving the provider's network

    Most providers charge little or nothing to upload data (ingress) but charge for data transferred out (egress), which can be expensive at scale.

  21. Question 21. A cloud service runs in several data centers so that it stays online if one site fails. Which characteristic does this provide?

    1. Metered utilization
    2. High availability
    3. Multitenancy
    4. Data ingress
    Show answer

    Answer: B. High availability

    High availability designs remove single points of failure, for example with redundant instances across availability zones, to keep services running.

  22. Question 22. A user edits a document on a laptop, and the change appears on their phone and tablet automatically. Which cloud feature provides this?

    1. Resource pooling
    2. Data egress
    3. File synchronization
    4. Metered billing
    Show answer

    Answer: C. File synchronization

    Cloud file synchronization keeps copies of files up to date on every device linked to the account.

  23. Question 23. What does it mean when a company's cloud resources are described as internal shared resources?

    1. They run on a public provider's hardware and are shared with other companies
    2. They run on each employee's laptop and are shared over Bluetooth links
    3. They run on a single desktop and are shared only with that desktop's user
    4. They run in the company's own private cloud and are shared among its departments
    Show answer

    Answer: D. They run in the company's own private cloud and are shared among its departments

    Internal shared resources are pooled inside the organization's own (private) cloud. External shared resources are pooled at a public cloud provider.

  24. Question 24. A company wants its IT team to stop maintaining physical servers but keep full control of the guest operating systems. Which change best meets this goal?

    1. Move the servers to IaaS virtual machines at a cloud provider
    2. Move the servers to SaaS applications from a cloud provider
    3. Move the servers to USB drives kept in a locked cabinet
    4. Move the servers to employees' personal laptops at home
    Show answer

    Answer: A. Move the servers to IaaS virtual machines at a cloud provider

    IaaS removes the hardware burden while leaving the OS under the customer's control. SaaS would replace the servers' applications entirely.

CompTIA and A+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.