Free practice · No sign-up required

CNX-001 CompTIA CloudNetX free practice test

20 questions with answer explanations. Choose an answer below to begin.

Question 1 of 20

A company requires that sensitive customer data remain stored on-premises due to regulatory mandates, but it wants to leverage cloud resources for compute-intensive analytics during peak periods. Which cloud deployment model best meets this requirement?

Show hint

Compare and contrast cloud deployment models

0/20 answered · Bookmark questions to review later. Focus the practice area to use keys 1–9 and Enter.

Learn by doing

Put your answers into practice

Use official documentation and hands-on labs to work through topics you missed.

Explore all study resources →

All questions and explanations

Prefer to read at your own pace? Work through each question below, then open its answer to check your reasoning. You can link directly to a question or print this reference.

  1. A company requires that sensitive customer data remain stored on-premises due to regulatory mandates, but it wants to leverage cloud resources for compute-intensive analytics during peak periods. Which cloud deployment model best meets this requirement?

    1. Hybrid cloud

    2. Public cloud

    3. Private cloud

    4. Community cloud

    Show answer and explanation

    Correct answer

    • Hybrid cloud

    Hybrid cloud combines on-premises infrastructure with public cloud resources, allowing sensitive data to stay on-prem while bursting compute to the cloud. Public cloud would move all data off-prem. Private cloud is on-prem but lacks public cloud elasticity. Community cloud serves a group with shared concerns, not hybrid requirements.

  2. A cloud architect needs to logically isolate network segments within a single cloud region to separate development, testing, and production environments. Each segment must be isolated at Layer 3. Which technology is most appropriate?

    1. VLANs configured on physical switches

    2. Virtual Private Cloud (VPC) with separate subnets

    3. Software-defined WAN (SD-WAN)

    4. Application-level firewall rules

    Show answer and explanation

    Correct answer

    • Virtual Private Cloud (VPC) with separate subnets

    A VPC provides Layer 3 isolation via virtual networks and subnets, ideal for separating environments within a region. VLANs (Layer 2) are less flexible in cloud. SD-WAN connects sites, not internal segments. Firewall rules are for traffic filtering, not network segmentation.

  3. A web application experiences varying user session lengths. The load balancer must evenly distribute requests but avoid sending new connections to heavily loaded servers. Which load balancing algorithm is best suited?

    1. Round robin

    2. Source IP hash

    3. Least connections

    4. Weighted round robin

    Show answer and explanation

    Correct answer

    • Least connections

    Least connections sends new requests to the server with the fewest active connections, ideal for variable session lengths. Round robin ignores server load. Source IP hash causes stickiness, not balance. Weighted round robin assigns weights but still doesn't adapt to current load.

  4. A network administrator notices that traffic between two cloud VMs is unexpectedly slow. The VMs are in the same VPC but different subnets. The administrator suspects the control plane is causing delay. In a software-defined networking (SDN) architecture, which component is responsible for making forwarding decisions?

    1. Data plane

    2. Management plane

    3. Application plane

    4. Control plane

    Show answer and explanation

    Correct answer

    • Control plane

    The control plane makes forwarding decisions and communicates them to the data plane. If the control plane is slow, it can affect route convergence. Data plane forwards packets based on those decisions. Management plane handles monitoring. Application plane is not standard in SDN.

  5. An organization wants to allow inbound HTTP traffic to its web servers from the internet but block all unsolicited inbound traffic. The cloud firewall must inspect the state of connections. Which type of firewall rule should be used?

    1. Stateful firewall rule

    2. Stateless firewall rule

    3. Packet filtering rule

    4. Proxy-based rule

    Show answer and explanation

    Correct answer

    • Stateful firewall rule

    Stateful firewalls track connection states, allowing return traffic for established connections and blocking unsolicited. Stateless rules treat each packet independently. Packet filtering is stateless. Proxy-based rules operate at application layer.

  6. Remote employees need to securely access internal corporate applications from their browsers without installing client software. Which VPN technology is most appropriate?

    1. IPsec VPN

    2. SSL/TLS VPN

    3. Site-to-site VPN

    4. MPLS VPN

    Show answer and explanation

    Correct answer

    • SSL/TLS VPN

    SSL/TLS VPN provides clientless access via web browser, ideal for remote users. IPsec VPN requires client software. Site-to-site connects networks, not individuals. MPLS is a private WAN technology.

  7. A data analytics team needs to store large unstructured datasets and access them with high throughput for parallel processing. Which cloud storage type is most suitable?

    1. Object storage

    2. File storage

    3. Block storage

    4. Archive storage

    Show answer and explanation

    Correct answer

    • Block storage

    Block storage provides low-latency, high-throughput access suited for analytics workloads. Object storage is for unstructured data but with higher latency for frequent updates. File storage is good for shared files but not optimal for high throughput parallel access. Archive storage is for cold data.

  8. An organization has internal applications that must resolve custom domain names (e.g., app.internal.company.com) within its cloud VPC. These names must not be publicly resolvable. Which DNS solution should be used?

    1. Public hosted zone on a third-party DNS

    2. Conditional forwarder to on-premises DNS

    3. Static hosts file on each instance

    4. Private hosted zone in the cloud DNS service

    Show answer and explanation

    Correct answer

    • Private hosted zone in the cloud DNS service

    A private hosted zone allows custom domain resolution within the VPC without public exposure. Public hosted zones make records accessible to the internet. Conditional forwarders and hosts files are less scalable and not cloud-native.

  9. A critical application requires minimal data loss, with a recovery point objective (RPO) near zero. The application runs on two VMs in different availability zones. Which high availability configuration is best?

    1. Active-passive with data replication

    2. Active-active with load balancing

    3. Cold standby

    4. Pilot light

    Show answer and explanation

    Correct answer

    • Active-passive with data replication

    Active-passive with synchronous data replication can achieve near-zero RPO because changes are mirrored immediately. Active-active offers high availability but with potential latency in data consistency. Cold standby has high RPO. Pilot light also has higher RPO.

  10. Question 10

    Link to question

    A company has a hybrid cloud setup with a Direct Connect circuit and a VPN backup. The on-premises network advertises routes to the cloud over BGP. During a maintenance window, the network team accidentally advertises a more specific route to a public IP range, causing cloud traffic to be blackholed. What is the most likely cause?

    1. MPLS label mismatch

    2. BGP prefix hijacking via more specific route

    3. VPC route table misconfiguration

    4. Internet gateway failure

    Show answer and explanation

    Correct answer

    • BGP prefix hijacking via more specific route

    Accidentally advertising a more specific BGP route can hijack traffic, causing it to be sent on-prem instead of to the internet (blackhole). MPLS mismatch would affect label switching, not routing. VPC route table is local. Internet gateway failure is unrelated.

  11. Question 11

    Link to question

    A security team wants to implement zero-trust micro-segmentation between application tiers. They need to allow only specific traffic between VMs regardless of subnet membership. Which cloud networking feature is most appropriate?

    1. Network access control lists (NACLs)

    2. Route tables with blackhole routes

    3. Network security groups (NSGs) with application security groups

    4. Virtual private network (VPN)

    Show answer and explanation

    Correct answer

    • Network security groups (NSGs) with application security groups

    NSGs with application security groups enable micro-segmentation by grouping VMs and controlling traffic based on tags, independent of subnets. NACLs work at subnet level, not granular. Route tables direct traffic, not filter. VPN connects networks, not internal segmentation.

  12. Question 12

    Link to question

    A global e-commerce platform experiences high latency for users in remote regions. The content is mostly static product images. Which solution will most effectively reduce latency without rewriting the application?

    1. Deploy compute instances in every region

    2. Implement edge computing with Lambda@Edge

    3. Enable compression on the web server

    4. Use a content delivery network (CDN)

    Show answer and explanation

    Correct answer

    • Use a content delivery network (CDN)

    A CDN caches static content at edge locations, reducing latency for global users. Deploying instances everywhere is costly and overkill. Edge computing (Lambda@Edge) is for dynamic processing. Compression reduces bandwidth but not latency significantly.

  13. Question 13

    Link to question

    A company has multiple AWS accounts, each with its own VPC. They need to enable low-latency, high-bandwidth connectivity between all VPCs while minimizing complexity. Which solution is most appropriate?

    1. Transit gateway

    2. Internet gateway with VPN

    3. VPC peering in a full mesh

    4. AWS Direct Connect

    Show answer and explanation

    Correct answer

    • Transit gateway

    Transit gateway acts as a hub to connect multiple VPCs and on-premises networks, simplifying management. Full mesh VPC peering becomes complex as accounts grow. Internet gateway with VPN adds internet dependency. Direct Connect is for on-prem to cloud.

  14. Question 14

    Link to question

    An administrator needs to assign a custom domain name (e.g., example.internal) to instances in a VPC so that they can automatically register their hostnames. Which DHCP option set configuration is required?

    1. Add a private hosted zone in Route 53

    2. Set the domain-name option to example.internal

    3. Configure a DNS forwarder on each instance

    4. Modify the VPC's default DHCP options set

    Show answer and explanation

    Correct answer

    • Set the domain-name option to example.internal

    DHCP option sets allow specifying domain-name, which instances use to append to hostnames. A private hosted zone is for DNS resolution, not domain assignment. DNS forwarders are for external resolution. Modifying default set may work but custom set is more flexible.

  15. Question 15

    Link to question

    A microservices application running in Kubernetes must restrict traffic between pods so that only the frontend can communicate with the API backend. Which native Kubernetes resource should be used?

    1. Pod security policy

    2. Ingress controller

    3. Network policy

    4. Service mesh sidecar proxy

    Show answer and explanation

    Correct answer

    • Network policy

    Kubernetes Network Policies define ingress and egress rules for pod-to-pod traffic, enabling micro-segmentation. Pod security policy restricts security contexts. Ingress controller handles HTTP routing from outside. Service mesh provides more advanced traffic management but is not native.

  16. Question 16

    Link to question

    Which component provides logically isolated virtual network in the cloud, allowing full control over IP addressing, subnets, and route tables?

    1. Virtual LAN (VLAN)

    2. Virtual Private Network (VPN)

    3. Virtual Routing and Forwarding (VRF)

    4. Virtual Private Cloud (VPC)

    Show answer and explanation

    Correct answer

    • Virtual Private Cloud (VPC)

    A VPC is a cloud-specific construct that provides logical isolation and full control over networking. VLANs operate at Layer 2 and are more limited in cloud. VPN connects networks securely. VRF is a routing technology used in physical routers.

  17. Question 17

    Link to question

    A web server must be accessible from the internet, while a database server should only be reachable from the web server. Which subnet type should each be placed in?

    1. Web server in public subnet; database in private subnet

    2. Web server in private subnet; database in public subnet

    3. Both in public subnet with security groups

    4. Both in private subnet with NAT gateway

    Show answer and explanation

    Correct answer

    • Web server in public subnet; database in private subnet

    Public subnets have direct internet access via internet gateway; private subnets do not. Placing web server in public and database in private follows least privilege. Reverse would expose database. Both in public is insecure. Both in private prevents web server from being publicly accessible without additional components.

  18. Question 18

    Link to question

    Instances in a private subnet need to download software updates from the internet. Which component enables outbound connectivity without allowing inbound traffic?

    1. Internet gateway

    2. NAT gateway

    3. Virtual private gateway

    4. Egress-only internet gateway

    Show answer and explanation

    Correct answer

    • NAT gateway

    A NAT gateway allows instances in private subnets to initiate outbound traffic while blocking inbound from internet. Internet gateway enables both inbound and outbound for public subnets. Virtual private gateway connects to VPN. Egress-only internet gateway is for IPv6 only.

  19. Question 19

    Link to question

    A network engineer wants to analyze traffic patterns between VMs to troubleshoot performance issues. The engineer needs to capture metadata about IP traffic (source, destination, protocol, ports) without sampling. Which cloud monitoring solution is best?

    1. CloudWatch metrics

    2. AWS X-Ray

    3. VPC Flow Logs

    4. CloudTrail

    Show answer and explanation

    Correct answer

    • VPC Flow Logs

    VPC Flow Logs capture metadata about all IP traffic in a VPC, providing full (non-sampled) data for analysis. CloudWatch metrics give aggregate statistics, not per-flow. X-Ray traces application requests. CloudTrail logs API calls, not network traffic.

  20. Question 20

    Link to question

    An organization with a multi-cloud strategy needs to connect its data center to both AWS and Azure with low latency and high bandwidth, avoiding the public internet. Which solution is most suitable?

    1. Site-to-site VPN to each cloud provider

    2. SD-WAN over internet

    3. IPsec VPN to a single provider and then cloud-to-cloud VPN

    4. Direct Connect to AWS and ExpressRoute to Azure

    Show answer and explanation

    Correct answer

    • Direct Connect to AWS and ExpressRoute to Azure

    Direct Connect (AWS) and ExpressRoute (Azure) provide dedicated, private connections from on-premises to each cloud, bypassing the internet. VPNs use public internet. SD-WAN over internet still uses public internet. Cloud-to-cloud VPN adds complexity and latency.

