Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free The SecOps Group Certified Network Security Practitioner CNSP Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 6 Total 60 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: TCP/IP (Protocols and Networking Basics)

Skill tested: Applies subnetting and default-gateway behavior to diagnose IPv4 reachability.

A branch office has been assigned 192.0.2.64/27 for 24 workstations, a printer, and a router interface. The router interface is configured as 192.0.2.94/27, and clients receive addresses from 192.0.2.65 through 192.0.2.88. Clients can communicate with each other but cannot reach remote networks. Their default gateway is configured as 192.0.2.95. The switch and router interface are operational, and no access-control rules block traffic. What is the most likely cause?

Correct Answer: A. The configured gateway is the subnet's broadcast address, not a usable host address.
Explanation:

A /27 subnet contains 32 addresses. For 192.0.2.64/27, the network address is .64, the usable host range is .65-.94, and the broadcast address is .95. The router interface at .94 is usable, but clients cannot use .95 as their gateway because it is the subnet broadcast address. A is incorrect because .95 is in the subnet, though not a host address. A /28 would reduce capacity and would not fix the invalid gateway. IPv4 forwarding does not require an IPv6 gateway.

Question 2

New Single answer

Topic: Network Discovery Protocols

Skill tested: Evaluates how SNMP exposure and community strings affect device discovery security.

A network operations team uses SNMPv2c to discover routers and switches across several internal management subnets. A security review finds that the same read-write community string is configured on every device, and UDP/161 is reachable from user VLANs. The team needs monitoring to continue, but wants to reduce the risk of unauthorized configuration changes and information disclosure. Which change best addresses the immediate design weaknesses without replacing the monitoring platform?

Correct Answer: D. Configure a unique read-only community on each device and restrict SNMP access to the management hosts.
Explanation:

SNMPv2c community strings provide weak, unencrypted access control, so a shared read-write string exposed to user networks creates substantial risk. Unique read-only communities and source restrictions reduce the chance of unauthorized changes and limit information access while preserving polling. A still relies on a weak community mechanism and is more complex without providing strong cryptographic protection. Traps do not replace access controls, and UDP/162 is conventionally used for traps or notifications rather than standard polling; blocking UDP/161 would stop polling.

Question 3

New Multiple answers

Topic: Network Architectures, Mapping and Target Identification

Skill tested: Interprets network topology and address boundaries to identify an appropriate assessment scope.

An assessor is authorized to map a company environment before testing. The approved scope includes the corporate user VLAN 10.44.8.0/23 and the management VLAN 10.44.20.0/24, but excludes a connected production network at 10.44.16.0/20. A routing table shows all three networks as reachable through the same core router. The assessor must identify in-scope live hosts while minimizing the chance of probing excluded systems. Which TWO actions are most appropriate? Select TWO answers.

Correct Answer: B. Validate discovered addresses against the written scope before including them in further testing.; E. Use the approved CIDR ranges as explicit scan targets rather than scanning the entire routed address space.
Explanation:

The written authorization defines the permitted targets; routing reachability does not expand that scope. Using the two approved CIDR ranges limits discovery traffic to authorized networks, and validating results against scope helps prevent accidental follow-on testing of excluded addresses. Scanning the /16 or treating all routed networks as authorized would include many unapproved systems. Even a low-rate probe of the excluded production network is unauthorized reconnaissance unless the scope is explicitly amended.

Question 4

New Single answer

Topic: Network Scanning & Fingerprinting

Skill tested: Interprets TCP scan responses to distinguish open, closed, and filtered ports.

During an authorized assessment, an analyst runs a TCP SYN scan against a server. Port 22 returns SYN/ACK, port 25 returns RST, and port 8443 produces no response after repeated probes. The analyst confirms that packet loss is not occurring and that the scan source is permitted to reach the host. Which interpretation best fits these results?

Correct Answer: A. Port 22 is open, port 25 is closed, and port 8443 is likely filtered or otherwise silently dropped.
Explanation:

In a TCP SYN scan, a SYN/ACK response indicates that a port is listening and is reported as open; an RST indicates a closed port. Repeated silence commonly indicates filtering, packet dropping, or another condition that prevents a definitive response, so 8443 should not be called open or closed from these observations alone. The other interpretations reverse or overstate what the probe responses establish. The conclusion is appropriately cautious about the silent port.

Question 5

New Multiple answers

Topic: Testing Network Services

Skill tested: Selects safe service checks that verify TLS configuration and exposed service behavior.

A security analyst is assessing an Internet-facing mail gateway during a maintenance window. The approved test permits protocol negotiation and configuration checks but prohibits sending test messages, attempting authentication, or stressing the service. The gateway accepts SMTP connections and advertises STARTTLS. The analyst needs to establish whether the negotiated TLS configuration is acceptable and whether the service presents the expected certificate. Which TWO actions best meet the authorization and technical requirements? Select TWO answers.

