CompTIA XK0-006 (CompTIA Linux+) Practice Test 62

Question 610

Large HTTPS uploads hang while tiny requests succeed across a VPN. Which network property is a strong suspect?

  1. Local TCP filtering or listen-path failure
  2. Overlap of allowed SSH host-key algorithms
  3. Application backend availability and proxy health
  4. Path MTU or MSS mismatch

Explanation

Correct Answer

D:

Oversized packets and blocked fragmentation feedback can stall larger transfers. Inspect MTU, MSS clamping and ICMP packet-too-big handling.

Incorrect Answers

A:

Arriving SYNs without responses suggest host-side filtering or failure to service the target socket; it will not provide diagnosing size-dependent TCP stalls under these conditions.

B:

The client and server must negotiate a mutually supported acceptable host-key algorithm; using it would leave diagnosing size-dependent TCP stalls unresolved.

C:

HTTP 503 indicates that the request reached an HTTP-speaking server which cannot currently serve it; the requirement is diagnosing size-dependent TCP stalls, outside the effect of this choice.

Question 611

Clients report connection refused on TCP 443, and ss shows no process listening there. What is the likely immediate cause?

  1. Local TCP filtering or listen-path failure
  2. UDP-specific reachability and filtering test
  3. Destination explicitly rejecting the connection
  4. TLS endpoint authentication
  5. Packet loss and link errors on the affected path
  6. No service bound to the requested port

Explanation

Correct Answer

F:

A refused connection commonly indicates the destination stack rejected the attempt because no listener exists. Start or reconfigure the intended service.

Incorrect Answers

A:

Arriving SYNs without responses suggest host-side filtering or failure to service the target socket; the task involves diagnosing absence of a TCP listener, whereas this addresses another subsystem.

B:

ICMP success does not establish UDP port reachability; its scope differs from diagnosing absence of a TCP listener, so it cannot meet the stated requirement.

C:

TCP RST often indicates a closed port or intentional rejection policy; that is not equivalent to diagnosing absence of a TCP listener.

D:

TCP reachability exists, but certificate validation rejects the server identity; the administrator instead needs diagnosing absence of a TCP listener; this option serves a different purpose.

E:

Retransmissions often reflect loss, congestion or reordering rather than application parsing; it answers a neighboring question rather than diagnosing absence of a TCP listener.

Question 612

A team changed MTU on a VLAN interface but not the physical path, and large packets are dropped. Which configuration consistency matters?

  1. End-to-end effective MTU across the VLAN path
  2. ARP or neighbor-discovery cache
  3. Cable, transceiver or switch-port fault
  4. Physical-layer corruption or faulty link components

Explanation

Correct Answer

A:

Encapsulation overhead and lower-device limits determine usable payload size. All relevant segments must support the chosen MTU.

Incorrect Answers

B:

Neighbor tables map IP addresses to link-layer addresses; this does not achieve aligning VLAN and underlay MTU values on the system described.

C:

Administrative UP does not guarantee electrical or optical carrier; it will not provide aligning VLAN and underlay MTU values under these conditions.

D:

Frame check sequence errors are consistent with corrupted link-layer traffic; using it would leave aligning VLAN and underlay MTU values unresolved.

Question 613

A host's /etc/hosts entry is correct but applications keep using a different DNS result. Which setting determines lookup order?

  1. Cached DNS answers still within TTL
  2. NSS hosts source precedence
  3. DNS resolution path
  4. systemd-resolved stub listener

Explanation

Correct Answer

B:

/etc/nsswitch.conf can prefer DNS over local files or omit them. Applications using NSS then follow that configured order.

Incorrect Answers

A:

Resolvers can cache records for their time-to-live, delaying observation of changes; it does not deliver diagnosing unexpected hosts versus DNS precedence, which is decisive in this scenario.

C:

Successful IP connectivity with failed hostname lookup points toward DNS or NSS configuration; the task involves diagnosing unexpected hosts versus DNS precedence, whereas this addresses another subsystem.

D:

On distributions using the stub resolver, 127.0.0.53 forwards local DNS requests to configured upstream servers; its scope differs from diagnosing unexpected hosts versus DNS precedence, so it cannot meet the stated requirement.

Question 614

Several services bind to 127.0.0.1 only, and remote users get connection refused despite open firewall rules. Which setting is most relevant?

  1. IPv4 default gateway route
  2. Unreachable next-hop gateway
  3. Service bind address
  4. IPv6 default route and router advertisements

Explanation

Correct Answer

C:

A listener on loopback cannot accept connections to the machine's external IP. Configure the service to listen on a suitable interface securely.

Incorrect Answers

A:

Local subnet traffic uses connected routes, while off-subnet destinations need a gateway or other suitable route; the administrator instead needs correcting a local-only listener for remote access; this option serves a different purpose.

B:

A gateway normally must be reachable through an on-link route or explicit next-hop configuration; it answers a neighboring question rather than correcting a local-only listener for remote access.

D:

Link-local scope functions without global routing; this does not achieve correcting a local-only listener for remote access on the system described.

Question 615

curl https://api.internal fails with Could not resolve host, but pinging the service IP works. What should be investigated first?

  1. NSS hosts source precedence
  2. Incomplete DNS resolution due to blocked TCP fallback
  3. systemd-resolved stub listener
  4. DNS resolution path

Explanation

Correct Answer

D:

Successful IP connectivity with failed hostname lookup points toward DNS or NSS configuration. Check the resolver and queried record.

Incorrect Answers

A:

/etc/nsswitch.conf can prefer DNS over local files or omit them; using it would leave separating name resolution failure from IP connectivity unresolved.

B:

DNS can use TCP for truncated or larger responses; the requirement is separating name resolution failure from IP connectivity, outside the effect of this choice.

C:

On distributions using the stub resolver, 127.0.0.53 forwards local DNS requests to configured upstream servers; it does not deliver separating name resolution failure from IP connectivity, which is decisive in this scenario.

Question 616

A Linux host reaches its subnet but not the internet, and ip route lacks 0.0.0.0/0. What is missing?

  1. Unreachable next-hop gateway
  2. IPv4 default gateway route
  3. Incorrect connected subnet calculation
  4. Duplicate IP address assignment
  5. IPv6 default route and router advertisements

Explanation

Correct Answer

B:

Local subnet traffic uses connected routes, while off-subnet destinations need a gateway or other suitable route. Configure the intended default next hop.

Incorrect Answers

A:

A gateway normally must be reachable through an on-link route or explicit next-hop configuration; its scope differs from restoring off-subnet IPv4 routing, so it cannot meet the stated requirement.

C:

A /25 prefix splits a /24 into two separate subnets; the administrator instead needs restoring off-subnet IPv4 routing; this option serves a different purpose.

D:

Two devices claiming one address can cause unstable ARP resolution and traffic delivery; it answers a neighboring question rather than restoring off-subnet IPv4 routing.

E:

Link-local scope functions without global routing; that changes a different part of the system; the requested outcome is restoring off-subnet IPv4 routing.

Question 617

A DNS service record has a very long TTL and clients keep connecting to the old endpoint after failover. What is the likely cause?

  1. Incomplete DNS resolution due to blocked TCP fallback
  2. NSS hosts source precedence
  3. systemd-resolved stub listener
  4. Cached DNS answers still within TTL

Explanation

Correct Answer

D:

Resolvers can cache records for their time-to-live, delaying observation of changes. Plan lower TTLs ahead of controlled migrations.

Incorrect Answers

A:

DNS can use TCP for truncated or larger responses; this does not achieve diagnosing stale DNS information after failover on the system described.

B:

/etc/nsswitch.conf can prefer DNS over local files or omit them; it will not provide diagnosing stale DNS information after failover under these conditions.

C:

On distributions using the stub resolver, 127.0.0.53 forwards local DNS requests to configured upstream servers; using it would leave diagnosing stale DNS information after failover unresolved.

Question 618

A web service listens correctly but only traffic from a management subnet succeeds. Which layer should be checked for an allowlist?

  1. Overlap of allowed SSH host-key algorithms
  2. UDP-specific reachability and filtering test
  3. Host and upstream firewall source rules
  4. TLS endpoint authentication

Explanation

Correct Answer

C:

Source-based filtering can permit one network and silently drop other clients. Examine ordered firewall and perimeter policies.

Incorrect Answers

A:

The client and server must negotiate a mutually supported acceptable host-key algorithm; the evidence calls for locating source-specific network filtering, not merely this separate operation.

B:

ICMP success does not establish UDP port reachability; the task involves locating source-specific network filtering, whereas this addresses another subsystem.

D:

TCP reachability exists, but certificate validation rejects the server identity; that is not equivalent to locating source-specific network filtering.

Question 619

Two hosts intermittently lose connectivity and an ARP table alternates MAC addresses for one IPv4 address. What should be suspected?

  1. Unreachable next-hop gateway
  2. Persistent network-manager profile
  3. IPv4 default gateway route
  4. Duplicate IP address assignment

Explanation

Correct Answer

D:

Two devices claiming one address can cause unstable ARP resolution and traffic delivery. Identify conflicting leases or static settings.

Incorrect Answers

A:

A gateway normally must be reachable through an on-link route or explicit next-hop configuration; it answers a neighboring question rather than interpreting flapping ARP neighbors.

B:

Transient ip address commands modify current kernel state but do not necessarily persist across boot; that changes a different part of the system; the requested outcome is interpreting flapping ARP neighbors.

C:

Local subnet traffic uses connected routes, while off-subnet destinations need a gateway or other suitable route; this does not achieve interpreting flapping ARP neighbors on the system described.

Question 620

A port negotiates 100 Mb/s instead of its expected 1 Gb/s, without an intentional cap. Which detail should be checked?

  1. Bonding mode and slave attachment
  2. Ethernet autonegotiation and cabling quality
  3. VLAN ID and switch trunk tagging agreement
  4. Cable, transceiver or switch-port fault

Explanation

Correct Answer

B:

Poor cable pairs or mismatched negotiation can limit link speed. Inspect both endpoints' capabilities and physical media.

Incorrect Answers

A:

Active-backup bonding should retain connectivity when a functioning alternate link takes over; the requirement is diagnosing lower-than-expected Ethernet link rate, outside the effect of this choice.

C:

Tagged frames must use matching VLAN IDs across the host, bridge and switch trunk; the evidence calls for diagnosing lower-than-expected Ethernet link rate, not merely this separate operation.

D:

Administrative UP does not guarantee electrical or optical carrier; the task involves diagnosing lower-than-expected Ethernet link rate, whereas this addresses another subsystem.

CompTIA Linux+ (XK0-006) Practice Tests