Read all flashcards

Recall the answer before opening each card.

Which cloud model keeps sensitive data on-premises while leveraging cloud for compute bursts?

Hybrid cloud combines on-prem and public cloud, allowing data to stay on-prem while bursting compute to cloud.

What technology provides Layer 3 isolation between network segments within a cloud region?

A VPC with separate subnets provides Layer 3 isolation, ideal for separating dev/test/prod environments.

Which load balancing algorithm sends new requests to the server with fewest active connections?

Least connections algorithm distributes requests to the server with fewest active connections, suitable for variable session lengths.

In SDN, which plane makes forwarding decisions?

The control plane makes forwarding decisions and updates the data plane. A slow control plane can affect route convergence.

What firewall rule type tracks connection state to allow return traffic?

Stateful firewall rules track connection states, allowing return traffic for established connections and blocking unsolicited inbound traffic.

Which VPN technology provides clientless browser-based remote access?

SSL/TLS VPN provides clientless access via web browser, ideal for remote employees without installing client software.

Which storage type offers low-latency high throughput for parallel data analytics?

Block storage provides low-latency, high-throughput access suited for analytics workloads like large unstructured datasets.

How to resolve custom domain names within a VPC without public exposure?

Use a private hosted zone in the cloud DNS service to allow custom domain resolution within VPC without internet access.

