Docsity

CompTIA Security+ / Network+: Infrastructure Security Certification Exam Prep 2026, Exams of Cybersecurity

Toggle sidebar
bg1
CompTIA Security+ / Network+: Infrastructure
Security Certification Exam Prep 2026
Q1. Which port is used for SSH?
A) 21
B) 22
C) 23
D) 25
ANSWER: B
Rationale: A) Incorrect, used for FTP. B) Correct, standard port for SSH. C) Incorrect, used for Telnet. D)
Incorrect, used for SMTP.
Q2. Which protocol uses port 53?
A) HTTP
B) HTTPS
C) DNS
D) SNMP
ANSWER: C
Rationale: A) Incorrect, uses port 80. B) Incorrect, uses port 443. C) Correct, standard port for DNS. D)
Incorrect, uses port 161.
Q3. What is the default port for HTTPS?
A) 80
B) 443
C) 8080
D) 8443
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29

Partial preview of the text

Download CompTIA Security+ / Network+: Infrastructure Security Certification Exam Prep 2026 and more Exams Cybersecurity in PDF only on Docsity!

CompTIA Security+ / Network+: Infrastructure

Security Certification Exam Prep 2026

Q1. Which port is used for SSH? A) 21 B) 22 C) 23 D) 25 ANSWER : B Rationale: A) Incorrect, used for FTP. B) Correct, standard port for SSH. C) Incorrect, used for Telnet. D) Incorrect, used for SMTP. Q2. Which protocol uses port 53? A) HTTP B) HTTPS C) DNS D) SNMP ANSWER : C Rationale: A) Incorrect, uses port 80. B) Incorrect, uses port 443. C) Correct, standard port for DNS. D) Incorrect, uses port 161. Q3. What is the default port for HTTPS? A) 80 B) 443 C) 8080 D) 8443

ANSWER : B

Rationale: A) Incorrect, used for HTTP. B) Correct, standard for HTTPS. C) Incorrect, alternative HTTP. D) Incorrect, alternative HTTPS. Q4. Which port does SMB typically use? A) 143 B) 445 C) 3389 D) 161 ANSWER : B Rationale: A) Incorrect, used for IMAP. B) Correct, standard for modern SMB. C) Incorrect, used for RDP. D) Incorrect, used for SNMP. Q5. Which port is used for RDP? A) 22 B) 3389 C) 1433 D) 3306 ANSWER : B Rationale: A) Incorrect, used for SSH. B) Correct, standard for RDP. C) Incorrect, used for MS-SQL. D) Incorrect, used for MySQL. Q6. Which ports are used by DHCP? A) 20 and 21 B) 67 and 68 C) 161 and 162 D) 123 and 124 ANSWER : B Rationale: A) Incorrect, used for FTP. B) Correct, DHCP server and client ports. C) Incorrect, used for SNMP. D) Incorrect, used for NTP. Q7. Which port is used for unencrypted HTTP? A) 80 B) 443

A) Hub B) Switch C) Router D) Repeater ANSWER : C Rationale: A) Incorrect, Layer 1 device. B) Incorrect, primarily Layer 2 device. C) Correct, Layer 3 routing. D) Incorrect, Layer 1 device. Q12. Which device uses MAC addresses to forward frames? A) Router B) Switch C) Firewall D) Modem ANSWER : B Rationale: A) Incorrect, uses IP addresses. B) Correct, uses MAC address tables. C) Incorrect, uses IP/Ports. D) Incorrect, modulates signals. Q13. What does a load balancer primarily do? A) Filters malicious traffic B) Distributes traffic across servers C) Encrypts network traffic D) Assigns IP addresses ANSWER : B Rationale: A) Incorrect, done by firewalls/IPS. B) Correct, distributes workloads. C) Incorrect, done by VPNs/TLS. D) Incorrect, done by DHCP. Q14. Which device is best for inspecting application-layer traffic? A) Layer 2 Switch B) Hub C) Layer 7 Firewall D) Repeater ANSWER : C

