CompTIA certification · Exam CNX-001

CNX-001 Mock Exam Page 3

CompTIA CloudNetX Exam

Free CNX-001 mock exam questions 21–25, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free CNX-001 questions

21–25 of 25 free
Question 21 Choose 1
A company provides an API that runs on the public cloud for its customers. A fixed number of VMs host the APIs. During peak hours, the company notices a spike in usage that results in network communication speeds slowing down for all customers. The management team has decided that access for all customers should be fair and accessible at all times. Which of the following is the most cost-effective way to address this issue?
Show answerHide answer

Correct answer: C Enable throttling on APIs.

Explanation

Explanation:
The core problem is a spike in usage during peak hours that consumes all available network bandwidth, causing performance degradation for all customers. The requirement is to ensure access is "fair and accessible at all times" in the "most cost-effective" way.

Why C is Correct:
Throttling (or rate limiting) is an API management technique that controls how many requests a user can make to an API within a specific time window.

How it fixes the issue:
It directly enforces fairness by preventing any single customer or a small group of customers from consuming a disproportionate share of the bandwidth during peak times. By capping the request rate per customer, the available network capacity is shared equitably, ensuring all customers get a "fair" slice of the bandwidth and the service remains "accessible" for everyone.

Cost:
This is a software or configuration-based solution, often a feature of API gateways or cloud load balancers (e.g., AWS API Gateway, Azure API Management). It requires no new hardware or ongoing compute costs, making it the most cost-effective option

Why the Other Options Are Incorrect or Less Cost-Effective:

A. Use an allow list for customers using APIs:
An allow list (whitelist) restricts API access to only a pre-approved set of customers. This is a security feature to block unauthorized access. It does not manage bandwidth consumption among approved customers. If anything, it would make the problem worse by guaranteeing that the fixed resources are only available to a subset of users, which violates the requirement that access should be for "all customers."

B. Increase the number of VMs running APIs:
This is a scaling solution (scaling out). While adding more VMs would increase total available bandwidth and compute power, it is not the most cost-effective way. It adds significant ongoing compute costs, especially if the VMs are running 24/7 to handle peak loads that only occur for a few hours each day. The requirement for cost-effectiveness makes this a less ideal solution than throttling.

D. Increase the MTU on the VMs:
The Maximum Transmission Unit (MTU) is the largest data packet a network interface can transmit. Increasing it can slightly improve efficiency by reducing protocol overhead per byte of data sent. However, this has a negligible impact on bandwidth congestion caused by excessive API calls. It does not address the root cause of too many requests and does not enforce fairness among customers. It is a low-level network tuning that is irrelevant to this application-layer traffic management problem.

Reference:
Throttling is a core principle of API management and is a standard feature of all major cloud providers' API services. It is a fundamental technique for ensuring quality of service, preventing abuse, and managing capacity fairly, as described in cloud architecture best practices (e.g., AWS Well-Architected Framework, Microsoft Azure Architecture Framework).
Question 22 Choose 1
A company is migrating an application to the cloud for modernization. The engineer needs to provide dependencies between application and database tiers in the environment. Which of the following should the engineer reference in order to best meet this requirement?
Show answerHide answer

Correct answer: B CMDB

Explanation

Explanation:
The requirement is to understand the dependencies between the application and database tiers. This is critical information for a migration, as moving these interconnected components in the wrong order or to incompatible environments can cause the application to fail.

Why B is Correct:
A Configuration Management Database (CMDB) is specifically designed to store this exact type of information. A CMDB is a repository that acts as a data warehouse for IT installations. It holds data relating to a collection of IT assets (often referred to as Configuration Items or CIs), and—most importantly—the relationships and dependencies between them.

In this scenario, the application server and the database server would be stored as CIs in the CMDB. The CMDB would have a documented relationship (e.g., "depends on," "connects to") showing that the application tier requires the database tier to function. This is the best source of truth for such dependencies.

Why the Other Options Are Incorrect:

A. Internal knowledge base article:
While a knowledge base article might contain this information, it is an informal and potentially outdated source. The CMDB is the canonical, structured database intended for this purpose. Relying on a KB article is less reliable than consulting the dedicated system of record (the CMDB).