Which HA configuration achieves near-zero RPO with data replication?

Active-passive with synchronous data replication can achieve near-zero RPO by mirroring changes immediately to the standby.

What BGP issue occurs when a more specific route is accidentally advertised?

BGP prefix hijacking: a more specific route can divert traffic intended for the internet to on-prem, causing a blackhole.

Which feature enables micro-segmentation between VMs regardless of subnet?

Network security groups with application security groups allow traffic control based on VM tags, enabling independent subnet micro-segmentation.

What is the best solution to reduce latency for static content globally without rewriting the app?

A CDN caches static content at edge locations, reducing latency for global users without application changes.

Which service acts as a hub to connect multiple VPCs and on-premises networks?

Transit gateway acts as a hub for multiple VPCs and on-premises networks, simplifying connectivity as the number of VPCs grows.

Which DHCP option set configuration allows instances to automatically register hostnames with a custom domain?

Set the domain-name option in the DHCP option set to the custom domain (e.g., example.internal) for automatic hostname registration.

Which Kubernetes resource restricts pod-to-pod traffic in a microservices app?

Network Policy defines ingress and egress rules for pod-to-pod traffic, enabling micro-segmentation in Kubernetes.

What provides a logically isolated virtual network with control over IP addressing and routing?

A VPC (Virtual Private Cloud) is a cloud-specific construct that provides logical isolation, IP control, subnets, and route tables.