Correct Answer: D. Use a TLS-aware client to negotiate STARTTLS and inspect the certificate chain, name, and validity.; E. Use a service-testing tool in a non-invasive mode to enumerate supported TLS versions and cipher suites.
Explanation:

A TLS-aware negotiation can verify the certificate presented by the gateway, while a non-invasive configuration check can enumerate supported protocol versions and cipher suites. Both stay within the explicitly permitted scope. Sending large payloads risks service impact, and password guessing is explicitly prohibited. Disabling certificate validation prevents the analyst from assessing whether the certificate chain and identity are trusted, undermining a central requirement of the test.

Question 6

New Single answer

Topic: Cryptography

Skill tested: Chooses cryptographic primitives that provide confidentiality and integrity for stored data.

A small organization stores encrypted backup archives on removable media that may be lost or stolen. The application currently encrypts each archive with AES in CBC mode but stores no authentication tag, and operators have no separate integrity check. The design must detect unauthorized modification as well as protect contents, while keeping implementation straightforward and using a standard symmetric cryptographic approach. Which change is most appropriate?

Correct Answer: C. Use AES-GCM with a unique nonce for each encryption under a given key, and verify the authentication tag before accepting decrypted data.
Explanation:

AES-GCM is an authenticated-encryption mode: it provides confidentiality and integrity, and decryption fails if the authentication tag does not validate. Its nonce must not be reused with the same key. CBC encryption alone does not authenticate ciphertext, and a fixed IV can reveal patterns and weaken security. A hash function is not encryption, while ECB exposes repeated plaintext patterns and provides no integrity protection.

Question 7

New Single answer

Topic: Active Directory Security Basics

Skill tested: Applies least privilege and group-based delegation to control Active Directory administration.

A company's help desk must reset passwords and unlock accounts for users in one regional organizational unit. It must not create users, change group membership, administer servers, or manage accounts in other regions. The current practice is to add help-desk staff to Domain Admins, which the security team is removing. What is the best replacement?

Correct Answer: C. Delegate only password-reset and account-unlock permissions on the regional OU to a dedicated help-desk security group.
Explanation:

Delegating specific permissions on the relevant OU follows least privilege and confines the help desk's authority to the required user accounts and actions. A grants excessive permissions across the directory. Account Operators provides broader, built-in authority than the stated duties require and is not appropriately scoped to the regional OU. Local administrator rights on a domain controller are highly privileged and do not provide a safe, narrowly scoped delegation model.

Question 8

New Multiple answers

Topic: Linux and Windows Security Basics

Skill tested: Selects host-hardening controls that reduce unnecessary services and enforce timely security updates.

A small firm operates a Linux file server and a Windows application server on an internal network. Both systems are in scope for baseline hardening. The file server has several unused network services enabled, while the Windows server is missing security updates; neither change may interrupt business-critical services. Which TWO actions are the best first improvements? Select TWO answers.

Correct Answer: C. Inventory required services, disable or remove unused services, and verify that file-sharing functions still work.; E. Apply relevant Windows security updates through a tested maintenance process with a rollback plan.
Explanation:

Removing unnecessary services reduces attack surface, but the team should first identify business dependencies and verify required file-sharing behavior. The Windows server's missing security updates should be addressed through a controlled maintenance process that accounts for availability and recovery. Disabling firewalls increases exposure and is not necessary to inventory listeners. Unplanned updates can disrupt services, while a shared administrator account weakens accountability and access control.

Question 9

New Single answer

Topic: Common vulnerabilities affecting Windows Services

Skill tested: Diagnoses insecure Windows service permissions and selects a least-privilege remediation.

A Windows application server runs a service under a dedicated non-administrative account. A review finds that the service executable is stored in a directory where ordinary authenticated users have Modify permission. The service starts automatically and is used by a business application. The organization wants to prevent local users from replacing the executable without causing unnecessary downtime. What is the best remediation?

Correct Answer: D. Remove write permissions for ordinary users from the executable and its parent directory, then verify the service account retains only required access.
Explanation:

A modifiable service executable or parent directory can permit an unprivileged user to replace code that will run under the service account. Removing unnecessary write access and checking the service account's required permissions addresses the weakness while preserving the application. Giving users registry control does not secure the executable. LocalSystem would increase the impact of a successful replacement, and permanently disabling a required service disregards the availability constraint.

Question 10

New Single answer

Topic: Testing Web Servers and Frameworks

Skill tested: Uses HTTP response behavior and configuration review to identify web-server information leakage.