C. WBS (Work Breakdown Structure):
A WBS is a project management tool used to break down a project into smaller, manageable components and tasks. It defines what work needs to be done, but it does not document the technical dependencies between IT components like an application and its database.

D. Diagram of physical server locations:
A physical diagram shows where servers are located in a rack or data center. Since the company is migrating to the cloud, physical location becomes largely irrelevant. Cloud modernization focuses on logical and functional dependencies, not physical ones. This diagram would not show the functional dependency between an application and its database.

E. SOW (Statement of Work):
An SOW is a formal document that defines the scope, deliverables, timelines, and costs of a project for a vendor or client. It is a business and project management document. It does not contain the technical details about how specific software components interact with each other.

Reference:
The CMDB is a foundational component of the ITIL (Information Technology Infrastructure Library) framework, specifically within the Service Asset and Configuration Management (SACM) process. Its primary purpose is to provide a logical model of the IT infrastructure by recording CIs and their relationships, which is exactly what is needed for a safe and successful migration.
Question 23 Choose 1
Throughout the day, a sales team experiences videoconference performance issues when the accounting department runs reports. Which of the following is the best solution?
Show answerHide answer

Correct answer: C Configuring QoS on the corporate network switches

Explanation

Explanation:
The problem is a classic case of network congestion. The accounting department's reports consume a large amount of bandwidth, which directly impacts the performance of real-time, sensitive applications like videoconferencing. This causes jitter, latency, and packet loss, leading to poor video and audio quality.

Why C is Correct:
Quality of Service (QoS) is the precise tool designed for this scenario. Configuring QoS on network switches allows you to prioritize certain types of traffic over others.

How it fixes the issue:
The network administrator can create policies that identify videoconference traffic (e.g., traffic from Zoom, Teams, Webex) and assign it a higher priority than bulk data transfer traffic (like accounting reports). When the network link becomes congested, the switches will prioritize the video packets, ensuring smooth performance for the sales team, while the accounting reports simply take longer to complete. This directly addresses the conflict without stopping any business function.

Why the Other Options Are Incorrect or Less Ideal:

A. Running the accounting department's reports outside of business hours:
This is a workaround, not a technical solution. It imposes a scheduling burden on the accounting department and may not be feasible if reports are needed during the day for business decisions. It doesn't solve the underlying network capacity management issue.

B. Using a load balancer to split the video traffic evenly:
A load balancer distributes traffic across multiple servers or paths to prevent any single resource from being overwhelmed. However, in this case, the bottleneck is the network bandwidth itself, not the servers handling the video. A load balancer cannot create more bandwidth on a congested network link; it would just distribute the congested traffic. It is the wrong tool for this problem.

D. Increasing the throughput on the network by purchasing high-end switches:
While upgrading network infrastructure (e.g., moving from 1 Gbps to 10 Gbps switches) would provide more bandwidth and could alleviate the congestion, it is the most expensive and brute-force solution. It requires capital expenditure for new hardware. QoS is a cost-effective configuration-based solution that manages the existing bandwidth intelligently, making an expensive upgrade unnecessary.

Reference:
QoS is a fundamental networking concept covered in certifications like CompTIA Network+ and Cisco's CCNA. It is a best practice for managing converged networks that carry both delay-sensitive traffic (like voice and video) and less sensitive traffic (like file transfers and emails).
Question 24 Choose 1
A network engineer needs to implement a cloud-native solution. The solution must allow the recording of network conversation metadata of the host and appliances attached to a VPC. Which of the following will accomplish these goals with the least effort?
Show answerHide answer

Correct answer: A Enabling network flow

Explanation

Explanation:
The requirement is to record network conversation metadata for hosts and appliances within a VPC (Virtual Private Cloud). "Conversation metadata" refers to details about network flows—who talked to whom, when, how much data was sent, and which protocol was used—without capturing the actual content of the communication.

Why A is Correct:
Network flow logging (e.g., VPC Flow Logs in AWS, VNet Flow Logs in Azure, VPC Flow Logs in Google Cloud) is the native cloud service designed explicitly for this purpose.

It records metadata:
Flow logs capture the source and destination IP addresses, ports, protocol, number of packets/bytes, and the action (accept/reject) for each network flow.

