Curated

Network Security 2 (4.3)

0 votes

Questions18

  1. Question 1

    Network Security

    After a breach, attackers copied a CA's private key from a server's disk. The rebuilt CA must generate its key in tamper-resistant hardware, keep it non-exportable, and still sign certificates. Which solution meets this?

    Show the answer

    Correct answerB. A hardware security module (HSM)

    AWhy not this: A longer key resists brute force, but copying the file from disk still gives the attacker the whole key.

    BWhy this is right: An HSM creates and holds the key in tamper-resistant hardware and signs internally, so the key is never exported.

    CWhy not this: A safe-stored USB protects a backup only; the working key must still sit in server storage where it can be copied.

    DWhy not this: Frequent rotation shortens exposure time but leaves each key in extractable software storage.

    An HSM generates and stores keys inside tamper-resistant hardware, performs signing internally, and never exposes the private key. An encrypted USB copy in a safe protects a backup, but the key must still be loaded onto software storage to be used, so it remains exposed.

    Open this question
  2. Question 2

    Network Security

    A former network administrator knew the pre-shared key that secures a site-to-site VPN, and the company now suspects it is exposed. Which action BEST addresses the exposed key?

    Show the answer

    Correct answerD. Rotate the key to a newly generated value

    AWhy not this: Content filtering controls the content users can access; it has no effect on VPN key secrecy.

    BWhy not this: An ACL on one IP address is easily bypassed, and the person still knows a key that remains valid.

    CWhy not this: Port security limits MAC addresses per switch port; it does nothing to invalidate a key someone already knows.

    DWhy this is right: Replacing the exposed key with a new one ends the risk, because the old value no longer authenticates or encrypts anything.

    Key management requires replacing a key that may be compromised. Rotating it to a new value, distributed securely to both peers, makes the exposed key useless. Port security only limits which MAC addresses can use a switch port, so it does not protect a key already known.

    Open this question
  3. Question 3

    Network Security

    What is the main security benefit of disabling unused ports and services on a network device?

    Show the answer

    Correct answerA. It reduces the attack surface

    AWhy this is right: Fewer enabled ports and services means fewer entry points for an attacker.

    BWhy not this: Credentials are fixed by changing default passwords, not by disabling services.

    CWhy not this: Encryption comes from protocols like SSH, not from turning off unused features.

    DWhy not this: Disabling unused features is about security, not about adding bandwidth.

    Every open port or running service is a possible entry point, so turning off those not needed leaves fewer ways in. It does not touch credentials, which are handled by changing default passwords.

    Open this question
  4. Question 4

    Network Security

    A technician is hardening a new branch switch that will be managed only over SSH, with 12 of its 24 ports cabled. Which four actions disable its unused ports and services? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. Disable the HTTP management serverC. Disable the built-in DHCP server, which the branch does not useE. Administratively shut down the 12 uncabled portsF. Disable the Telnet server

    AWhy not this: Replacing credentials is hardening, but it does not disable any port or service.

    BWhy this is right: HTTP management is unneeded and exposes an extra listening service.

    CWhy this is right: A service the branch does not use is unneeded exposure, so it should be turned off.

    DWhy not this: Port security limits which MACs can use ports already in service; it does not disable an unused port or service.

    EWhy this is right: Shutting down uncabled ports stops anyone from plugging in and gaining access.

    FWhy this is right: Telnet is unneeded when SSH is the only management method, and it sends data in clear text.

    Shutting down uncabled ports and turning off Telnet, HTTP management and an unused DHCP server each remove something the device does not need. Replacing the default password and enabling port security on cabled ports are also hardening, but they secure a credential and ports in use instead of disabling a port or service.

    Open this question
  5. Question 5

    Network Security

    A security audit finds that newly installed switches still accept the vendor's publicly documented administrator login. Which action remediates this finding?

    Show the answer

    Correct answerB. Change the default administrator password

    AWhy not this: Firmware updates fix software flaws but do not change configured credentials.

    BWhy this is right: Replacing the publicly known password removes the weakness the audit found.

    CWhy not this: Unused ports do not affect whether the default login works.

    DWhy not this: Telnet is only one path; the default login would still work over SSH or the console.

    The finding is that a well-known default credential still works, so the credential must be changed to a unique, strong password. Disabling Telnet or unused ports shrinks exposure but leaves the default login valid over any remaining management path.

    Open this question
  6. Question 6

    Network Security

    A switch must block a laptop's traffic until the user authenticates against a RADIUS server. Which technology provides this?

    Show the answer

    Correct answerC. 802.1X

    AWhy not this: MAC filtering permits or denies hardware addresses from a list; it does not verify credentials.

    BWhy not this: Port mirroring copies traffic to a monitoring port for analysis and has no role in access control.

    CWhy this is right: 802.1X keeps the port unauthorized until the supplicant is authenticated by the RADIUS authentication server.

    DWhy not this: Port security limits or pins MAC addresses on a port; it does not authenticate users against a server.

    802.1X is port-based network access control in which a supplicant authenticates through an authenticator to an authentication server such as RADIUS. Port security only restricts which MAC addresses a port accepts and does not check credentials.

    Open this question
  7. Question 7

    Network Security

    A lobby switch port must shut down automatically if more than two devices appear on it, and no authentication server is available. What should the administrator configure?

    Show the answer

    Correct answerD. Port security with a MAC limit and shutdown

    AWhy not this: MAC filtering is an allow or deny list, often on wireless APs; it does not count devices or err-disable a switch port.

    BWhy not this: 802.1X authenticates users or devices through an authentication server, which the scenario lacks, and it does not cap device count.

    CWhy not this: DHCP snooping blocks rogue DHCP servers and builds a binding table; it does not limit devices on a port.

    DWhy this is right: Port security limits learned MAC addresses per port and can shut the port down when the limit is exceeded.

    Port security caps the number of MAC addresses allowed on a switch port and can put the port in an error-disabled state on a violation, with no server needed. 802.1X authenticates identity through a RADIUS server but does not count devices.

    Open this question
  8. Question 8

    Network Security

    An administrator wants each switch port to learn the first connected device's MAC address and store it in the running configuration without manual entry. Which port security setting does this?

    Show the answer

    Correct answerA. Sticky MAC learning

    AWhy this is right: Sticky learning learns addresses automatically and writes them into the running configuration as secure MACs.

    BWhy not this: Restrict mode only defines the action on a violation, dropping frames and logging, not how addresses are learned.

    CWhy not this: Static assignment needs each MAC address entered manually, which the administrator wants to avoid.

    DWhy not this: Dynamic VLAN assignment places authenticated devices in a VLAN, usually through 802.1X, and does not record MAC addresses.

    Sticky learning dynamically learns MAC addresses and adds them to the running configuration as secure addresses. Static assignment requires typing each address by hand.

    Open this question
  9. Question 9

    Network Security

    An access point permits only MAC addresses on an allow list, yet an unauthorized laptop joined using an approved phone's address. What is the cause and the better control?

    Show the answer

    Correct answerA. MAC spoofing; use 802.1X authentication

    AWhy this is right: Attackers can observe and clone an approved MAC address; 802.1X adds real authentication that a copied address cannot defeat.

    BWhy not this: Sticky learning is a switch port security feature, and an allow list does not expire by itself.

    CWhy not this: A MAC table overflow floods a switch's address table; it does not let a client pass an AP's allow list.

    DWhy not this: VLAN hopping abuses trunking between VLANs on switches and does not bypass an AP's MAC allow list.

    MAC addresses are visible in wireless frames and easy to clone, so a MAC allow list does not prove identity. 802.1X requires credentials or certificates that a copied address cannot supply.

    Open this question
  10. Question 10

    Network Security

    Which description best fits an untrusted zone in a network design?

    Show the answer

    Correct answerA. A network outside the organization's control, such as the internet

    AWhy this is right: The internet is outside organizational control, so it is the classic untrusted zone.

    BWhy not this: Segments of authenticated administrator devices are controlled, so they are trusted, not untrusted.

    CWhy not this: A management network behind the firewall is internally controlled and therefore trusted.

    DWhy not this: The internal LAN is managed by the organization, so it is normally a trusted zone.

    An untrusted zone is any network the organization does not control, such as the internet, so traffic from it must be filtered. The internal LAN is the typical trusted zone, because the organization manages its devices and users.

    Open this question
  11. Question 11

    Network Security

    A company must host a public web server. Internet users must reach it, but a compromise must not give the attacker direct access to the internal LAN. Where should the server be placed?

    Show the answer

    Correct answerD. In a screened subnet between two firewalls or firewall interfaces

    AWhy not this: Sharing a VLAN with domain controllers puts critical assets next to an exposed server.

    BWhy not this: On the internal LAN, a compromised server would sit beside internal hosts with little filtering.

    CWhy not this: Outside the firewall leaves the server unprotected by any perimeter controls.

    DWhy this is right: A screened subnet allows public access while firewall rules separate it from the internal LAN.

    A screened subnet (formerly DMZ) isolates public-facing servers, allowing inbound internet access while firewall rules block the subnet from reaching the internal LAN. Placing the server on the internal LAN would expose it to attackers from the inside if it were compromised.

    Open this question
  12. Question 12

    Network Security

    A firewall has three interfaces: internet, internal LAN, and a web server segment. Which rule set correctly enforces a screened subnet design for that segment?

    Show the answer

    Correct answerB. Allow internet to the segment on ports 80 and 443; deny the segment to the internal LAN

    AWhy not this: Letting the subnet reach the LAN allows pivoting, and blocking the internet makes the server unreachable.

    BWhy this is right: Public web traffic is permitted while the subnet is blocked from reaching the internal LAN.

    CWhy not this: Allowing internet traffic into the LAN removes the perimeter and the subnet's purpose.

    DWhy not this: Permitting all traffic removes segmentation and offers no isolation from attackers.

    A screened subnet permits only the needed public traffic inward from the internet and blocks the subnet from initiating connections to the internal LAN. Letting the segment reach the internal LAN defeats the isolation, since a compromised server could pivot inward.

    Open this question
  13. Question 13

    Network Security

    A proxy already permits a trusted file-sharing site by its URL. The security team now wants to stop uploads to that site that contain credit card numbers. Which feature meets this need?

    Show the answer

    Correct answerD. Content filtering

    AWhy not this: It matches packet headers such as IP and port and cannot examine the data inside the upload.

    BWhy not this: It judges the web address only; the site is already allowed, and the address says nothing about upload data.

    CWhy not this: It limits which MAC addresses can use a switch port and has no role in inspecting web traffic.

    DWhy this is right: It inspects the payload for patterns such as card numbers, regardless of the site's address.

    Content filtering inspects the data being transferred, so it can detect credit card number patterns in uploads even to an allowed site. URL filtering only judges the address, which is already approved, so it cannot see what is inside the upload.

    Open this question
  14. Question 14

    Network Security

    A company wants its web proxy to block access to specific websites. Which three methods can URL filtering use to make that decision? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. A blocklist of specific domains or URLsD. A website category such as gamblingF. An allowlist of approved URLs

    AWhy not this: Inspecting words in the page body is content filtering, which looks at content rather than the address.

    BWhy this is right: URL filters commonly deny specific domains or URLs listed in a blocklist.

    CWhy not this: MAC addresses are Layer 2 identifiers used by switch features such as port security, not by URL filters.

    DWhy this is right: URL filters often block whole categories of sites, such as gambling or adult content.

    EWhy not this: Matching IP addresses and ports in packet headers is what an ACL does, not a URL filter.

    FWhy this is right: URL filters can permit only approved addresses and deny everything else.

    URL filtering decides based on the web address: specific blocked entries, the site's category, or an approved list. Matching words inside the page body is content filtering, and MAC or port/IP matching belongs to port security and ACLs.

    Open this question
  15. Question 15

    Network Security

    A router interface has an ACL with one entry: permit TCP 443 from 10.1.1.0/24 to a web server. A host at 10.1.2.15 tries to reach the server on TCP 443. What happens to this traffic?

    Show the answer

    Correct answerA. It is dropped by the implicit deny at the end of the ACL

    AWhy this is right: The source is outside the permitted subnet, so no entry matches and the implicit deny drops the packet.

    BWhy not this: The port matches, but the entry also requires a source in 10.1.1.0/24, which this host lacks.

    CWhy not this: ACLs permit or deny packets; they do not forward unmatched traffic to a proxy.

    DWhy not this: An ACL with only permits still ends in an implicit deny; it does not default to allow.

    ACLs are evaluated top-down, and traffic that matches no entry hits the implicit deny at the end. The host is outside 10.1.1.0/24, so it does not match the permit and is dropped. The port alone does not decide the result; the source must match too.

    Open this question
  16. Question 16

    Network Security

    Users download software from many different websites. An administrator must block executable file downloads over HTTP while still allowing documents and images. What should be configured?

    Show the answer

    Correct answerB. A content filtering rule blocking executable file types

    AWhy not this: Denying TCP 80 blocks all HTTP traffic, including the documents and images that must stay allowed.

    BWhy this is right: Content filtering can identify and block specific file types in transit while allowing others.

    CWhy not this: A domain blocklist cannot cover every site and would block the sites' other content as well.

    DWhy not this: Port security restricts which devices connect to a switch port and does not examine downloads.

    Content filtering can block traffic by file type, so executables are denied while documents and images pass. An ACL denying TCP 80 would block all web traffic, and a domain blocklist cannot cover every site that hosts executables.

    Open this question
  17. Question 17

    Network Security

    A company is installing new switches, access points, and IP cameras that ship with vendor-set administrator logins published in the product manuals. Which three actions address this exposure? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Replace the default administrator username where the device supports itC. Change the vendor's default administrator password before deploymentD. Give each device its own strong password instead of a shared one

    AWhy this is right: A default username like admin is well known; replacing it removes half of the guessable login.

    BWhy not this: Firmware updates fix software flaws but keep the configured login, so the published default credentials still work.

    CWhy this is right: Published factory passwords let anyone log in, so they must be changed before the device is used.

    DWhy this is right: A unique password per device stops one compromised credential from opening every device.

    EWhy not this: This is unused-port hardening; it does not stop someone logging in with the known default credentials.

    Vendor logins are public, so each device needs its default password changed, ideally with the default username replaced and a unique password per device. Shutting down unused ports reduces the attack surface and updating firmware fixes software flaws, but both leave the published credentials working.

    Open this question
  18. Question 18

    Network Security

    An access point admits only MAC addresses on its allow list. A new laptop has the correct passphrase but cannot join, and its docking-station Ethernet MAC is already listed. What should the administrator do?

    Show the answer

    Correct answerB. Add the laptop's Wi-Fi adapter MAC address to the allow list

    AWhy not this: Port security limits MAC addresses learned on a switch port; it does not govern the AP's wireless allow list.

    BWhy this is right: The allow list matches each adapter's own MAC, so the wireless adapter's address must be added.

    CWhy not this: The passphrase is already correct, so changing it does not address a MAC address that is not listed.

    DWhy not this: 802.1X would replace the filtering method with credential-based authentication; it does not fix the missing allow-list entry.

    MAC filtering checks the MAC address of the specific adapter connecting, so the Wi-Fi adapter must be listed itself. The Ethernet MAC is a different address, and the passphrase is not the cause because the laptop already has the correct one.

    Open this question