Rationale: A) Incorrect, only sees frames. B) Incorrect, Layer 1 device. C) Correct, inspects Layer 7. D) Incorrect, regenerates signals. Q15. What is the purpose of a SIEM? A) Block malware B) Aggregate and analyze logs C) Encrypt databases D) Manage IP addresses ANSWER : B Rationale: A) Incorrect, done by AV/EDR. B) Correct, centralizes log analysis. C) Incorrect, done by TDE. D) Incorrect, done by IPAM. Q16. Which technology prevents switching loops? A) NAT B) STP C) ARP D) VLAN ANSWER : B Rationale: A) Incorrect, translates IP addresses. B) Correct, Spanning Tree Protocol prevents loops. C) Incorrect, resolves IP to MAC. D) Incorrect, segments broadcast domains. Q17. What is the primary function of a VLAN? A) Encrypt traffic B) Segment broadcast domains C) Route between networks D) Filter MAC addresses ANSWER : B Rationale: A) Incorrect, VLANs don't encrypt. B) Correct, creates logical segments. C) Incorrect, routers do this. D) Incorrect, switches filter MACs. Q18. Which protocol resolves IP addresses to MAC addresses? A) DNS B) ARP C) DHCP

B) 802.11n C) 802.11ax D) 802.11g ANSWER : C Rationale: A) Incorrect, Wi-Fi 5. B) Incorrect, Wi-Fi 4. C) Correct, 802.11ax is Wi-Fi 6. D) Incorrect, legacy Wi-Fi. Q23. What technology uses multiple antennas to improve wireless performance? A) MIMO B) NAT C) STP D) ARP ANSWER : A Rationale: A) Correct, Multiple Input Multiple Output. B) Incorrect, IP translation. C) Incorrect, loop prevention. D) Incorrect, MAC resolution. Q24. Which attack involves setting up a rogue wireless AP with the same SSID? A) Evil Twin B) ARP Poisoning C) Replay Attack D) SQL Injection ANSWER : A Rationale: A) Correct, mimics a legitimate AP. B) Incorrect, corrupts MAC tables. C) Incorrect, captures and resends data. D) Incorrect, database attack. Q25. Which wireless attack sends frames to disconnect users? A) Disassociation B) Phishing C) Smishing D) Vishing ANSWER : A Rationale: A) Correct, forces clients to disconnect. B) Incorrect, email-based. C) Incorrect, SMS-based. D) Incorrect, voice-based.

Q26. What is the primary purpose of a captive portal? A) Encrypt wireless traffic B) Authenticate users via a web page C) Block MAC addresses D) Increase signal range ANSWER : B Rationale: A) Incorrect, done by WPA. B) Correct, requires web authentication. C) Incorrect, done by AP settings. D) Incorrect, done by antennas. Q27. Which attack involves sending massive amounts of traffic to overwhelm a server? A) SQLi B) DDoS C) XSS D) Phishing ANSWER : B Rationale: A) Incorrect, database manipulation. B) Correct, Distributed Denial of Service. C) Incorrect, web script injection. D) Incorrect, social engineering. Q28. Which malware encrypts user files and demands payment? A) Trojan B) Ransomware C) Rootkit D) Spyware ANSWER : B Rationale: A) Incorrect, mimics legitimate software. B) Correct, encrypts data for ransom. C) Incorrect, hides deep in OS. D) Incorrect, monitors user activity. Q29. Which attack injects malicious scripts into web pages viewed by others? A) SQL Injection B) Cross-Site Scripting (XSS) C) Buffer Overflow D) Directory Traversal ANSWER : B

D) Tailgating ANSWER : B Rationale: A) Incorrect, broad and generic. B) Correct, highly targeted. C) Incorrect, bulk messages. D) Incorrect, physical security breach. Q34. Which malware hides its presence by modifying the OS? A) Trojan B) Rootkit C) Ransomware D) Logic Bomb ANSWER : B Rationale: A) Incorrect, looks like valid app. B) Correct, hides processes/files. C) Incorrect, encrypts data. D) Incorrect, triggers on a condition. Q35. Which attack intercepts and potentially alters communication between two parties? A) On-path B) Replay C) Amplification D) Watering Hole ANSWER : A Rationale: A) Correct, Man-in-the-Middle. B) Incorrect, resends valid data. C) Incorrect, magnifies traffic. D) Incorrect, compromises trusted sites. Q36. Which attack exploits a vulnerability before the vendor releases a patch? A) Zero-day B) Logic Bomb C) Insider Threat D) Supply Chain ANSWER : A Rationale: A) Correct, unknown/unpatched vulnerability. B) Incorrect, malicious code trigger. C) Incorrect, malicious employee. D) Incorrect, compromised vendor. Q37. Which attack floods a network with broadcast traffic using a spoofed source IP? A) Smurf

