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
-
Question 1. Which type of hypervisor runs directly on the server hardware without a host operating system?
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.
-
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?
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.
-
Question 3. A security analyst wants to open a suspicious attachment where it cannot harm the main system. Which use of virtualization fits?
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.
-
Question 4. A developer needs to test an application on several operating system versions without buying extra computers. What is the best solution?
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.
-
Question 5. A company still needs a program that runs only on an operating system that is no longer supported. How can virtualization help?
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.
-
Question 6. What is a key difference between a container and a virtual machine?
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.
-
Question 7. Which virtualization approach delivers a full desktop OS that runs on central servers and is shown on users' thin clients?
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.
-
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?
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.
-
Question 9. A technician sets up several virtual machines on one workstation. What is the most important resource consideration?
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.
-
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?
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.
-
Question 11. Why should every virtual machine receive the same security updates and antivirus protection as a physical computer?
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.
-
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?
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.
-
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?
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.
-
Question 14. Developers want to deploy their code without managing servers or operating systems, while still controlling their application. Which model fits?
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.
-
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?
Show answer
Answer: D. Hybrid cloud
A hybrid cloud combines private (on-premises or dedicated) infrastructure with public cloud services, often linked together.
-
Question 16. Several hospitals with the same regulatory needs share a cloud environment built for them. Which deployment model is this?
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.
-
Question 17. A retail website automatically adds servers during a holiday sale and removes them when traffic drops. Which cloud characteristic is this?
Show answer
Answer: D. Rapid elasticity
Elasticity is the ability to scale resources out and in quickly to match demand, often automatically.
-
Question 18. A cloud provider bills a customer only for the compute hours and storage actually used each month. Which characteristic does this describe?
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.
-
Question 19. Many customers' workloads run on the same physical cloud hardware, but each customer sees only its own data. What is this called?
Show answer
Answer: B. Multitenancy
In multitenancy, several tenants share infrastructure while staying logically isolated from each other.
-
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?
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.
-
Question 21. A cloud service runs in several data centers so that it stays online if one site fails. Which characteristic does this provide?
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.
-
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?
Show answer
Answer: C. File synchronization
Cloud file synchronization keeps copies of files up to date on every device linked to the account.
-
Question 23. What does it mean when a company's cloud resources are described as internal shared resources?
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.
-
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?
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.