Where should a web server and database server be placed for security?

Web server in a public subnet (internet accessible); database in a private subnet (only reachable from web server) to follow least privilege.

Which component enables outbound internet from private subnets without allowing inbound?

A NAT gateway allows instances in private subnets to initiate outbound traffic while blocking unsolicited inbound from the internet.

Which cloud monitoring tool captures all IP traffic metadata without sampling?

VPC Flow Logs capture metadata (source, destination, protocol, ports) about all IP traffic in a VPC without sampling.

How to connect on-premises to both AWS and Azure with private dedicated connections?

Use Direct Connect for AWS and ExpressRoute for Azure to provide dedicated private connections bypassing the public internet.

Active recall deck

Practice CNX-001 CompTIA CloudNetX with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Connect the concepts

Your CNX-001 CompTIA CloudNetX study mind map

Open a branch to connect a topic with its practice questions and explanations. Use the map to choose your next review topic.

CNX-001 CompTIA CloudNetX20 questions in this practice set
Compare and contrast cloud deployment models(1)
Explain network segmentation techniques in cloud environments(1)
Describe load balancing concepts and algorithms(1)
Explain software-defined networking architecture(1)
Differentiate cloud firewall types and use cases(1)
Compare VPN technologies for remote access(1)
Select appropriate storage types for cloud workloads(1)
Understand DNS configuration in cloud environments(1)
Design high availability for cloud applications(1)
Troubleshoot BGP routing in hybrid cloud(1)
Implement network security for cloud workloads(1)
Optimize network latency for cloud applications(1)
More practice connections(8)
Exam-focused analysis