B) SYN Flood C) Ping of Death D) SQLi ANSWER : A Rationale: A) Correct, ICMP amplification. B) Incorrect, targets TCP handshakes. C) Incorrect, oversized packets. D) Incorrect, database attack. Q38. Which attack involves corrupting the DNS cache to redirect traffic? A) DNS Poisoning B) ARP Poisoning C) Domain Hijacking D) Replay ANSWER : A Rationale: A) Correct, alters DNS records. B) Incorrect, alters MAC tables. C) Incorrect, steals domain registration. D) Incorrect, resends packets. Q39. Which cryptography concept uses the same key for encryption and decryption? A) Asymmetric B) Symmetric C) Hashing D) Steganography ANSWER : B Rationale: A) Incorrect, uses public/private keys. B) Correct, shared secret key. C) Incorrect, one-way math. D) Incorrect, hiding data in data. Q40. Which algorithm is a standard for symmetric encryption? A) RSA B) AES C) SHA- 256 D) ECC ANSWER : B Rationale: A) Incorrect, asymmetric. B) Correct, Advanced Encryption Standard. C) Incorrect, hashing algorithm. D) Incorrect, asymmetric.

Rationale: A) Incorrect, secures boot/integrity. B) Correct, Hardware Security Module for keys. C) Incorrect, Full Disk Encryption. D) Incorrect, Cloud security policy. Q45. What is the purpose of a Digital Signature? A) Encrypt the message B) Ensure integrity and non-repudiation C) Compress the data D) Hide the sender ANSWER : B Rationale: A) Incorrect, signatures don't encrypt. B) Correct, proves sender and integrity. C) Incorrect, done by compression. D) Incorrect, signatures identify sender. Q46. Which entity issues and manages digital certificates? A) RA B) CA C) CRL D) CSR ANSWER : B Rationale: A) Incorrect, verifies identity for CA. B) Correct, Certificate Authority. C) Incorrect, list of revoked certs. D) Incorrect, request for a cert. Q47. Which protocol checks the revocation status of a certificate in real-time? A) CRL B) OCSP C) CSR D) PKCS# ANSWER : B Rationale: A) Incorrect, downloaded list. B) Correct, Online Certificate Status Protocol. C) Incorrect, certificate request. D) Incorrect, certificate archive format. Q48. Which certificate type secures multiple subdomains of a single domain? A) Self-signed B) Wildcard C) SAN

D) Code Signing ANSWER : B Rationale: A) Incorrect, not trusted by browsers. B) Correct, uses *.domain.com. C) Incorrect, lists specific domains/IPs. D) Incorrect, verifies software authors. Q49. Which authentication factor is "something you are"? A) Knowledge B) Token C) Inherence D) Password ANSWER : C Rationale: A) Incorrect, something you know. B) Incorrect, something you have. C) Correct, biometrics. D) Incorrect, something you know. Q50. Which protocol generates a time-based one-time password? A) HMAC B) TOTP C) CHAP D) PAP ANSWER : B Rationale: A) Incorrect, hash-based message auth. B) Correct, Time-based One-Time Password. C) Incorrect, challenge-handshake. D) Incorrect, plaintext auth. Q51. Which technology allows a user to log in once and access multiple systems? A) MFA B) SSO C) 802.1X D) RADIUS ANSWER : B Rationale: A) Incorrect, requires multiple factors. B) Correct, Single Sign-On. C) Incorrect, port-based network auth. D) Incorrect, centralized auth protocol. Q52. Which XML-based protocol is commonly used for SSO in enterprise environments? A) OAuth

