Exam Information
Free practice questions with explanations
The SecOps Group CNSP Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 12
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice TCP/IP (Protocols and Networking Basics)
A security analyst at a mid-sized firm is reviewing a segment where a workstation at 10.20.5.34/24 cannot reach a server at 10.20.6.18/24. The default gateway for the workstation is 10.20.5.1. Ping to the gateway succeeds, but traffic to the server times out. The server's gateway is 10.20.6.1 and it responds to pings from its own subnet. The network team confirms the router interface for 10.20.5.0/24 is up and no ACL is applied on it. The change window is tonight and the firm cannot reboot the router. Which action should the analyst take FIRST to isolate the fault with the least disruption?
Correct Answer: BExplanationThe gateway answers but cross-subnet traffic fails, which points at routing between the two connected networks rather than host filtering. Checking the router's routing table for the 10.20.6.0/24 connected route, and confirming both interfaces sit in the intended subnets, is non-disruptive and isolates the fault. Reassigning the workstation address changes the problem rather than diagnosing it, and disabling the server firewall is an unnecessary security reduction. Moving switch ports affects Layer 2 broadcast domains, which does not explain a Layer 3 routing failure that already reached the gateway.
-
2 Question 2 Single choice Cryptography
A financial services company must exchange sensitive files with a partner over an untrusted network. The partner's systems support only a legacy stack, and the company's compliance policy requires that compromise of a long-term private key must not expose previously recorded session traffic. Budget constraints mean no hardware security modules can be purchased. The security team is choosing the key agreement approach for the file-exchange service. Which approach BEST satisfies these requirements?
Correct Answer: DExplanationEphemeral Diffie-Hellman generates a fresh key pair per session, so the session keys are not derivable from any long-term private key, which provides forward secrecy as the policy demands. RSA key transport protects the session key only under the long-term key, so recording traffic and later compromising that key exposes past sessions. Static Diffie-Hellman reuses the same long-term secret, failing the same requirement. A pre-shared key rotated annually gives no per-session secrecy and leaves past traffic exposed to any key that is later obtained.
-
3 Question 3 Single choice Linux and Windows Security Basics
A SecOps team is hardening a fleet of Windows Server 2019 hosts that run an internal line-of-business application. An audit found that the application's service account is a member of the local Administrators group. The application needs to read and write files under D:\AppData and to bind to a TCP port above 1024. The team must comply with least privilege and cannot change the application code. Which configuration change is the BEST next step?
Correct Answer: BExplanationGranting NTFS Modify on the specific data folder gives the account exactly the file access it requires, and binding to a non-privileged port above 1024 needs no administrative rights, so removing Administrators meets least privilege without code changes. Denying interactive logon leaves the excessive privilege in place, which is the audit finding. Backup Operators grants read and write across the whole volume, far beyond the folder needed. Power Users is a legacy group that is not designed for service accounts and still grants broader rights than the application needs.
-
4 Question 4 Single choice Network Scanning & Fingerprinting
A penetration tester has been authorised to assess a production subnet of 172.16.40.0/24 for exposed services. The client has asked that the scan not trigger the intrusion detection system's SYN-flood rule, which alerts when more than 200 half-open connections are seen per source per second. The client also needs service version information for the findings report. The scan must complete within a two-hour window and the tester is using Nmap. Which command BEST meets these requirements?
Correct Answer: BExplanationThe TCP connect scan with a capped rate of 150 packets per second stays under the 200-per-second half-open threshold while still permitting version detection, and restricting ports to 1-1024 keeps the scan within two hours across 256 hosts. The SYN scan at full aggressiveness in the first option floods the detector and scans all 65535 ports, which is too slow for the window and too noisy. The UDP scan over all ports is far too slow for the window. The NULL scan cannot reliably identify open ports on Windows hosts and the broad port range again breaks the time window.
-
5 Question 5 Single choice Active Directory Security Basics
An internal audit of a corporate Active Directory domain found that a helpdesk group has the Reset Password extended right granted at the domain root, which is inherited by every user object. The domain also contains a small Tier 0 group of domain administrators whose accounts must never be modified by helpdesk staff. The helpdesk must continue to reset passwords for standard user accounts in the Sales and Support OUs. The change must not break inheritance for the rest of the domain. Which action BEST resolves the finding?
Correct Answer: AExplanationMoving the delegated permission from the domain root down to the Sales and Support OUs narrows the scope to the standard accounts the helpdesk needs, and because AdminSDHolder-protected Tier 0 accounts are excluded from ordinary inherited delegation, they remain protected. Blocking inheritance across the domain would break permissions for unrelated objects and is disproportionate. Account Operators membership is a separate built-in group and does not address the root-level delegation. Adding the helpdesk to Domain Admins expands privilege, which is the opposite of the remediation required.
-
6 Question 6 Multiple choice Basic Malware Analysis
A SOC analyst is triaging a suspicious executable found on a file share. The organisation's analysis lab is an isolated virtual network with no route to production, and the analyst must avoid executing the sample on any host with network access. Which TWO actions are appropriate for the initial static and dynamic analysis of the sample? (Choose two.)
Correct Answer: A, EExplanationHashing the file and checking it against intelligence sources is a safe static step that requires no execution, and reviewing the PE header and imported APIs reveals capabilities such as network or process injection calls without running the code. Running the sample on a production host violates the isolation constraint. Opening a binary in a word processor is not a meaningful analysis step and risks macro or exploit execution. Double-clicking on a workstation with network access is unsafe even with a snapshot, because the constraint requires isolation before execution.
-
7 Question 7 Multiple choice Common vulnerabilities affecting Windows Services
A security engineer audits a Windows Server 2016 host and finds several third-party services configured to run as LocalSystem. The services are installed in C:\Program Files\Vendor Suite\ and their binary paths include unquoted spaces. The engineer must reduce the risk of local privilege escalation without removing the services. Which THREE actions address these weaknesses? (Choose three.)
Correct Answer: A, D, EExplanationQuoting the binary path stops Windows from probing intermediate path segments such as C:\Program.exe, which closes the unquoted service path vulnerability. Running the service under a dedicated low-privilege account limits the impact of any compromise, and restricting write access to the install path prevents planted binaries from being executed. Granting Users Full Control creates a new write path into the folder and worsens the risk. Changing the startup type does not reduce privilege or fix the path parsing flaw.
-
8 Question 8 Drag and drop Network Discovery Protocols
A network engineer is documenting how discovery protocols reveal topology on a campus network. Match each protocol to the information it advertises between directly connected devices. Choose the correct mapping. Drag each item onto its matching target.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
LLDPCDPARPIP-to-MAC address mappings for hosts on the local segmentCisco-proprietary neighbour device ID, platform and software versionLayer 2 neighbour identity and capabilities in an IEEE standard formatCorrect Answer:- CDP → Cisco-proprietary neighbour device ID, platform and software version
- LLDP → Layer 2 neighbour identity and capabilities in an IEEE standard format
- ARP → IP-to-MAC address mappings for hosts on the local segment
ExplanationCDP is Cisco-proprietary and advertises the neighbour's device ID, platform and software version, so it maps to Y. LLDP is the IEEE 802.1AB standard and carries system capabilities and neighbour identity in a vendor-neutral format, mapping to X. ARP resolves IP addresses to MAC addresses on the local segment, which is Z. The other mappings swap CDP and LLDP or assign ARP to a neighbour-advertising role it does not perform.
-
9 Question 9 Order list TLS Security Basics
A web team is configuring a public HTTPS endpoint and must verify it correctly before go-live. Place the following steps in the correct order for deploying a certificate and validating the TLS configuration. Choose the correct sequence. Drag the steps into the correct order.
Drag the steps into the correct order, or use the arrows.
- Obtain the certificate from the certificate authority after domain validation
- Install the signed certificate and its full intermediate chain on the server
- Restrict the server to TLS 1.2 and TLS 1.3 and disable SSL 3.0 and TLS 1.0
- Generate a private key and a certificate signing request with the correct subject alternative names
Correct Answer:- Generate a private key and a certificate signing request with the correct subject alternative names
- Obtain the certificate from the certificate authority after domain validation
- Install the signed certificate and its full intermediate chain on the server
- Restrict the server to TLS 1.2 and TLS 1.3 and disable SSL 3.0 and TLS 1.0
ExplanationThe key pair and CSR must be created first, since the certificate authority signs a request that carries the subject alternative names. Only after the CA issues the certificate, following domain validation, can the signed certificate and chain be installed. Protocol version restrictions are then applied to the live server, and the configuration is validated afterwards. Requesting the certificate before generating the CSR is impossible, and installing before restricting protocol versions would leave the endpoint serving weak protocols during the change.
-
10 Question 10 Dropdown Password Storage
Choose the correct value for each blank.
Choose the correct value for each blank.
A developer is migrating a legacy login service that currently stores passwords as unsalted MD5 digests. The new design must resist offline brute-force attacks and be tuned to a cost that takes at least 250 ms per verification on the current hardware. The team will use bcrypt with a work factor of and will generate a unique random salt per user, which bcrypt stores automatically as part of the hash, rather than using a single global salt. For existing accounts, the service must the old digests on the next successful login.Correct Answer:A developer is migrating a legacy login service that currently stores passwords as unsalted MD5 digests. The new design must resist offline brute-force attacks and be tuned to a cost that takes at least 250 ms per verification on the current hardware. The team will use bcrypt with a work factor of 12 and will generate a unique random salt per user, which bcrypt stores automatically as part of the hash, rather than using a single global salt. For existing accounts, the service must rehash to bcrypt the old digests on the next successful login.
ExplanationBcrypt with a work factor of 12 is a current recommended cost for resisting offline cracking and typically lands in the hundreds of milliseconds range, and bcrypt embeds a per-hash salt automatically, so a global salt is unnecessary. Migrating existing accounts by rehashing to bcrypt on the next successful login is the standard transparent upgrade path, because the plaintext is only available at that moment. A work factor of 4 is far too weak and retaining MD5 defeats the purpose. A work factor of 1 is trivially fast, and a global salt does not provide the per-user protection the design calls for.
-
11 Question 11 Single choice Testing Web Servers and Frameworks
A web application runs on a Linux server behind a reverse proxy. The security team sees that the application returns verbose framework stack traces when an unexpected input triggers an exception, and the server banner reveals the exact web server version. The organisation's policy forbids disclosure of implementation details to unauthenticated users, and the fix must not require a code release because the next release is three months away. Which control BEST addresses both findings within the proxy layer?
Correct Answer: CExplanationRewriting upstream error responses at the reverse proxy hides stack traces from unauthenticated users, and stripping or overriding the Server header removes the version banner, both without touching application code. Detection-only WAF mode logs the disclosure but still delivers it to the client. Enabling directory listing increases exposure. Debug mode is the source of verbose traces and worsens the disclosure.
-
12 Question 12 Single choice OSI Layer
A network engineer is troubleshooting a site where a VoIP handset successfully obtains an IP address via DHCP and can reach the local gateway, but calls fail intermittently with one-way audio. Packet captures show the RTP stream arriving at the switch with the correct IP addresses, but the frames are being delivered to only some ports. The switch has no spanning tree issues and the MAC table is stable. The engineer suspects the switch is operating incorrectly for unicast frames on one port. Which OSI layer and device behaviour BEST explains the symptom, and what should the engineer check FIRST?
Correct Answer: DExplanationA switch forwards unicast frames at Layer 2 using its MAC address table, so one-way audio caused by frames reaching only some ports points at a stale or duplicate MAC entry that sends traffic out the wrong interface. Checking the MAC table for the handset address is the logical first step. A missing route would block routed traffic, not intra-subnet forwarding. Physical duplex issues usually produce errors and retransmissions rather than selective delivery to some ports. A transport-layer ACL would typically block the flow entirely rather than cause one-way behaviour.
These are 12 of the 60 questions in the full CNSP pack.
Get All 60 QuestionsGet all 60 questions & answers
Full access options for The SecOps Group CNSP
Self-study
PDF Version
- 60 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 60 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 60 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the CNSP Exam (Certified Network Security Practitioner) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.