Curated

Networking Concepts 1 (1.1–1.4)

0 votes

Questions70

  1. Question 51

    Networking Concepts

    A remote-access VPN must stop anyone on the internet from reading user data inside IPSec packets. Which protocol provides that confidentiality?

    Show the answer

    Correct answerA. Encapsulating Security Payload (ESP)

    AWhy this is right: ESP encrypts the packet payload, so the data cannot be read in transit.

    BWhy not this: GRE encapsulates traffic in a tunnel but does not encrypt it.

    CWhy not this: AH authenticates and checks integrity but does not encrypt, so data stays readable.

    DWhy not this: ICMP carries control and error messages; it provides no confidentiality.

    ESP encrypts the payload, giving confidentiality, and can also provide integrity and authentication. GRE tunnels traffic but adds no encryption, so data inside it is still readable.

    Open this question
  2. Question 52

    Networking Concepts

    A site-to-site IPSec tunnel using ESP works, but admins must type identical keys on both gateways and change them by hand. What should replace this manual process?

    Show the answer

    Correct answerD. IKE

    AWhy not this: UDP carries the IKE messages but does not authenticate peers or generate keys.

    BWhy not this: GRE only encapsulates packets in a tunnel and has no key management.

    CWhy not this: AH authenticates packets using an existing key; it does not negotiate or rotate keys.

    DWhy this is right: IKE negotiates security associations and creates and renews session keys automatically between peers.

    Internet Key Exchange (IKE) authenticates the peers, negotiates security associations and generates and renews keys automatically. UDP is tempting because IKE runs over it, but it only transports the exchange and negotiates nothing itself.

    Open this question
  3. Question 53

    Networking Concepts

    Which protocol builds a point-to-point tunnel by wrapping other network layer packets inside IP packets?

    Show the answer

    Correct answerD. GRE

    AWhy not this: UDP is a connectionless transport protocol; it carries application data and does not form tunnels.

    BWhy not this: ICMP carries error and diagnostic messages such as unreachable notices; it does not build tunnels.

    CWhy not this: TCP gives reliable, ordered delivery between endpoints; it does not encapsulate other network layer packets.

    DWhy this is right: GRE encapsulates other network layer packets inside IP, which creates a point-to-point tunnel.

    Generic Routing Encapsulation (GRE) encapsulates a variety of network layer protocols inside IP to form point-to-point tunnels. UDP is only a connectionless transport protocol and does not tunnel other packets.

    Open this question
  4. Question 54

    Networking Concepts

    A compliance rule requires IPSec packets to be authenticated and integrity-protected, but forbids payload encryption so inspection tools can read the traffic. Which IPSec component fits?

    Show the answer

    Correct answerB. Authentication Header (AH)

    AWhy not this: ESP provides payload encryption, which the rule forbids, so it does not fit the requirement.

    BWhy this is right: AH authenticates the sender and detects tampering without encrypting, so the payload stays readable.

    CWhy not this: GRE only encapsulates packets in a tunnel and gives no authentication or integrity protection.

    DWhy not this: IKE negotiates security associations and keys; it does not itself protect each packet.

    AH provides connectionless integrity and origin authentication but no encryption, so the payload stays readable. ESP is the tempting choice because it also protects packets, but it encrypts the payload, which the rule forbids.

    Open this question
  5. Question 55

    Networking Concepts

    Which statements describe TFTP? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. It provides no user authenticationD. It uses UDP port 69

    AWhy this is right: TFTP has no login mechanism, so it does not authenticate users.

    BWhy not this: Encrypted transfer over port 22 is SFTP, which runs over SSH.

    CWhy not this: TCP ports 20 and 21 are the FTP data and control ports.

    DWhy this is right: TFTP listens on UDP port 69 for file transfer requests.

    TFTP is a simple file transfer protocol on UDP port 69 with no authentication or encryption. Encrypted transfer over port 22 describes SFTP, and TCP 20/21 describes FTP.

    Open this question
  6. Question 56

    Networking Concepts

    A company redirects http:// requests to https:// on its web server, but the firewall allows only TCP 443 inbound. Users who type http:// addresses get timeouts. Which port must also be allowed?

    Show the answer

    Correct answerD. TCP 80

    AWhy not this: This is the RDP port for remote desktop sessions, not web traffic.

    BWhy not this: This is the SMB file-sharing port, not a web port.

    CWhy not this: This is the SMTP port for mail relay, not web requests.

    DWhy this is right: Plain HTTP requests arrive on TCP 80, where the server can issue the redirect to HTTPS.

    A request that starts as http:// reaches the server on TCP 80, so the server can only send the redirect to HTTPS if that port is open. TCP 445 is SMB file sharing and does not carry web traffic.

    Open this question
  7. Question 57

    Networking Concepts

    A firewall permits only UDP 53 to an internal DNS server. Lookups work, but zone transfers to a secondary DNS server fail. Which port must also be permitted?

    Show the answer

    Correct answerD. TCP 53

    AWhy not this: This is the NTP port for time synchronization, not DNS data.

    BWhy not this: LDAP directory queries use this port; it does not carry DNS zone transfers.

    CWhy not this: This is the DHCP server port; it has nothing to do with DNS zone replication.

    DWhy this is right: DNS uses TCP 53 for zone transfers and large responses, in addition to UDP 53.

    DNS uses port 53 over UDP for ordinary queries and over TCP for zone transfers and large responses, so TCP 53 must be opened. TCP 389 is LDAP, a directory service that does not carry DNS zone data.

    Open this question
  8. Question 58

    Networking Concepts

    Routers relay DHCP requests from remote VLANs to a central DHCP server behind a firewall. Which rule lets the relayed requests reach the server?

    Show the answer

    Correct answerD. Permit UDP destination port 67 to the server

    AWhy not this: UDP 69 is TFTP, which does not carry DHCP requests.

    BWhy not this: Port 68 is the client side; the server does not listen for requests on it.

    CWhy not this: DHCP uses UDP, not TCP, so a TCP rule would not pass the relayed requests.

    DWhy this is right: The server listens for DHCP requests on UDP 67, including those forwarded by a relay.

    DHCP runs over UDP. The server side listens on port 67 and the client side uses port 68, so relayed requests must reach UDP 67 on the server. UDP 68 is the client port and is where replies are aimed, not where the server listens.

    Open this question
  9. Question 59

    Networking Concepts

    Log timestamps from a switch stack are minutes apart, so events cannot be correlated. The firewall in front of the internal time source must permit clock synchronization. Which port is required?

    Show the answer

    Correct answerC. UDP 123

    AWhy not this: Syslog forwards log messages; it does not synchronize device clocks.

    BWhy not this: SNMP uses this port for device queries, not for time synchronization.

    CWhy this is right: NTP uses UDP 123 to synchronize clocks, which fixes the timestamp drift.

    DWhy not this: This is the TFTP port for file transfers, unrelated to timekeeping.

    NTP synchronizes device clocks over UDP 123, which fixes the timestamp drift. UDP 514 is syslog, which ships log messages but does not set clocks, so opening it would not correct the timestamps.

    Open this question
  10. Question 60

    Networking Concepts

    Routers must push log messages to a new central collector using syslog's default port. The firewall already allows UDP 161/162 for SNMP and UDP 123 for NTP. Which inbound rule to the collector must be added?

    Show the answer

    Correct answerD. UDP 514

    AWhy not this: UDP 67 is the DHCP server port, unrelated to log forwarding.

    BWhy not this: UDP 69 is TFTP, used for file transfer rather than log delivery.

    CWhy not this: TCP 445 is SMB file sharing, not log delivery.

    DWhy this is right: Syslog collectors receive log messages on UDP 514, which the existing SNMP and NTP rules do not cover.

    Syslog senders deliver log messages to the collector on UDP 514 by default, which is separate from the SNMP and NTP ports already open. UDP 69 is tempting as another UDP service, but it is TFTP.

    Open this question
  11. Question 61

    Networking Concepts

    A DMZ web server must accept only TLS-encrypted browser sessions, and plain HTTP must be blocked. Which inbound firewall rule should be permitted?

    Show the answer

    Correct answerC. TCP 443

    AWhy not this: TCP 636 is encrypted, but it carries LDAPS directory traffic, not web sessions.

    BWhy not this: TCP 80 is cleartext HTTP, which the requirement blocks.

    CWhy this is right: HTTPS uses TCP 443 by default for TLS-encrypted web traffic.

    DWhy not this: TCP 587 is encrypted mail submission (SMTPS), not web traffic.

    HTTPS is HTTP over TLS and uses TCP 443 by default, so permitting only that port allows encrypted browser sessions and blocks cleartext HTTP. TCP 636 is also TLS-protected but carries LDAPS, not web traffic.

    Open this question
  12. Question 62

    Networking Concepts

    A monitoring server polls switches for interface counters and also receives unsolicited trap messages from them. Which default ports carry the polling requests and the trap messages?

    Show the answer

    Correct answerD. UDP 161 for polling, UDP 162 for traps

    AWhy not this: UDP 123 is NTP for clock sync, not SNMP trap delivery.

    BWhy not this: UDP 69 is TFTP, not SNMP polling.

    CWhy not this: Reverses the roles: polling goes to the agent on 161, and traps go to the manager on 162.

    DWhy this is right: Agents answer polls on UDP 161, and traps arrive at the manager on UDP 162.

    SNMP agents listen on UDP 161 for manager polls, and managers listen on UDP 162 for traps the agents send unprompted. Swapping the two is tempting, but 162 is the trap receiver port, not the polling port.

    Open this question
  13. Question 63

    Networking Concepts

    Users on one VLAN cannot map a network drive to a Windows file server on another VLAN. Which TCP port must the inter-VLAN firewall permit for SMB?

    Show the answer

    Correct answerB. TCP 445

    AWhy not this: UDP 69 is TFTP, a simple unauthenticated transfer protocol.

    BWhy this is right: SMB uses TCP 445 for Windows file and printer sharing.

    CWhy not this: TCP 22 is SSH/SFTP, which does not provide Windows share mapping.

    DWhy not this: TCP 21 is the FTP control port, a different file transfer protocol.

    Modern SMB runs directly over TCP 445, which Windows clients use for shares and mapped drives. TCP 21 is a tempting file transfer port, but it belongs to FTP, which does not provide mapped network drives.

    Open this question
  14. Question 64

    Networking Concepts

    Which default port does LDAP use for unencrypted directory queries?

    Show the answer

    Correct answerD. TCP 389

    AWhy not this: TCP 1433 is the default port for Microsoft SQL Server.

    BWhy not this: TCP 3389 is Remote Desktop Protocol, not directory services.

    CWhy not this: TCP 636 is LDAPS, the encrypted variant, not the default LDAP port.

    DWhy this is right: LDAP's default port for standard, unencrypted directory queries is TCP 389.

    LDAP uses TCP 389 by default for directory queries and authentication lookups. TCP 636 is tempting because it is also directory-related, but it is used by LDAPS, the SSL/TLS-protected version.

    Open this question
  15. Question 65

    Networking Concepts

    A mail client must submit outgoing messages to its provider's mail server over an encrypted SMTPS connection. Which port should the client be configured to use?

    Show the answer

    Correct answerD. TCP 587

    AWhy not this: This is the LDAPS port for encrypted directory queries, not mail.

    BWhy not this: This is the plain SMTP port used for server-to-server relay, not the secure submission port.

    CWhy not this: This is the HTTPS port for encrypted web traffic, not mail submission.

    DWhy this is right: This is the port assigned to SMTPS for secure outgoing mail submission.

    SMTPS for secure client mail submission uses TCP 587. TCP 25 is the default for plain SMTP, mainly server-to-server relay, and does not provide the secure submission port clients are configured with.

    Open this question
  16. Question 66

    Networking Concepts

    Which default ports does SIP use for unencrypted and TLS-encrypted call signaling, respectively?

    Show the answer

    Correct answerB. 5060 and 5061

    AWhy not this: These are SNMP ports for polling and traps, not VoIP call setup.

    BWhy this is right: These are the SIP ports for unencrypted and TLS-encrypted signaling.

    CWhy not this: These are DHCP server and client ports, not call signaling.

    DWhy not this: These are FTP data and control ports, not call signaling.

    SIP signaling for VoIP calls uses 5060 for unencrypted traffic and 5061 for TLS-encrypted traffic. Ports 161 and 162 are SNMP polling and traps, not call signaling.

    Open this question
  17. Question 67

    Networking Concepts

    Which default port does LDAP over SSL (LDAPS) use for encrypted directory queries?

    Show the answer

    Correct answerD. TCP 636

    AWhy not this: This is the SMB port for file and printer sharing, not directory queries.

    BWhy not this: This is the standard LDAP port, which carries queries unencrypted.

    CWhy not this: This is the HTTPS port for web traffic, not directory services.

    DWhy this is right: This is the default port assigned to LDAP over SSL.

    LDAPS uses TCP 636 to protect directory queries with SSL/TLS. TCP 389 is the unencrypted LDAP port, so using it sends queries and credentials without that protection.

    Open this question
  18. Question 68

    Networking Concepts

    An application server must query a Microsoft SQL Server database on an internal subnet using the default port, with no other access permitted. Which elements belong in the firewall rule? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Protocol: TCPE. Destination port: 1433F. Destination: the database server

    AWhy this is right: SQL Server client connections use TCP on its default port.

    BWhy not this: This is the SMB port for file sharing, not for SQL Server queries.

    CWhy not this: This is the RDP port, which is not needed for database queries.

    DWhy not this: SQL Server's default connections use TCP, so a UDP rule would not carry the queries.

    EWhy this is right: 1433 is the default port SQL Server listens on.

    FWhy this is right: The rule must target the host running the database so only it is reachable.

    SQL Server listens on TCP 1433, so the rule must permit TCP to port 1433 on the database server. Ports 3389 (RDP) and 445 (SMB) belong to other services and would open access that is not needed.

    Open this question
  19. Question 69

    Networking Concepts

    Administrators need a remote graphical desktop session to a Windows server through a firewall that currently allows only TCP 22 and TCP 443. Which port must be added?

    Show the answer

    Correct answerA. TCP 3389

    AWhy this is right: This is the default port for RDP graphical remote sessions.

    BWhy not this: This is the SQL Server database port, unrelated to desktop access.

    CWhy not this: This is the SMB port for file and printer sharing, not a desktop session.

    DWhy not this: This is Telnet, a text-based and unencrypted remote CLI, not a graphical desktop.

    RDP provides a remote graphical desktop and uses port 3389. TCP 445 is SMB, which shares files and printers but does not provide a remote desktop session.

    Open this question
  20. Question 70

    Networking Concepts

    A firewall allows replies to an internal user's outbound web request without a separate inbound rule for each reply. Which feature does this?

    Show the answer

    Correct answerB. Stateful inspection

    AWhy not this: This sends unsolicited inbound connections to a fixed internal host; it does not track outbound sessions.

    BWhy this is right: It tracks connection state, so return traffic that matches an outbound session is permitted automatically.

    CWhy not this: This matches packets to known attack patterns, as an IPS does; it does not track sessions to allow replies.

    DWhy not this: This blocks traffic by URL or content category; it does not decide whether reply packets belong to a session.

    Stateful inspection records each outbound connection in a state table and automatically permits matching return traffic. Port forwarding is tempting, but it maps unsolicited inbound traffic to an internal host and does not track outbound sessions.

    Open this question