Q56. Which access control model uses labels and clearances (e.g., Top Secret)? A) DAC B) MAC C) RBAC D) ABAC ANSWER : B Rationale: A) Incorrect, owner-defined. B) Correct, Mandatory Access Control. C) Incorrect, role-defined. D) Incorrect, attribute-defined. Q57. Which access control model allows the data owner to define permissions? A) DAC B) MAC C) RBAC D) Rule-based ANSWER : A Rationale: A) Correct, Discretionary Access Control. B) Incorrect, system-enforced. C) Incorrect, based on job function. D) Incorrect, based on global rules. Q58. Which access control model uses roles like "Admin" or "User"? A) DAC B) MAC C) RBAC D) ABAC ANSWER : C Rationale: A) Incorrect, owner-defined. B) Incorrect, label-based. C) Correct, Role-Based Access Control. D) Incorrect, uses environmental attributes. Q59. Which security principle ensures users only have the access they need to do their jobs? A) Separation of Duties B) Least Privilege C) Job Rotation D) Defense in Depth ANSWER : B

Rationale: A) Incorrect, splits critical tasks. B) Correct, minimal necessary access. C) Incorrect, rotates employees. D) Incorrect, multiple layers of security. Q60. Which control prevents a single individual from having full control over a critical process? A) Least Privilege B) Separation of Duties C) Mandatory Vacation D) Offboarding ANSWER : B Rationale: A) Incorrect, minimizes access. B) Correct, divides critical tasks. C) Incorrect, forces time off to detect fraud. D) Incorrect, removes access upon termination. Q61. Which risk management strategy involves purchasing insurance? A) Mitigation B) Transference C) Acceptance D) Avoidance ANSWER : B Rationale: A) Incorrect, implementing controls. B) Correct, shifting risk to a third party. C) Incorrect, doing nothing. D) Incorrect, stopping the activity. Q62. Which formula is used to calculate Annualized Loss Expectancy (ALE)? A) SLE + ARO B) SLE * ARO C) SLE / ARO D) ARO - SLE ANSWER : B Rationale: A) Incorrect, addition is wrong. B) Correct, Single Loss Expectancy times Annualized Rate of Occurrence. C) Incorrect, division is wrong. D) Incorrect, subtraction is wrong. Q63. Which document identifies critical business functions and their recovery requirements? A) DRP B) BIA C) BCP

B) Eradication C) Recovery D) Lessons Learned ANSWER : B Rationale: A) Incorrect, isolates the threat. B) Correct, completely removes it. C) Incorrect, brings systems back online. D) Incorrect, post-incident review. Q68. Which concept ensures evidence is properly handled and documented? A) Legal Hold B) Chain of Custody C) E-Discovery D) Order of Volatility ANSWER : B Rationale: A) Incorrect, preserves data. B) Correct, tracks evidence handling. C) Incorrect, finding electronic data. D) Incorrect, collection sequence. Q69. Which list dictates the order in which digital evidence should be collected? A) Chain of Custody B) Order of Volatility C) Legal Hold D) BIA ANSWER : B Rationale: A) Incorrect, tracks evidence. B) Correct, collect most volatile first. C) Incorrect, stops data deletion. D) Incorrect, business impact. Q70. Which cloud model provides virtualized hardware, networking, and storage? A) SaaS B) PaaS C) IaaS D) Serverless ANSWER : C Rationale: A) Incorrect, provides software. B) Incorrect, provides dev platforms. C) Correct, Infrastructure as a Service. D) Incorrect, event-driven code.

Q71. Which cloud model provides a complete development and deployment environment? A) IaaS B) PaaS C) SaaS D) VDI ANSWER : B Rationale: A) Incorrect, provides raw infrastructure. B) Correct, Platform as a Service. C) Incorrect, provides finished apps. D) Incorrect, virtual desktops. Q72. Which cloud model provides fully managed software applications over the internet? A) IaaS B) PaaS C) SaaS D) Hybrid ANSWER : C Rationale: A) Incorrect, infrastructure. B) Incorrect, platform. C) Correct, Software as a Service. D) Incorrect, mixed cloud types. Q73. Which technology allows multiple isolated operating systems to run on a single physical host? A) Containers B) Virtual Machines C) Serverless D) VDI ANSWER : B Rationale: A) Incorrect, shares host OS kernel. B) Correct, hypervisor-based full virtualization. C) Incorrect, no OS management. D) Incorrect, virtual desktops. Q74. Which technology packages an application and its dependencies together? A) VM B) Container C) VDI D) HSM ANSWER : B