102-400 Sample Questions

102-400 Sample Questions & Answers

Internet protocol fundamentals and basic network configuration carry the most weight, alongside administrative tasks like user accounts and scheduled jobs, system time and logging, security tasks, shell customization and scripting, and setting up X11.

Launch the full 102-400 simulator →

Showing 6 of 12 free samples.

  1. Question 1

    What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

    Show answer & explanation

    Correct answer: E

    The correct syslog.conf entry to display all messages on console 12 is ./dev/tty12, where . means all facilities and all priorities, and /dev/tty12 is the device file for virtual terminal 12. Option A uses invalid pipe syntax for syslog. Option B only captures mail facility messages. Option C lacks the facility.priority selector. Option D is not a valid syslog entry format.

  2. Question 2

    Which configuration file would be edited to change default options for the OpenSSH server?

    Show answer & explanation

    Correct answer: D

    /etc/ssh/sshd_config is the main configuration file for the OpenSSH server daemon (sshd). This file contains server-specific settings like port numbers, authentication methods, and access controls. Option A and E are non-existent files. Option B is incomplete. Option C (/etc/ssh/ssh_config) is the client configuration file, not the server configuration.

  3. Question 3Select 2

    Which of the following commands can be used to display the local routing table? (Choose two.)

    Show answer & explanation

    Correct answers: D, E

    The route command displays and manipulates the local routing table, showing destination networks, gateways, and interface information. Used with no arguments, it shows the current routing table. The netstat command with -r option also displays routing information. Other options are incorrect: trackroute is not a valid command, dig is for DNS queries, and ifconfig shows interface configuration but not routing tables.

    The netstat command with the -r option displays the local routing table, showing routes, gateways, and network interfaces. It provides similar information to the route command but in a different format. The route command is the other correct answer. Other options are incorrect: trackroute is not a valid command, dig is for DNS queries, and ifconfig shows interface configuration but not routing tables.

  4. Question 4

    Why is the correct configuration of a system's time zone important?

    Show answer & explanation

    Correct answer: A

    Unix systems store file timestamps as seconds since epoch (UTC), and the time zone configuration is essential for converting these timestamps to local time for display. Without proper time zone configuration, displayed times would be incorrect. Option B is wrong as time zones are not stored with files. Option C incorrectly links locale settings to time zones. Option D is incorrect as NTP server selection is typically geographic, not time zone based.

  5. Question 5

    Which of the following is true about IPv6?

    Show answer & explanation

    Correct answer: B

    IPv6 replaced broadcast with multicast and anycast addressing, so broadcast addresses no longer exist in IPv6. This was done to improve network efficiency and reduce unnecessary traffic. Option A is incorrect as IPv4 addresses need encapsulation or translation. Option C is wrong as TCP port numbers remain the same. Option D is incorrect as UDP and TCP are still used. Option E is wrong as IPv6 extensively uses multicast.

  6. Question 6Select 3

    Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose three.)

    Show answer & explanation

    Correct answers: A, B, D

    Sendmail is one of the oldest and most widely used Mail Transfer Agents, handling email routing and delivery. Along with Exim and Postfix, it forms the trio of major MTAs in Linux systems. Procmail is a Mail Delivery Agent (MDA), not an MTA. SMTPd is a generic term for SMTP daemons, not a specific MTA application.

    Exim is a popular Mail Transfer Agent especially common on Debian-based systems, known for its flexible configuration and security features. Together with Sendmail and Postfix, it represents one of the three major MTAs. Procmail is a Mail Delivery Agent (MDA), not an MTA. SMTPd is a generic term for SMTP daemons, not a specific MTA application.

    Postfix is a modern, secure Mail Transfer Agent designed as a Sendmail replacement, known for its security and ease of configuration. Along with Sendmail and Exim, it completes the trio of major MTAs in Linux environments. Procmail is a Mail Delivery Agent (MDA), not an MTA. SMTPd is a generic term for SMTP daemons, not a specific MTA application.

Ready for the real thing?

The full 102-400 simulator has every exam-style question, timed mode, and instant scoring.