A company's public web application is stable, but an assessment finds that error responses disclose a detailed framework version and internal filesystem paths. The team cannot replace the framework during the current release and must preserve useful error reporting for developers without exposing diagnostic details to Internet users. Which action is most appropriate?

Correct Answer: C. Configure generic client-facing error pages, suppress version disclosures where supported, and retain detailed diagnostics in access-controlled server logs.
Explanation:

Generic error responses reduce information disclosure, while restricted server-side logs preserve diagnostic value for authorized developers. Version suppression should be applied where the web server or framework supports it, without claiming that it replaces patching. User-agent strings are controllable and are not a trustworthy way to authorize detailed errors. TLS protects data in transit but does not hide details from the requesting client, and disabling logs removes useful operational evidence.

Question 11

New Multiple answers

Topic: Basic Malware Analysis

Skill tested: Combines isolated static and dynamic analysis to assess a suspicious executable safely.

An analyst receives an unknown Windows executable from an employee who reported a suspicious attachment. The organization requires a preliminary assessment without risking production endpoints or allowing the sample to contact external command-and-control infrastructure. The analyst can use a disposable virtual machine and standard analysis utilities. Which TWO actions are appropriate? Select TWO answers.

Correct Answer: D. Use a disposable, isolated analysis environment with controlled or disabled network access for dynamic observation.; E. Calculate a cryptographic hash and inspect strings and file metadata before execution.
Explanation:

Hashing and static inspection provide initial indicators without executing the file. If dynamic behavior must be observed, a disposable isolated environment limits impact; controlling network access also reduces the chance of contacting external infrastructure. Running the sample on a user workstation or disabling protection on a production server creates unacceptable risk. Publicly sharing a sample may expose sensitive material and does not provide a controlled analysis process.

Question 12

New Single answer

Topic: Social Engineering attacks

Skill tested: Selects an incident-response action that limits harm from a suspected phishing message.

Several employees report an email asking them to sign in to a document portal. The link's domain is a lookalike of the company's identity provider, and one employee says they entered credentials but has not observed unusual activity. The organization has an incident-response process and can revoke active sessions. What should the security analyst do first to reduce immediate account risk while preserving evidence?

Correct Answer: D. Contain the account by resetting credentials and revoking active sessions, then preserve the message and relevant logs for investigation.
Explanation:

Because credentials may already be compromised, prompt containment - credential reset and session revocation - reduces the chance that an attacker can continue using the account. Preserving the email and relevant logs supports investigation and broader detection. Forwarding it to more users increases exposure. Waiting for malware analysis delays account protection, and deleting the message before collecting evidence can destroy useful indicators.

Question 13

New Single answer

Topic: Network Security Tools and Frameworks (such as Nmap, Wireshark etc)

Skill tested: Uses packet-capture analysis to distinguish retransmissions from new TCP connections.

During an authorized Wireshark capture, an analyst sees repeated TCP segments with the same sequence number and payload, followed by an acknowledgment that advances beyond that data. Users report occasional slowness, but the capture shows no new SYN packets associated with those repeated segments. The analyst needs to characterize the observed behavior before recommending a network change. Which interpretation is best?

Correct Answer: C. The repeated segments are likely TCP retransmissions, consistent with loss or delayed acknowledgments, rather than separate new connections.
Explanation:

TCP retransmits unacknowledged data when it detects loss or a timeout, so repeated sequence numbers and payload without new SYN handshakes are consistent with retransmission on an existing connection. An acknowledgment that advances indicates receipt of additional data, not rejection of all prior data. New TCP connections normally involve a handshake rather than simply repeating data segments. UDP does not provide TCP-style retransmission.

Question 14

New Multiple answers

Topic: Open-Source Intelligence Gathering (OSINT)

Skill tested: Uses public DNS and certificate information to identify authorized external assets responsibly.

A security team has written authorization to inventory the organization's public-facing assets before a perimeter review. The company uses several acquired brand names and may have forgotten older subdomains. The team wants to gather leads from public sources while avoiding intrusive probing of systems that have not yet been verified as in scope. Which TWO approaches are appropriate initial OSINT steps? Select TWO answers.

Correct Answer: C. Search public company materials and domain-registration information for candidate domains, then validate each against authorization records.; D. Review public DNS records and certificate-transparency entries for names associated with the organization, then verify ownership and scope.
Explanation:

Public DNS, certificate-transparency data, company materials, and domain-registration information can reveal candidate assets without first performing intrusive tests. Each result must be verified for ownership and authorization before active assessment. Credential attempts and exploitation are not appropriate OSINT discovery steps. A company-like hostname may belong to a third party, and scanning unverified addresses at high rates risks affecting systems outside scope.