📝 Network security management (9 MCQs)
Managing Protection Across Network Resources
Network security management establishes and maintains controls that protect network devices, communication services and information. It includes security policy, user privileges, authentication, access restrictions, vulnerability handling, monitoring and incident response. Its objectives include confidentiality, integrity and availability, while operational procedures ensure that protection remains consistent as users, devices and network requirements change. The policy must cover both routine administration and exceptional incidents.
Security Policies, Users and Control Mechanisms
Security controls combine identity management, role-based permissions, secure management channels, filtering rules, software maintenance and event monitoring. Authentication verifies an identity, whereas authorization determines permitted actions. Encryption protects information from disclosure, and integrity mechanisms help detect unauthorized modification. These controls must be configured consistently across management stations and managed devices.
Monitoring Access and Responding to Incidents
An administrator defines an access policy, assigns approved users and privileges, deploys the required controls, and monitors resulting events. Suspicious logins or unexpected configuration changes trigger investigation. The response may include disabling an account, restricting a management path, preserving logs, correcting the weakness and verifying that legitimate services remain available.
Example: Restricting Management Access to Devices
A network team restricts router administration to a management subnet and requires authenticated encrypted access. A user outside that subnet cannot reach the management service, while an authorized administrator connects through the approved channel. The arrangement reduces exposure of configuration interfaces without preventing ordinary users from forwarding traffic through the router.
Security Management and the Wider FCAPS Model
Security management interacts with every other FCAPS area. Configuration changes must preserve access policies, fault handling must protect incident evidence, and performance controls must not expose management traffic. Accounting records may help trace use of privileged accounts. SNMPv3 can provide message authentication and privacy when appropriately configured, unlike community-based SNMPv1 or v2c.
Clarifying Authentication, Authorization and Encryption
'Authentication grants every permission' confuses identity verification with authorization. 'Encryption alone guarantees complete security' ignores access control and integrity. 'A firewall removes every threat' is incorrect because compromised accounts, insecure endpoints and permitted malicious traffic can still cause harm. A firewall filters traffic according to rules but cannot repair vulnerable software or prevent every misuse of valid credentials.
Security Policy and Incident Scenarios for Exams
Examination questions may ask you to classify security activities under FCAPS and distinguish confidentiality, integrity, availability, authentication and authorization. Be able to explain why management interfaces need restricted access, why logs matter during incident response, and how SNMPv3 security differs from community-string access in earlier versions. Questions may also test the difference between policy enforcement and event monitoring.
Network Security Control Terms
- Confidentiality - Preventing unauthorized information disclosure.
- Integrity - Protecting information from unauthorized alteration.
- Availability - Keeping services accessible when required.
- Authentication - Verifying a claimed identity.
- Authorization - Granting permissions to verified identities.
- Encryption - Transforming data to conceal its content during transmission.
📝 All Network security management MCQs
Q1. What vulnerability arises from the server code’s lack of input validation when receiving data from a client?
📖 Explanation: The code increments the pointer and reduces the remaining length without confirming that the incoming bytes fit within the allocated buffer. This omission permits a buffer‑overflow attack, where an attacker can overwrite adjacent memory, potentially leading to arbitrary code execution or crashes. The absence of bounds checking is the root cause.
Q2. How do the security implications of using TCP versus UDP for an echo service differ?
📖 Explanation: TCP establishes a reliable, connection‑oriented session, which includes mechanisms like retransmission and ordering, reducing the chance of data loss or injection attacks. UDP lacks these safeguards, making it more vulnerable to packet loss and spoofing, while offering no native confidentiality or integrity guarantees.
Q3. Applying the principle of least privilege, how should the echo server process be configured on a production host?
📖 Explanation: Running the server under a dedicated, non‑privileged user limits the impact of any compromise, ensuring that even if an attacker gains control of the process, they inherit only minimal rights. This aligns with least‑privilege best practices and reduces the attack surface on the host.
Q4. If the server fails to close client sockets after each session, what is the most likely security consequence?
📖 Explanation: Leaving sockets open consumes file descriptors and memory, eventually exhausting system resources. Attackers can exploit this by opening many connections, causing the server to run out of descriptors and become unavailable to legitimate users, which is a classic denial‑of‑service scenario.
Q5. What effect does adding TLS to the echo server have on confidentiality and integrity of the transmitted data?
📖 Explanation: TLS encrypts the data stream, protecting it from eavesdropping (confidentiality), and incorporates MACs or AEAD ciphers that verify that the data has not been altered in transit (integrity). Therefore, wrapping the echo server with TLS addresses both security goals simultaneously.
Q6. Which comprehensive security policy best protects the echo server while maintaining usability?
📖 Explanation: A robust policy should record activity for forensic analysis (logging), verify client identity before allowing interactions (authentication), and limit the number of requests per client within a time window (rate‑limiting). This layered approach mitigates abuse, aids detection, and preserves service availability.
Q7. Given the code’s use of recv without checking for a zero return (client closed), which attack becomes most feasible?
📖 Explanation: If the server continues to allocate buffer space without recognizing that the client has closed the connection, an attacker can send a continuous stream of data, exhausting memory and CPU resources. This denial‑of‑service style resource exhaustion is facilitated by the missing zero‑length check.
Q8. When comparing this echo server to a stateless REST API that validates JSON payloads, which statement is most accurate?
📖 Explanation: A REST API typically parses structured JSON and can enforce schema validation, rejecting malformed or malicious inputs. In contrast, the raw echo server merely mirrors received bytes, lacking any validation, making the REST approach generally more resilient against injection and malformed‑data attacks.
Q9. Which security framework explicitly includes a control for regular patch management of network services like this echo server?
📖 Explanation: NIST Special Publication 800‑53 defines control CM‑11 (Information System Component Inventory) and related guidelines that mandate timely patching of software components, ensuring that known vulnerabilities in services such as an echo server are addressed promptly.