What this CNX-001 practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Cloud Deployment Models and Connectivity

This section examines how organizations choose between hybrid, multi-cloud, and dedicated connectivity. The hybrid model allows sensitive data to remain on-premises while bursting compute to the cloud. Proper BGP configuration prevents route hijacking that can blackhole traffic. For multi-cloud strategies, dedicated circuits like Direct Connect and ExpressRoute provide low latency and security. Transit gateways simplify inter-VPC routing across multiple accounts. Understanding these options ensures cost-effective, secure, and performant network design.

  • Hybrid cloud supports data residency and elastic compute during peak periods.
  • Accidental advertisement of more specific BGP routes can hijack traffic (prefix hijacking).
  • Transit gateway acts as a hub for VPC and on-prem connectivity, reducing complexity.
  • Direct Connect (AWS) and ExpressRoute (Azure) provide private, high-bandwidth connections from on-premises.

Network Segmentation and Security

Effective segmentation isolates environments and enforces least privilege. VPCs with separate subnets provide Layer 3 isolation by default. For finer control, network security groups (NSGs) with application security groups allow micro-segmentation independent of subnet boundaries. Stateful firewall rules track connections to permit return traffic while blocking unsolicited inbound. In containerized environments, Kubernetes Network Policies restrict pod-to-pod traffic. Placing web servers in public subnets and databases in private subnets follows security best practices.

  • VPC subnets offer Layer 3 isolation for separating dev, test, and production.
  • NSGs with application security groups enable tag-based micro-segmentation.
  • Stateful firewall rules track connection state; stateless treat each packet independently.
  • Kubernetes Network Policies provide native pod-to-pod traffic control.
  • Public subnets have direct internet access; private subnets require a NAT gateway for outbound.

Load Balancing and Performance Optimization

Load balancing algorithms and content delivery networks (CDNs) are key to performance. For applications with variable session lengths, the least connections algorithm distributes traffic to the server with fewest active connections, avoiding overload. CDNs cache static content at edge locations, dramatically reducing latency for global users without application changes. Storage selection also impacts performance: block storage offers low-latency high throughput for analytics workloads compared to object or file storage.

  • Least connections algorithm adapts to server load, ideal for variable session lengths.
  • CDN caches static content at edge to reduce latency and offload origin servers.
  • Block storage provides high throughput and low latency for parallel processing.
  • Round robin ignores current load; weighted round robin assigns fixed weights.

