Cloud Architecture for CompTIA Cloud+

This page covers the Cloud Architecture domain of the CompTIA Cloud+ certification. Master Cybersecurity offers 46 practice questions in this domain, drawn from the same content we use across our timed exam simulations. Below are five sample questions with full answer explanations.

Sample Practice Questions

  1. Question 1

    Which of the following is a field of computer science that enables computers to identify and understand objects and people in images and videos?
    1. A. Image reconstruction
    2. B. Facial recognition
    3. C. Natural language processing
    4. D. Computer vision
    Explanation

    The correct answer is: D. Computer vision.

    Computer vision is the field of computer science and artificial intelligence that enables machines to identify, classify, and interpret objects, scenes, and people from images and video frames. It encompasses techniques such as convolutional neural networks for image classification, object detection, segmentation, and pose estimation. Facial recognition is a narrow application of computer vision focused on matching face features to identities; it is a subset, not the umbrella field. Image reconstruction is a signal-processing technique that rebuilds a degraded or undersampled image (for example from CT or MRI data) and is not about identifying the contents of a scene. Natural language processing deals with understanding and generating human language in text or speech, not with visual content.

  2. Question 2

    A company needs to deploy its own code directly in the cloud without provisioning additional infrastructure. Which of the following is the best cloud service model for the company to use?
    1. A. PaaS
    2. B. SaaS
    3. C. IaaS
    4. D. XaaS
    Explanation

    The correct answer is: A. PaaS.

    PaaS gives the customer a managed runtime, libraries, and scaling infrastructure where source code is deployed directly without provisioning servers, networks, or operating systems. Examples include Azure App Service, Google App Engine, and AWS Elastic Beanstalk: the developer pushes code and the platform takes care of everything below the application layer. SaaS delivers a finished application (such as Salesforce); there is no place to deploy custom code. IaaS would require the customer to provision and operate virtual machines, networking, and storage themselves, which violates the "no additional infrastructure" requirement. XaaS is a catch-all marketing term covering any "as a service" offering and is not a specific model that satisfies the requirement. PaaS is the precise fit for deploying custom code with no infrastructure to manage.

  3. Question 3

    A government agency in the public sector is considering a migration from on premises to the cloud. Which of the following are the most important considerations for this cloud migration? (Choose two.)
    1. A. Compliance
    2. B. IaaS vs. SaaS
    3. C. Firewall capabilities
    4. D. Regulatory
    5. E. Implementation timeline
    6. F. Service availability
    Explanation

    The correct answers are: A. Compliance, D. Regulatory.

    Public-sector agencies operate under strict legal and policy frameworks such as FedRAMP, FISMA, ITAR, CJIS, and regional government cloud requirements, so the migration must be evaluated first against compliance (certifications the provider holds and the data classes allowed) and regulatory obligations (statutory mandates including data residency and audit). Failing either of these can block the entire migration regardless of how attractive the technical solution is. IaaS versus SaaS is a service-model decision that follows once compliance constraints are known. Firewall capabilities are a single security control, important but narrower than the broader compliance and regulatory framework. Implementation timeline is a project-management concern. Service availability matters operationally but does not gate the migration the way mandatory federal regulations do.

  4. Question 4

    A company wants to optimize cloud resources and lower the overhead caused by managing multiple operating systems. Which of the following compute resources would be best to help to achieve this goal?
    1. A. VM
    2. B. Containers
    3. C. Remote desktops
    4. D. Bare-metal servers
    Explanation

    The correct answer is: B. Containers.

    Containers package an application together with its libraries and dependencies but share the host's operating system kernel, so dozens or hundreds of containers can run on a single OS rather than each requiring its own. That sharply reduces the number of operating systems to patch, license, and monitor, optimizing both resource utilization and operational overhead. Virtual machines each run a full guest OS, which is exactly the overhead the company wants to eliminate. Remote desktops are end-user access endpoints to existing operating systems, not a backend compute optimization. Bare-metal servers expose physical hardware to one OS and offer no consolidation; in fact, they typically increase OS management burden because each box is a discrete install. Containers are the consolidation answer.

  5. Question 5

    Which of the following migration types is best to use when migrating a highly available application, which is normally hosted on a local VM cluster, for usage with an external user population?
    1. A. Cloud to on-premises
    2. B. Cloud to cloud
    3. C. On-premises to cloud
    4. D. On-premises to on-premises
    Explanation

    The correct answer is: C. On-premises to cloud.

    The application currently runs on a local VM cluster and now needs to serve external users with high availability; moving it from the in-house environment to a cloud provider is an on-premises to cloud migration. Public cloud regions offer multi-AZ deployments, managed load balancing, and global edge networks that make high availability for an external user base easier than maintaining redundant on-premises data centers. Cloud to on-premises is the reverse (sometimes called repatriation) and would reduce, not improve, external availability. Cloud to cloud is a portability exercise between two providers and does not match the stated starting point of a local VM cluster. On-premises to on-premises is simply moving between in-house data centers and does not deliver the cloud-scale availability needed for a wide external audience.

Other CompTIA Cloud+ domains

Practice all 46 Cloud Architecture questions · Browse CompTIA Cloud+