Deployment for CompTIA Cloud+

This page covers the Deployment 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

    A software engineer needs to transfer data over the internet using programmatic access while also being able to query the data. Which of the following will best help the engineer to complete this task?
    1. A. SQL
    2. B. Web sockets
    3. C. RPC
    4. D. GraphQL
    Explanation

    The correct answer is: D. GraphQL.

    GraphQL lets clients send a single HTTPS request whose body is a typed query selecting exactly the fields they need from the server's schema, so it combines data transport over the internet with a built-in query language that filters and shapes the response. Plain SQL is a database query language and is not designed to be exposed over the public internet by applications; doing so directly is a security antipattern. WebSockets provide a persistent bidirectional channel suited to streaming but do not include a query language for selecting data fields. RPC packages a remote procedure call but exposes only the operations the server has defined, with no general-purpose ability to project or filter the returned dataset on the client's terms, which is exactly the capability that distinguishes GraphQL here.

  2. Question 2

    Which of the following is a difference between a SAN and a NAS?
    1. A. A SAN works only with fiber-based networks.
    2. B. A SAN works with any Ethernet-based network.
    3. C. A NAS uses a faster protocol than a SAN.
    4. D. A NAS uses a slower protocol than a SAN.
    Explanation

    The correct answer is: D. A NAS uses a slower protocol than a SAN..

    A NAS uses file-level protocols such as NFS and SMB layered over standard TCP/IP, so every I/O incurs filesystem and IP-stack overhead and shares contention on the general-purpose network, which makes it slower per operation than a SAN. A SAN uses block-level protocols, classically Fibre Channel or iSCSI, often on a dedicated low-latency fabric, presenting raw LUNs directly to hosts with very little stack overhead. A SAN is not restricted to fiber; iSCSI and FCoE run over Ethernet, so the claim that SANs only work on fiber networks is wrong, and so is the symmetric claim that a SAN works with any Ethernet network unconditionally. The claim that a NAS uses a faster protocol than a SAN inverts reality; in practice block storage at the SAN layer is faster than file storage at the NAS layer.

  3. Question 3

    Which of the following container storage types loses data after a restart?
    1. A. Object
    2. B. Persistent volume
    3. C. Ephemeral
    4. D. Block
    Explanation

    The correct answer is: C. Ephemeral.

    Ephemeral container storage lives inside the container's writable layer and is bound to the container's lifecycle, so any data written there is destroyed the moment the container is removed or restarted from its immutable image. Object storage is an external, durable service such as S3 or Blob Storage where data persists independently of any compute; it survives container restarts indefinitely. A persistent volume is a Kubernetes or orchestrator construct that mounts external block or file storage into the pod and explicitly outlives the container, which is the exact opposite of the requested behavior. Block storage refers to durable raw volumes (EBS, Managed Disks) attached to a host or pod and is also persistent across restarts. Only the container's own ephemeral layer loses its contents on restart.

  4. Question 4

    A cloud engineer needs to integrate a new payment processor with an existing e-commerce website. Which of the following technologies is the best fit for this integration?
    1. A. RPC over SSL
    2. B. Transactional SQL
    3. C. REST API over HTTPS
    4. D. Secure web socket
    Explanation

    The correct answer is: C. REST API over HTTPS.

    Payment processors universally expose REST APIs over HTTPS because REST is stateless, language-agnostic, easy to call from any web framework, and HTTPS provides the TLS encryption required to protect card data in transit and satisfy PCI DSS requirements. RPC over SSL (for example gRPC) is technically possible but rarely offered by payment processors, since it requires shared proto definitions and is harder for a typical e-commerce stack to consume than HTTP/JSON. Transactional SQL would expose the processor's database directly, which is unthinkable for a third-party integration. Secure WebSockets create a persistent bidirectional channel that is overkill and unusual for the request/response, idempotent nature of a payment authorization or capture, so it is not the natural integration model.

  5. Question 5

    A cloud developer is creating a static website that customers will be accessing globally. Which of the following services will help reduce latency?
    1. A. VPC
    2. B. Application load balancer
    3. C. CDN
    4. D. API gateway
    Explanation

    The correct answer is: C. CDN.

    A content delivery network caches static website assets at edge points of presence around the world, so a user in Asia loads HTML, CSS, JavaScript, and images from a nearby edge instead of crossing oceans to the origin, drastically reducing latency. A VPC is a network isolation construct inside one cloud region and does nothing to bring content closer to global users. An application load balancer distributes traffic across backends but resides in a single region and offers no geographic acceleration on its own. An API gateway terminates and routes API calls and can sit in front of dynamic backends; it is not a global edge cache for static content. For a static site delivered worldwide, a CDN is the textbook latency-reduction layer.

Other CompTIA Cloud+ domains

Practice all 46 Deployment questions · Browse CompTIA Cloud+