Cloud Networking Fundamentals and Monitoring

A solid grasp of foundational components is critical. The SDN control plane makes forwarding decisions; a slow control plane can cause delays. DNS resolution within a VPC is achieved via private hosted zones, which are not publicly resolvable. DHCP option sets allow automatic domain assignment to instances. VPC Flow Logs capture metadata about all IP traffic without sampling, enabling detailed traffic analysis. NAT gateways provide outbound internet for private subnets while blocking inbound connections.

  • Control plane in SDN handles forwarding decisions; data plane forwards packets.
  • Private hosted zones allow custom domain resolution within VPC only.
  • DHCP option set domain-name configures hostname suffix for VPC instances.
  • VPC Flow Logs capture full (non-sampled) metadata of IP traffic for analysis.
  • NAT gateway enables outbound internet from private subnets without allowing inbound.

Study workflow

Turn one CNX-001 attempt into a study plan

  1. 1

    Set Up a Hybrid Cloud Network

    Create a dedicated connection (e.g., Direct Connect) from on-premises to your cloud VPC. Configure a VPN as backup. Establish BGP sessions to exchange routes. Use a private hosted zone for internal DNS resolution. Test failover by simulating a circuit outage and verifying traffic flows over the VPN.

  2. 2

    Implement Micro-segmentation with NSGs

    Group application tiers using application security groups (ASGs). Create network security group (NSG) rules that allow traffic only between required ASGs and ports. Apply NSGs to VM network interfaces. Verify connectivity using a tool like VPC Flow Logs to ensure only permitted traffic traverses.

  3. 3

    Configure Load Balancer with Least Connections

    Deploy a load balancer (e.g., Application Load Balancer). Set the routing algorithm to least connections. Register backend instances with health checks enabled. Monitor active connection counts and adjust scaling policies to maintain even distribution during traffic spikes.

  4. 4

    Deploy a CDN for Global Static Content

    Create a CDN distribution (e.g., CloudFront or Azure CDN) with an origin pointing to your web server or storage bucket. Configure caching policies with appropriate TTLs. Update DNS to point to the CDN endpoint. Test from multiple geographic locations to verify latency reduction.

  5. 5

    Enable VPC Flow Logs for Traffic Analysis

    Create a flow log in your VPC, specifying the Destination (S3 bucket or CloudWatch Logs), IAM role, and log format. Enable for all network interfaces or specific subnets. Analyze logs using tools like Athena to identify top talkers, denied traffic, or anomalies. Set alerts for unusual patterns.

FAQ

Questions about this CNX-001 practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the difference between a public and private subnet in a VPC?+

A public subnet has a route to an internet gateway, allowing instances to receive inbound internet traffic. A private subnet lacks that route; instances can only initiate outbound connections via a NAT gateway. Placing sensitive resources in private subnets reduces attack surface.

How does a NAT gateway enable outbound internet from private subnets?+

A NAT gateway resides in a public subnet and has an elastic IP. Private subnet routes direct outbound traffic to the NAT gateway, which forwards it to the internet. The gateway allows return traffic only for initiated connections, blocking unsolicited inbound.

What is the role of the control plane in SDN (Software-Defined Networking)?+

The control plane is the centralized intelligence that makes forwarding decisions and programs the data plane. It separates the decision logic from packet forwarding, enabling dynamic network management. A slow or misconfigured control plane can delay route convergence and affect traffic.

How does least connections load balancing differ from round robin?+

Least connections sends new requests to the server with the fewest active connections, adapting to current load. Round robin cycles through servers sequentially regardless of their load, which can cause uneven distribution during variable session lengths.

What is BGP route hijacking and how can it be prevented?+

BGP route hijacking occurs when a network advertises a more specific prefix than intended, diverting traffic. To prevent it, use prefix filters on BGP peers, implement route validation, and apply maximum prefix limits. Monitoring and alerting on unexpected route announcements helps detect incidents.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.