{"id":23072,"date":"2026-09-26T11:29:39","date_gmt":"2026-09-26T11:29:39","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=23072"},"modified":"2026-09-26T11:29:39","modified_gmt":"2026-09-26T11:29:39","slug":"lpi-202-450-practice-test-questions-and-exam-dumps-part-17-q321-340","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-202-450-practice-test-questions-and-exam-dumps-part-17-q321-340\/","title":{"rendered":"LPI 202-450 Practice Test Questions and Exam Dumps Part 17 Q321-340"},"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 321. Which BIND directive specifies the IP addresses and ports on which named accepts DNS queries?<\/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;\">query-source<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">listen-on<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">query-address<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>listen-on<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The BIND <\/span><span style=\"font-weight: 400;\">listen-on<\/span><span style=\"font-weight: 400;\"> directive specifies the IPv4 addresses and ports on which the DNS server listens for incoming queries. It determines where the <\/span><span style=\"font-weight: 400;\">named<\/span><span style=\"font-weight: 400;\"> process accepts DNS traffic, while <\/span><span style=\"font-weight: 400;\">allow-query<\/span><span style=\"font-weight: 400;\"> controls which clients are permitted to submit queries. These settings therefore address different aspects of DNS access. For IPv6, BIND provides the corresponding <\/span><span style=\"font-weight: 400;\">listen-on-v6<\/span><span style=\"font-weight: 400;\"> statement. Proper interface configuration is useful on multi-homed systems where DNS service should be available only through selected network interfaces. Administrators should verify both listening addresses and client permissions when troubleshooting DNS connectivity.<\/span><\/p>\n<p><b>Question 322. Which Apache directive specifies the directory containing the files served by a virtual host?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">DocumentRoot<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">WebRoot<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">SiteDirectory<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ServerRoot<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>DocumentRoot<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">DocumentRoot<\/span><span style=\"font-weight: 400;\"> directive specifies the directory from which Apache serves files for a website or virtual host. For example, <\/span><span style=\"font-weight: 400;\">DocumentRoot \/var\/www\/example<\/span><span style=\"font-weight: 400;\"> tells Apache where to look for requested web resources. <\/span><span style=\"font-weight: 400;\">ServerRoot<\/span><span style=\"font-weight: 400;\"> instead identifies the base directory containing server configuration and related files. A correct <\/span><span style=\"font-weight: 400;\">DocumentRoot<\/span><span style=\"font-weight: 400;\"> is essential for serving the intended content. When troubleshooting unexpected 404 responses, administrators should check the requested URL, the configured <\/span><span style=\"font-weight: 400;\">DocumentRoot<\/span><span style=\"font-weight: 400;\">, file existence, permissions, and any rewrite or alias rules that may affect how Apache maps URLs to files.<\/span><\/p>\n<p><b>Question 323. Which NFS option makes an exported file system available only for read operations?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">readonly<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ro<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">no_write<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">read_only<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>ro<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The NFS <\/span><span style=\"font-weight: 400;\">ro<\/span><span style=\"font-weight: 400;\"> export option makes an exported file system read-only for clients. Clients can retrieve files but cannot normally perform write operations through the NFS mount. This can be useful for shared software, reference data, documentation, or other content that should not be modified by clients. The server-side export configuration can also use <\/span><span style=\"font-weight: 400;\">rw<\/span><span style=\"font-weight: 400;\"> when write access is intended. Administrators should remember that NFS export permissions and local Unix permissions both influence access. A client-side mount option alone does not necessarily provide the same administrative control as enforcing the intended access mode on the server.<\/span><\/p>\n<p><b>Question 324. Which Samba command displays information about current connections and file locks?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbclient -L<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbstatus<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">testparm -s<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">smbinfo<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>smbstatus<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">smbstatus<\/span><span style=\"font-weight: 400;\"> utility displays information about active Samba connections, locked files, and sessions associated with the Samba server. It is useful when investigating which users are connected to shares or why a file may be reported as busy. <\/span><span style=\"font-weight: 400;\">smbclient -L<\/span><span style=\"font-weight: 400;\"> is used to discover shares on an SMB server, while <\/span><span style=\"font-weight: 400;\">testparm<\/span><span style=\"font-weight: 400;\"> checks Samba configuration. Administrators can use <\/span><span style=\"font-weight: 400;\">smbstatus<\/span><span style=\"font-weight: 400;\"> during operational troubleshooting to identify active sessions and resources. The exact information displayed depends on the Samba version and the privileges of the user running the command.<\/span><\/p>\n<p><b>Question 325. Which DNS record specifies the preferred mail servers for a domain?<\/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;\">MAIL<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">SMTP<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">MTA<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>MX<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An MX record identifies the mail exchangers responsible for receiving email for a domain. Each MX record can contain a preference value, allowing multiple mail servers to be arranged according to priority. Sending mail systems query the recipient domain&#8217;s MX records to determine where messages should be delivered. The hostname named by an MX record must resolve through address records such as A or AAAA. MX is a DNS record type; SMTP is the protocol used for transferring mail between systems. Administrators can inspect MX records with <\/span><span style=\"font-weight: 400;\">dig MX domain.example<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question 326. Which DHCP option provides clients with the addresses of DNS servers?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Option 3<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Option 6<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Option 12<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Option 15<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Option 6<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">DHCP option 6 supplies clients with DNS server addresses. A DHCP server can use this option to tell clients which recursive resolvers they should use for hostname resolution. Option 3 specifies routers or default gateways, option 12 provides the client hostname, and option 15 specifies the domain name. Correct DNS-server information is important because a client may have valid IP connectivity while still being unable to resolve hostnames if its resolver configuration is missing or incorrect. Administrators can inspect the resulting configuration using platform-specific network-management tools.<\/span><\/p>\n<p><b>Question 327. Which Postfix parameter identifies domains for which the server should perform local delivery?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">mydestination<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">local_domains<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mydomains<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">local_destinations<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>mydestination<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Postfix <\/span><span style=\"font-weight: 400;\">mydestination<\/span><span style=\"font-weight: 400;\"> parameter specifies the domains and hostnames for which Postfix considers itself the final delivery destination. Mail addressed to these destinations is handled as local mail rather than being relayed to another server. This parameter is distinct from <\/span><span style=\"font-weight: 400;\">relay_domains<\/span><span style=\"font-weight: 400;\">, which identifies destinations for which Postfix provides relay service. <\/span><span style=\"font-weight: 400;\">mynetworks<\/span><span style=\"font-weight: 400;\"> identifies trusted networks, while <\/span><span style=\"font-weight: 400;\">myorigin<\/span><span style=\"font-weight: 400;\"> influences the domain used for locally submitted mail. Correct configuration is important because an incorrect <\/span><span style=\"font-weight: 400;\">mydestination<\/span><span style=\"font-weight: 400;\"> value can cause local messages to be rejected, misrouted, or handled as relay traffic.<\/span><\/p>\n<p><b>Question 328. Which Dovecot setting defines the authentication database used to determine a user&#8217;s mailbox location and account information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">passdb<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">maildb<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">userdb<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">authdb<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>userdb<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Dovecot&#8217;s <\/span><span style=\"font-weight: 400;\">userdb<\/span><span style=\"font-weight: 400;\"> configuration provides user-specific information needed after authentication, such as mailbox location, UID, GID, and related account attributes. The <\/span><span style=\"font-weight: 400;\">passdb<\/span><span style=\"font-weight: 400;\"> configuration instead provides the authentication credentials or password-verification source. Keeping these functions separate allows Dovecot to authenticate users against one source while obtaining mailbox information from another. This distinction is useful when troubleshooting login problems. If authentication succeeds but the user&#8217;s mailbox cannot be found or opened correctly, administrators should investigate <\/span><span style=\"font-weight: 400;\">userdb<\/span><span style=\"font-weight: 400;\"> configuration and the returned user attributes.<\/span><\/p>\n<p><b>Question 329. Which SSH option requests allocation of a pseudo-terminal for the remote session?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">-x<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-t<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-T<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-n<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>-t<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The SSH client <\/span><span style=\"font-weight: 400;\">-t<\/span><span style=\"font-weight: 400;\"> option requests allocation of a pseudo-terminal on the remote system. This is useful when executing commands remotely that expect an interactive terminal, such as commands requiring terminal-based input or output. SSH can sometimes allocate a terminal automatically for interactive sessions, but explicit <\/span><span style=\"font-weight: 400;\">-t<\/span><span style=\"font-weight: 400;\"> is useful in scripts or specific remote command scenarios. The <\/span><span style=\"font-weight: 400;\">-T<\/span><span style=\"font-weight: 400;\"> option disables pseudo-terminal allocation. Other SSH options control X11 forwarding, standard input handling, identity files, and ports. Understanding terminal allocation is useful when troubleshooting commands that behave differently during non-interactive SSH execution.<\/span><\/p>\n<p><b>Question 330. Which SELinux utility can be used to change a file&#8217;s security context manually?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">chcon<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">setcontext<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">selabel<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">chmodcon<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>chcon<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">chcon<\/span><span style=\"font-weight: 400;\"> command changes the SELinux security context of a file or directory manually. It can be useful for testing or temporary context adjustments, but manually assigned contexts may not persist as expected after a full context restoration. For persistent policy-based labeling, administrators generally use file-context definitions and then apply them with <\/span><span style=\"font-weight: 400;\">restorecon<\/span><span style=\"font-weight: 400;\">. This distinction is important because changing a context with <\/span><span style=\"font-weight: 400;\">chcon<\/span><span style=\"font-weight: 400;\"> does not necessarily update the system&#8217;s default labeling rules. When troubleshooting SELinux, administrators should identify the expected context and determine whether the file is correctly labeled according to policy.<\/span><\/p>\n<p><b>Question 331. Which nftables command displays all currently configured tables, chains, and rules?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft show firewall<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft display all<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft list ruleset<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft status<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>nft list ruleset<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nft list ruleset<\/span><span style=\"font-weight: 400;\"> command displays the active nftables ruleset, including configured tables, chains, and rules. It is commonly used when auditing firewall configuration or troubleshooting unexpected packet behavior. Administrators can use more specific commands, such as <\/span><span style=\"font-weight: 400;\">nft list table inet filter<\/span><span style=\"font-weight: 400;\">, when they need to inspect only one table. The complete ruleset is useful for understanding rule order and identifying policies that may be affecting traffic. Because nftables configuration can contain multiple address families and tables, reviewing the entire ruleset can reveal interactions that are not obvious when inspecting a single chain.<\/span><\/p>\n<p><b>Question 332. Which DNS record type is used for reverse resolution of an IPv4 address?<\/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;\">PTR<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">REV<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">CNAME<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>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. For IPv4, reverse DNS records are stored beneath the <\/span><span style=\"font-weight: 400;\">in-addr.arpa<\/span><span style=\"font-weight: 400;\"> namespace. For example, an IPv4 address is represented by reversing its octets within that namespace before the PTR record is queried. A records perform the opposite type of mapping from hostname to IPv4 address. CNAME records create aliases between names. Reverse DNS is used by many network services for identification, logging, and validation, so incorrect PTR configuration can lead to unexpected results during service troubleshooting.<\/span><\/p>\n<p><b>Question 333. Which Apache directive specifies a custom response document for a particular HTTP error code?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ErrorDocument<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ErrorPage<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">HTTPError<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">CustomError<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>ErrorDocument<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">ErrorDocument<\/span><span style=\"font-weight: 400;\"> directive specifies what Apache should return when a particular HTTP error occurs. For example, <\/span><span style=\"font-weight: 400;\">ErrorDocument 404 \/404.html<\/span><span style=\"font-weight: 400;\"> tells Apache to serve a custom resource when a requested resource is not found. It can also be configured for other status codes such as 403 and 500. Custom error documents can improve user experience while still providing useful information. Administrators should ensure that the configured error resource itself is accessible and does not trigger additional errors, which could complicate troubleshooting or create unexpected response behavior.<\/span><\/p>\n<p><b>Question 334. Which NFS utility can display currently mounted NFS file systems and related mount information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">nfsstat<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">showmount<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mount<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">exportfs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>mount<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\"> command, when used without arguments, can display currently mounted file systems, including NFS mounts on many Linux systems. Administrators can inspect the output to verify whether an NFS share is mounted and determine the associated mount point and options. <\/span><span style=\"font-weight: 400;\">showmount<\/span><span style=\"font-weight: 400;\"> queries an NFS server&#8217;s exported resources, while <\/span><span style=\"font-weight: 400;\">exportfs<\/span><span style=\"font-weight: 400;\"> manages server-side exports. <\/span><span style=\"font-weight: 400;\">nfsstat<\/span><span style=\"font-weight: 400;\"> provides protocol statistics. When troubleshooting an NFS client, verifying that the expected share is actually mounted is an important step before investigating file permissions or application-level problems.<\/span><\/p>\n<p><b>Question 335. Which Postfix utility displays the contents of the mail queue?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">postqueue<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postmail<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postshow<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">poststatus<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>postqueue<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">postqueue<\/span><span style=\"font-weight: 400;\"> utility is used to inspect and manage the Postfix mail queue. The <\/span><span style=\"font-weight: 400;\">postqueue -p<\/span><span style=\"font-weight: 400;\"> form displays queued messages and information such as queue IDs, senders, recipients, sizes, and delivery status. The utility can also request queue processing with appropriate options. <\/span><span style=\"font-weight: 400;\">postsuper<\/span><span style=\"font-weight: 400;\"> performs administrative operations on queued messages, such as deleting or holding them. Reviewing the queue is a common troubleshooting step when mail is delayed because it helps determine whether messages are waiting for delivery and provides clues about the destination or reason for the delay.<\/span><\/p>\n<p><b>Question 336. Which Linux file defines the system&#8217;s configured DNS resolver addresses on many traditional Linux installations?<\/b><\/p>\n<ol>\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<\/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\/dns.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>\/etc\/resolv.conf<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> file traditionally contains DNS resolver configuration, including <\/span><span style=\"font-weight: 400;\">nameserver<\/span><span style=\"font-weight: 400;\"> entries and optional search domains. For example, a <\/span><span style=\"font-weight: 400;\">nameserver 192.0.2.53<\/span><span style=\"font-weight: 400;\"> line identifies a DNS resolver that applications can use. Modern Linux systems may generate this file dynamically through NetworkManager, systemd-resolved, or another network-management service, so administrators should check how the particular system manages resolver configuration. <\/span><span style=\"font-weight: 400;\">\/etc\/nsswitch.conf<\/span><span style=\"font-weight: 400;\"> controls the order of name-service sources, while <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> contains local static hostname mappings.<\/span><\/p>\n<p><b>Question 337. Which SSH configuration directive specifies the TCP port on which the SSH daemon listens?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">SSHPort<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ListenPort<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">Port<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">DaemonPort<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>Port<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH server <\/span><span style=\"font-weight: 400;\">Port<\/span><span style=\"font-weight: 400;\"> directive specifies the TCP port on which <\/span><span style=\"font-weight: 400;\">sshd<\/span><span style=\"font-weight: 400;\"> listens for incoming connections. The default SSH port is 22, but administrators may configure another port when required. The setting is normally placed in <\/span><span style=\"font-weight: 400;\">\/etc\/ssh\/sshd_config<\/span><span style=\"font-weight: 400;\">. Changing the SSH port does not itself provide comprehensive security because other authentication and network controls remain important. When changing the port remotely, administrators should ensure that firewall rules, client commands, and service configuration are updated consistently to avoid losing administrative access.<\/span><\/p>\n<p><b>Question 338. Which SELinux command can restore expected security contexts recursively under a directory?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">restorecon -R<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">setcon -R<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">chcon &#8211;default<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">selinuxfix -r<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>restorecon -R<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">restorecon -R<\/span><span style=\"font-weight: 400;\"> command recursively restores SELinux file contexts beneath a specified directory according to the system&#8217;s file-context policy. For example, administrators may use <\/span><span style=\"font-weight: 400;\">restorecon -Rv \/var\/www\/html<\/span><span style=\"font-weight: 400;\"> after copying web content into a location with incorrect labels. The recursive option ensures that files and subdirectories are processed. This is preferable to manually assigning contexts to individual files when the expected labels are already defined by SELinux policy. Administrators should use the appropriate path carefully because recursive context restoration can affect many files.<\/span><\/p>\n<p><b>Question 339. Which DNS utility can trace the delegation path from the root DNS servers to an authoritative server?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">dig +trace<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">host &#8211;delegate<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">named &#8211;trace<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">dnsroute<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>dig +trace<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">dig +trace<\/span><span style=\"font-weight: 400;\"> option performs an iterative DNS resolution process starting from the root servers and following referrals toward the requested domain. It is useful for investigating delegation, authoritative-server selection, and DNS resolution problems. Rather than relying entirely on a recursive resolver&#8217;s cached response, the trace reveals the sequence of DNS servers involved in reaching the authoritative zone. Administrators can use this when diagnosing broken delegations, missing NS records, or incorrect authoritative responses. Network connectivity and access to DNS servers must still be available for the trace to work properly.<\/span><\/p>\n<p><b>Question 340. Which Linux command displays detailed information about a network interface, including its link state and MAC address?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip route show<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip addr show<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip link show<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip net show<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>ip link show<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">ip link show<\/span><span style=\"font-weight: 400;\"> command displays link-layer information for network interfaces, including interface state, MAC address, MTU, and other link attributes. It is useful for determining whether an interface is administratively or operationally up and for identifying its hardware address. <\/span><span style=\"font-weight: 400;\">ip addr show<\/span><span style=\"font-weight: 400;\"> focuses more on assigned IP addresses and address-related configuration, while <\/span><span style=\"font-weight: 400;\">ip route show<\/span><span style=\"font-weight: 400;\"> displays routing information. During network troubleshooting, administrators commonly inspect both link information and IP addressing because an interface can be present and configured while still being down or disconnected.<\/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 321. Which BIND directive specifies the IP addresses and ports on which named accepts DNS queries? allow-query query-source listen-on query-address Correct Answer: 3. listen-on Explanation :- The BIND listen-on directive specifies the IPv4 addresses and ports on which the DNS server listens for [&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\/23072"}],"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=23072"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23072\/revisions"}],"predecessor-version":[{"id":23073,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23072\/revisions\/23073"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=23072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=23072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=23072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}