{"id":23064,"date":"2026-09-26T11:28:40","date_gmt":"2026-09-26T11:28:40","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=23064"},"modified":"2026-09-26T11:28:40","modified_gmt":"2026-09-26T11:28:40","slug":"lpi-202-450-practice-test-questions-and-exam-dumps-part-13-q241-260","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-202-450-practice-test-questions-and-exam-dumps-part-13-q241-260\/","title":{"rendered":"LPI 202-450 Practice Test Questions and Exam Dumps Part 13 Q241-260"},"content":{"rendered":"<h1><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/202-450-exam-dumps\"><b>LPI 202-450\u00a0 Exam Dumps<\/b><\/a><b> and Practice Test Dumps<\/b><\/h1>\n<p>&nbsp;<\/p>\n<p><b>Question 241. Which BIND configuration statement controls whether recursive queries are permitted from specified clients?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> allow-query<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> recursion-only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> allow-recursion<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> query-source<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. allow-recursion<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The BIND <\/span><span style=\"font-weight: 400;\">allow-recursion<\/span><span style=\"font-weight: 400;\"> statement controls which clients are permitted to perform recursive DNS queries. It is commonly configured inside an <\/span><span style=\"font-weight: 400;\">options<\/span><span style=\"font-weight: 400;\"> block or an appropriate view. This is distinct from <\/span><span style=\"font-weight: 400;\">allow-query<\/span><span style=\"font-weight: 400;\">, which controls which clients can query the server generally. Restricting recursion is an important security measure because an openly recursive DNS server can be abused by unauthorized clients. Administrators should configure recursive access carefully, particularly on servers that are authoritative for public zones. Combining <\/span><span style=\"font-weight: 400;\">allow-recursion<\/span><span style=\"font-weight: 400;\"> with appropriate interface and query restrictions helps limit unnecessary exposure while maintaining required DNS functionality.<\/span><\/p>\n<p><b>Question 242. Which Apache directive specifies the network address and TCP port on which the server listens for HTTP requests?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Listen<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ServerName<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> BindAddress<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> VirtualHostName<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Listen<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">Listen<\/span><span style=\"font-weight: 400;\"> directive specifies the IP address and TCP port on which Apache accepts incoming connections. For example, <\/span><span style=\"font-weight: 400;\">Listen 80<\/span><span style=\"font-weight: 400;\"> causes Apache to listen for HTTP traffic on TCP port 80, while <\/span><span style=\"font-weight: 400;\">Listen 192.0.2.10:8080<\/span><span style=\"font-weight: 400;\"> restricts listening to a particular address and port. <\/span><span style=\"font-weight: 400;\">ServerName<\/span><span style=\"font-weight: 400;\"> identifies the server&#8217;s hostname and does not determine the listening socket. The <\/span><span style=\"font-weight: 400;\">VirtualHost<\/span><span style=\"font-weight: 400;\"> configuration uses address and port combinations to define virtual hosts, but <\/span><span style=\"font-weight: 400;\">Listen<\/span><span style=\"font-weight: 400;\"> is the directive responsible for opening the listening endpoint.<\/span><\/p>\n<p><b>Question 243. Which NFS configuration file defines the directories that a server exports to clients?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/nfs.conf<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/fstab<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/exports<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/nfs\/exports.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>\/etc\/exports<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/exports<\/span><span style=\"font-weight: 400;\"> file contains definitions of file systems that an NFS server makes available to clients. Each export can specify client hosts or networks and options such as read-only access, root squashing, and synchronization behavior. After modifying the file, administrators commonly use <\/span><span style=\"font-weight: 400;\">exportfs<\/span><span style=\"font-weight: 400;\"> to update the active export table. <\/span><span style=\"font-weight: 400;\">\/etc\/fstab<\/span><span style=\"font-weight: 400;\"> is primarily used for defining file systems to mount, while <\/span><span style=\"font-weight: 400;\">\/etc\/nfs.conf<\/span><span style=\"font-weight: 400;\"> contains NFS service configuration rather than the primary export list. Correct export configuration is essential for controlling which clients can access shared file systems.<\/span><\/p>\n<p><b>Question 244. Which Samba command can be used to list the shares offered by a remote SMB server?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbshow<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbclient -L<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbshare -l<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbstatus -L<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>smbclient -L<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">smbclient -L<\/span><span style=\"font-weight: 400;\"> command lists the shares available on a remote SMB\/CIFS server. For example, <\/span><span style=\"font-weight: 400;\">smbclient -L \/\/server.example.com<\/span><span style=\"font-weight: 400;\"> can display available disk shares, printers, and other published resources, subject to authentication and server permissions. This makes the command useful when troubleshooting Samba connectivity or verifying that a server is publishing the expected shares. <\/span><span style=\"font-weight: 400;\">smbstatus<\/span><span style=\"font-weight: 400;\"> instead reports information about current Samba connections and locks on a local Samba server. The <\/span><span style=\"font-weight: 400;\">smbclient<\/span><span style=\"font-weight: 400;\"> utility can also be used interactively to access individual SMB shares.<\/span><\/p>\n<p><b>Question 245. Which DNS record is normally used to identify the authoritative name servers for a DNS zone?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> MX<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> SOA<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CNAME<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> NS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. NS<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">NS records identify the authoritative name servers for a DNS zone. They are essential to DNS delegation because a parent zone uses NS records to identify the servers responsible for answering authoritatively for a delegated child zone. An SOA record provides administrative information about the zone and identifies the primary name server in its MNAME field, but it is not the record type used to list the zone&#8217;s authoritative name servers. MX records identify mail servers, while CNAME records create aliases. Administrators can inspect NS records with tools such as <\/span><span style=\"font-weight: 400;\">dig NS example.com<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question 246. Which DHCP message does a client normally send after receiving a DHCPOFFER to request the offered configuration?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPREQUEST<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPACK<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPDECLINE<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPINFORM<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. DHCPREQUEST<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A DHCP client normally sends a DHCPREQUEST after receiving one or more DHCPOFFER messages. The request indicates which offered configuration the client wants to accept. The selected DHCP server then normally responds with DHCPACK to confirm the lease. DHCPDECLINE is used when the client detects that an offered address is already in use, while DHCPINFORM allows a client that already has an address to request additional configuration information. Understanding this message sequence is important when troubleshooting address-assignment failures and identifying whether a problem occurs during discovery, offer, request, or acknowledgment.<\/span><\/p>\n<p><b>Question 247. Which Postfix parameter identifies the network interfaces on which the SMTP service should listen?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> mynetworks<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> inet_interfaces<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> smtp_interfaces<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> listen_interfaces<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. inet_interfaces<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Postfix <\/span><span style=\"font-weight: 400;\">inet_interfaces<\/span><span style=\"font-weight: 400;\"> parameter specifies the network interfaces or addresses on which Postfix accepts incoming SMTP connections. Its value can be configured to listen on all interfaces or selected addresses depending on the server&#8217;s role. This setting is different from <\/span><span style=\"font-weight: 400;\">mynetworks<\/span><span style=\"font-weight: 400;\">, which identifies trusted client networks that are allowed to relay under the configured policy. <\/span><span style=\"font-weight: 400;\">inet_protocols<\/span><span style=\"font-weight: 400;\"> controls which IP protocols are used, such as IPv4 or IPv6. Incorrect <\/span><span style=\"font-weight: 400;\">inet_interfaces<\/span><span style=\"font-weight: 400;\"> configuration can cause Postfix to listen only on localhost or fail to accept connections on an intended network interface.<\/span><\/p>\n<p><b>Question 248. Which Dovecot protocol is normally used by clients to access and manage mail stored on a remote server while keeping messages on the server?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> SMTP<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> POP3<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IMAP<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> LMTP<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. IMAP<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">IMAP is designed for accessing and managing mailboxes while messages remain stored on the mail server. It supports folders, message flags, synchronization, and access from multiple devices. POP3 traditionally focuses on downloading messages to a client and has fewer mailbox-management capabilities. SMTP is primarily used for mail submission and transfer between mail systems, while LMTP is commonly used for local delivery from a mail transfer agent to a mail delivery service. Dovecot commonly provides IMAP and POP3 services, making it an important component of Linux-based email infrastructure.<\/span><\/p>\n<p><b>Question 249. Which SSH configuration directive specifies the maximum number of authentication attempts permitted per connection?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> MaxAuthTries<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> AuthenticationLimit<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> LoginAttempts<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> MaxLoginTries<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. MaxAuthTries<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH <\/span><span style=\"font-weight: 400;\">MaxAuthTries<\/span><span style=\"font-weight: 400;\"> directive specifies the maximum number of authentication attempts permitted per connection. This can help limit repeated authentication attempts during a single SSH session. It is configured in the SSH server configuration file, commonly <\/span><span style=\"font-weight: 400;\">\/etc\/ssh\/sshd_config<\/span><span style=\"font-weight: 400;\">. Other controls such as <\/span><span style=\"font-weight: 400;\">MaxStartups<\/span><span style=\"font-weight: 400;\"> govern unauthenticated concurrent connections rather than the number of authentication attempts within one connection. Administrators should distinguish these settings because they address different aspects of SSH access control. After modifying the SSH daemon configuration, the configuration should be validated before reloading the service.<\/span><\/p>\n<p><b>Question 250. Which command displays detailed SELinux status information, including the current mode and loaded policy?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">getenforce -v<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">selinuxctl status<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">sestatus<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">seinfo &#8211;status<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>sestatus<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">sestatus<\/span><span style=\"font-weight: 400;\"> command provides detailed information about SELinux status. Its output can include whether SELinux is enabled, the current enforcement mode, the loaded policy, and related configuration information. By comparison, <\/span><span style=\"font-weight: 400;\">getenforce<\/span><span style=\"font-weight: 400;\"> provides only the current enforcement state such as Enforcing, Permissive, or Disabled. Administrators commonly use <\/span><span style=\"font-weight: 400;\">sestatus<\/span><span style=\"font-weight: 400;\"> during troubleshooting when they need more context than a simple enforcement-mode check. Understanding the difference between these commands is useful when determining whether an access problem may be related to SELinux policy enforcement.<\/span><\/p>\n<p><b>Question 251. Which nftables object normally contains packet-filtering rules and is attached to a hook such as <\/b><b>input<\/b><b> or <\/b><b>forward<\/b><b>?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Set<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Chain<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Map<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Counter<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Chain<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An nftables chain normally contains the rules used to process packets. Base chains can be attached to hooks such as <\/span><span style=\"font-weight: 400;\">input<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">output<\/span><span style=\"font-weight: 400;\">, or <\/span><span style=\"font-weight: 400;\">forward<\/span><span style=\"font-weight: 400;\">, allowing the kernel to invoke those rules at appropriate points in packet processing. Tables organize chains, while sets and maps provide data structures that rules can use for matching. Counters track traffic statistics. Understanding the hierarchy of tables, chains, rules, sets, and hooks is essential when managing nftables because rules are not attached directly to tables; they are placed within chains that provide the processing context.<\/span><\/p>\n<p><b>Question 252. Which DNS command option directs <\/b><b>dig<\/b><b> to query a specific DNS server?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">-s<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">&#8211;server<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">@<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-n<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>@<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\">, the <\/span><span style=\"font-weight: 400;\">@<\/span><span style=\"font-weight: 400;\"> syntax specifies the DNS server that should receive the query. For example, <\/span><span style=\"font-weight: 400;\">dig @192.0.2.53 example.com<\/span><span style=\"font-weight: 400;\"> sends the query directly to the DNS server at that address rather than relying on the system&#8217;s default resolver. This is particularly useful when testing authoritative servers, validating configuration changes, or comparing responses from different DNS servers. The query can also specify a record type, such as <\/span><span style=\"font-weight: 400;\">dig @192.0.2.53 example.com MX<\/span><span style=\"font-weight: 400;\">. This capability makes <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\"> an important diagnostic utility for DNS administrators.<\/span><\/p>\n<p><b>Question 253. Which Apache status code indicates that the requested resource could not be found?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> 403<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> 500<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> 301<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> 404<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. 404<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">HTTP status code 404 indicates that the requested resource could not be found on the server. In Apache troubleshooting, a 404 response commonly means that the requested URL does not map to an existing resource, although application routing and rewrite rules can also produce this result. Status 403 indicates that access is forbidden, 500 indicates an internal server error, and 301 represents a permanent redirect. Administrators should examine Apache access and error logs, URL rewriting rules, document roots, and application configuration when investigating unexpected 404 responses.<\/span><\/p>\n<p><b>Question 254. Which command reloads the active NFS export configuration without requiring a full server reboot?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">exportfs -r<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nfsreload -a<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mount -a<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nfsctl &#8211;reload<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>exportfs -r<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">exportfs -r<\/span><span style=\"font-weight: 400;\"> command re-exports the directories listed in <\/span><span style=\"font-weight: 400;\">\/etc\/exports<\/span><span style=\"font-weight: 400;\">, synchronizing the active NFS export table with the configuration file. This is commonly used after modifying NFS exports. It avoids the need to reboot the system and allows administrators to apply export configuration changes directly. <\/span><span style=\"font-weight: 400;\">mount -a<\/span><span style=\"font-weight: 400;\"> processes local mount definitions from <\/span><span style=\"font-weight: 400;\">\/etc\/fstab<\/span><span style=\"font-weight: 400;\">, not NFS server exports. The <\/span><span style=\"font-weight: 400;\">exportfs<\/span><span style=\"font-weight: 400;\"> utility also provides options for listing, adding, and removing exports, making it an important administration tool for NFS servers.<\/span><\/p>\n<p><b>Question 255. Which Postfix command is commonly used to inspect the value of a configuration parameter?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">postconf<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postcheck<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postshow<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postcfg<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>postconf<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">postconf<\/span><span style=\"font-weight: 400;\"> utility is used to display and manage Postfix configuration parameters. Running <\/span><span style=\"font-weight: 400;\">postconf<\/span><span style=\"font-weight: 400;\"> without a parameter can display the configured parameters, while <\/span><span style=\"font-weight: 400;\">postconf parameter_name<\/span><span style=\"font-weight: 400;\"> can show the value of a particular setting. For example, <\/span><span style=\"font-weight: 400;\">postconf myhostname<\/span><span style=\"font-weight: 400;\"> displays the configured hostname value. This makes <\/span><span style=\"font-weight: 400;\">postconf<\/span><span style=\"font-weight: 400;\"> useful when diagnosing mail-server configuration problems without manually searching through configuration files. Commands such as <\/span><span style=\"font-weight: 400;\">postqueue<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">postsuper<\/span><span style=\"font-weight: 400;\"> serve different purposes, dealing primarily with the mail queue rather than the main Postfix configuration.<\/span><\/p>\n<p><b>Question 256. Which Dovecot setting identifies the location where user mailboxes are stored?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">mail_path<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mail_location<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mail_store<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mail_directory<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>mail_location<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Dovecot <\/span><span style=\"font-weight: 400;\">mail_location<\/span><span style=\"font-weight: 400;\"> setting specifies the mailbox storage format and location. It can define where mail is stored and how Dovecot should interpret the mailbox structure. A properly configured <\/span><span style=\"font-weight: 400;\">mail_location<\/span><span style=\"font-weight: 400;\"> is essential because Dovecot must know where to find users&#8217; messages for IMAP or POP3 access. The exact syntax depends on the mailbox format and deployment. Administrators should ensure that the storage location matches the mail delivery configuration, because mismatches between the mail delivery system and Dovecot can result in users being unable to see newly delivered messages.<\/span><\/p>\n<p><b>Question 257. Which Linux file controls the order and sources used by the Name Service Switch for resolving hostnames?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/hostname<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/nsswitch.conf<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/hosts.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>\/etc\/nsswitch.conf<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/nsswitch.conf<\/span><span style=\"font-weight: 400;\"> file controls the sources and lookup order used by the Name Service Switch. For hostname resolution, an entry such as <\/span><span style=\"font-weight: 400;\">hosts: files dns<\/span><span style=\"font-weight: 400;\"> tells the system to consult local files such as <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> before DNS. This differs from <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\">, which primarily specifies DNS resolver parameters such as nameservers and search domains. Understanding the distinction is important when troubleshooting hostname resolution because a problem may result from lookup order, incorrect local entries, or incorrect DNS resolver configuration.<\/span><\/p>\n<p><b>Question 258. Which command can display the routing table using the modern <\/b><b>ip<\/b><b> networking utility?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip route<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip gateway<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip network<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip table<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>ip route<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">ip route<\/span><span style=\"font-weight: 400;\"> command displays the kernel&#8217;s routing table. It can show directly connected networks, default routes, gateway information, metrics, and other routing attributes. Administrators use it to determine how Linux will forward traffic toward a destination. For example, <\/span><span style=\"font-weight: 400;\">ip route<\/span><span style=\"font-weight: 400;\"> may show a default route through a gateway and specific routes for local networks. The <\/span><span style=\"font-weight: 400;\">ip<\/span><span style=\"font-weight: 400;\"> utility replaces many older networking commands and provides a consistent interface for managing addresses, links, routes, and related networking objects.<\/span><\/p>\n<p><b>Question 259. Which DNS record type provides reverse mapping from an IP address to a hostname?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CNAME<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> PTR<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> SRV<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. PTR<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A PTR record provides reverse DNS mapping from an IP address to a hostname. IPv4 reverse DNS records are stored under the <\/span><span style=\"font-weight: 400;\">in-addr.arpa<\/span><span style=\"font-weight: 400;\"> domain, while IPv6 reverse DNS uses <\/span><span style=\"font-weight: 400;\">ip6.arpa<\/span><span style=\"font-weight: 400;\">. PTR records are commonly used by network services, logging systems, and mail servers when checking reverse name resolution. An A record maps a hostname to an IPv4 address, CNAME creates a hostname alias, and SRV identifies services and their associated hosts and ports. Correct reverse DNS configuration is particularly important for services that perform hostname or reputation checks based on client IP addresses.<\/span><\/p>\n<p><b>Question 260. Which command can test whether an SSH server is reachable on a specific TCP port without establishing an SSH login session?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ssh-keyscan<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ssh -p<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nc -z<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">sshd-test<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>nc -z<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nc -z<\/span><span style=\"font-weight: 400;\"> option allows netcat to scan or test whether a TCP port is accepting connections without transmitting application data. For example, <\/span><span style=\"font-weight: 400;\">nc -zv server.example.com 22<\/span><span style=\"font-weight: 400;\"> can test whether TCP port 22 is reachable and listening. This can help distinguish basic network or firewall problems from SSH authentication and configuration problems. <\/span><span style=\"font-weight: 400;\">ssh -p<\/span><span style=\"font-weight: 400;\"> specifies the port for an actual SSH connection, while <\/span><span style=\"font-weight: 400;\">ssh-keyscan<\/span><span style=\"font-weight: 400;\"> retrieves SSH host keys. Administrators can therefore use <\/span><span style=\"font-weight: 400;\">nc<\/span><span style=\"font-weight: 400;\"> as a simple network-level diagnostic before investigating higher-level SSH authentication issues.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full LPI 202-450\u00a0 Exam Dumps and Practice Test Dumps &nbsp; Question 241. Which BIND configuration statement controls whether recursive queries are permitted from specified clients? allow-query recursion-only allow-recursion query-source Correct Answer: 3. allow-recursion Explanation :- The BIND allow-recursion statement controls which clients are permitted to perform recursive DNS queries. It is commonly configured inside [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23064"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=23064"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23064\/revisions"}],"predecessor-version":[{"id":23065,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23064\/revisions\/23065"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=23064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=23064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=23064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}