It is cloud-native and requires the least effort:
Enabling VPC Flow Logs is a simple configuration toggle within the cloud console or a single CLI command. The cloud provider automatically collects and delivers the logs to a destination like CloudWatch Logs (AWS) or Log Analytics (Azure), with no need to deploy or manage additional software on individual hosts. This meets the "least effort" requirement perfectly.

Why the Other Options Are Incorrect:

B. Configuring SNMP traps:
SNMP (Simple Network Management Protocol) traps are used for alerting on specific device events (e.g., high CPU, interface down). They are not designed to provide a comprehensive record of all network conversations and their metadata. SNMP is primarily for device health monitoring, not traffic analysis.

C. Implementing QoS network tagging:
QoS (Quality of Service) tagging (e.g., using DSCP bits in the IP header) is used to mark packets for priority treatment within a network. It is a mechanism for managing bandwidth and latency, not for recording or logging conversation metadata.

D. Installing a cloud monitoring agent:
While cloud monitoring agents (like the AWS SSM Agent or Azure Log Analytics agent) can collect system-level metrics and logs (CPU, memory, application logs), they are not the primary tool for capturing network-level conversation metadata. This approach would require installing and configuring an agent on every single host, which is significantly more effort than simply enabling a VPC-level flow log feature.

Reference:
VPC Flow Logs are a core networking and security feature of all major cloud platforms:

AWS: VPC Flow Logs documentation

Azure: NSG Flow Logs documentation

Google Cloud: VPC Flow Logs documentation

This capability is essential for security monitoring (threat detection), network troubleshooting, and compliance auditing, as recommended by cloud security best practices (e.g., the CIS Benchmarks for cloud providers).
Question 25 Choose 1
A company just launched a cloud-based application. Some users are reporting the application will not load. A cloud engineer investigates the issues and reports the following: Not all users are experiencing the issue The application infrastructure is optimal Users experiencing the issue belong to the company's remote sales team Which of the following is most likely misconfigured?
Show answerHide answer

Correct answer: D Geolocation rules

Explanation

Explanation:
The clues provided by the investigation are critical:

Not all users are experiencing the issue:
This rules out a global problem with the application itself or its core infrastructure (which is confirmed to be "optimal").

Users experiencing the issue belong to the company's remote sales team: This identifies the affected group as users connecting from outside the corporate network, likely from various geographic locations.

The application infrastructure is optimal:
This confirms that the servers, load balancers, and database within the cloud environment are functioning correctly.

Why D is Correct:
Geolocation rules are a common feature of cloud firewalls (e.g., AWS WAF, Network ACLs), Content Delivery Networks (CDNs), and load balancers that allow or block traffic based on the geographic source of the IP address.

How it causes the issue:
A misconfiguration here is the most likely culprit. For example, a security policy might have been set up that accidentally blocks traffic from certain countries or regions where the remote sales team is located, while allowing traffic from the company's headquarters region. This would perfectly explain why only the remote sales team cannot access the application, while other users (e.g., at the main office) can.

Why the Other Options Are Incorrect:

A. Application load balancers:
If the load balancers were misconfigured, the issue would likely be widespread, affecting a large portion of users regardless of their location, not just a specific group like the remote sales team. The engineer also stated the infrastructure is "optimal," which includes the load balancers.

B. Ports and protocols:
A misconfiguration of ports or protocols (e.g., blocking HTTPS port 443) would cause a complete outage for everyone trying to access the application, not just a subset of users.

C. IP addressing:
A misconfiguration in IP addressing (e.g., incorrect subnetting, wrong route tables) would typically affect entire networks or subnets, not a logically grouped set of users like "remote sales" who are likely scattered across many different IP networks. It would not neatly target just that one team.

Reference:
Geolocation-based access control is a standard security and traffic management feature in cloud environments. Misconfigurations in these rules are a common cause of issues that affect users from specific regions. This is a well-documented scenario in cloud support forums and troubleshooting guides for services like:

AWS WAF and Security Groups

Azure Firewall and Network Security Groups (NSGs)

Cloudflare Access Rules

That's the last free question

You've seen the free 30% (25 of 84 questions). Full access unlocks every question and full-length CNX-001 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CNX-001 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CNX-001 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CNX-001 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 84questions in the bank
  • Newmock on every attempt