{"id":23076,"date":"2026-09-26T11:30:06","date_gmt":"2026-09-26T11:30:06","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=23076"},"modified":"2026-09-26T11:30:06","modified_gmt":"2026-09-26T11:30:06","slug":"lpi-202-450-practice-test-questions-and-exam-dumps-part-19-q361-380","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-202-450-practice-test-questions-and-exam-dumps-part-19-q361-380\/","title":{"rendered":"LPI 202-450 Practice Test Questions and Exam Dumps Part 19 Q361-380"},"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 361. Which BIND configuration file commonly contains the primary server-wide DNS configuration?<\/b><\/p>\n<ol>\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\/named.conf<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> \/etc\/dhcp\/dhcpd.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. \/etc\/named.conf<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/named.conf<\/span><span style=\"font-weight: 400;\"> file is the primary configuration file commonly used by BIND named servers. It can define global server options, logging, access controls, zone declarations, and other operational settings. Zone data itself is typically stored in separate zone files referenced from this configuration. <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> provides static hostname mappings, <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> contains resolver configuration for clients, and <\/span><span style=\"font-weight: 400;\">\/etc\/dhcp\/dhcpd.conf<\/span><span style=\"font-weight: 400;\"> belongs to the ISC DHCP server. Administrators commonly use <\/span><span style=\"font-weight: 400;\">named-checkconf<\/span><span style=\"font-weight: 400;\"> to validate the syntax of a BIND configuration before restarting or reloading the DNS service.<\/span><\/p>\n<p><b>Question 362. Which Apache directive specifies an alternate hostname that should map to an existing virtual host?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> ServerAlias<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ServerAdmin<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DirectoryIndex<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ErrorDocument<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. ServerAlias<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">ServerAlias<\/span><span style=\"font-weight: 400;\"> directive defines additional hostnames that should be associated with a virtual host. For example, a virtual host configured with <\/span><span style=\"font-weight: 400;\">ServerName example.com<\/span><span style=\"font-weight: 400;\"> can use <\/span><span style=\"font-weight: 400;\">ServerAlias www.example.com<\/span><span style=\"font-weight: 400;\"> to accept requests for the additional hostname. <\/span><span style=\"font-weight: 400;\">ServerAdmin<\/span><span style=\"font-weight: 400;\"> identifies the administrator&#8217;s contact address, <\/span><span style=\"font-weight: 400;\">DirectoryIndex<\/span><span style=\"font-weight: 400;\"> defines default index files, and <\/span><span style=\"font-weight: 400;\">ErrorDocument<\/span><span style=\"font-weight: 400;\"> controls responses for HTTP errors. Server aliases are particularly useful when a website must respond to multiple DNS names while using the same virtual-host configuration and document root.<\/span><\/p>\n<p><b>Question 363. Which NFS command displays the exports currently advertised by a remote NFS server?<\/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;\"> exportfs<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> mount<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> showmount -e<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. showmount -e<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">showmount -e<\/span><span style=\"font-weight: 400;\"> command queries an NFS server and displays its exported filesystems. It is useful when determining which directories a server makes available to NFS clients. The <\/span><span style=\"font-weight: 400;\">-e<\/span><span style=\"font-weight: 400;\"> option specifically requests the export list. <\/span><span style=\"font-weight: 400;\">exportfs<\/span><span style=\"font-weight: 400;\"> is primarily used on an NFS server to maintain the export table, <\/span><span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\"> attaches a filesystem locally, and <\/span><span style=\"font-weight: 400;\">nfsstat<\/span><span style=\"font-weight: 400;\"> reports NFS statistics. When troubleshooting an NFS client, <\/span><span style=\"font-weight: 400;\">showmount -e servername<\/span><span style=\"font-weight: 400;\"> can help verify that the expected export is being advertised before attempting to mount it.<\/span><\/p>\n<p><b>Question 364. In Samba, which parameter controls whether a share is visible when browsing available SMB shares?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> writable<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> browseable<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> valid users<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> guest ok<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. browseable<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Samba <\/span><span style=\"font-weight: 400;\">browseable<\/span><span style=\"font-weight: 400;\"> parameter determines whether a configured share is displayed when clients browse the available SMB shares. Setting <\/span><span style=\"font-weight: 400;\">browseable = yes<\/span><span style=\"font-weight: 400;\"> makes the share visible in normal browsing operations, while setting it to <\/span><span style=\"font-weight: 400;\">no<\/span><span style=\"font-weight: 400;\"> can hide the share even though clients that know its name may still access it if permitted. <\/span><span style=\"font-weight: 400;\">writable<\/span><span style=\"font-weight: 400;\"> controls whether users can write to a share, <\/span><span style=\"font-weight: 400;\">valid users<\/span><span style=\"font-weight: 400;\"> restricts account access, and <\/span><span style=\"font-weight: 400;\">guest ok<\/span><span style=\"font-weight: 400;\"> controls guest access. This distinction is useful when a share exists but does not appear in a client&#8217;s browse list.<\/span><\/p>\n<p><b>Question 365. Which DNS record identifies the authoritative name servers for a DNS zone?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> NS<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> TXT<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> PTR<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. NS<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An NS, or Name Server, record identifies the authoritative DNS servers for a zone. A properly delegated domain normally has NS records that identify the servers responsible for answering authoritatively for that domain. A records map names to IPv4 addresses, TXT records contain text information such as verification or policy data, and PTR records provide reverse DNS mappings. NS records therefore play an important role in DNS delegation and zone authority. When troubleshooting DNS delegation, administrators commonly examine NS records to determine which servers are authoritative.<\/span><\/p>\n<p><b>Question 366. Which DHCP message does a server send in response to a client&#8217;s DHCPDISCOVER when offering an address?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPACK<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPREQUEST<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPOFFER<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DHCPDECLINE<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. DHCPOFFER<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A DHCP server normally responds to a client&#8217;s DHCPDISCOVER with a DHCPOFFER message. The offer contains proposed configuration information such as an IP address, subnet mask, lease duration, and potentially gateway and DNS server information. The client can then respond with DHCPREQUEST to indicate which offer it wants to accept. DHCPACK confirms an accepted lease, while DHCPDECLINE indicates that the offered address appears to be in use. Understanding the DHCP exchange is important when diagnosing failures in automatic network configuration.<\/span><\/p>\n<p><b>Question 367. Which Postfix parameter specifies the networks that are trusted to relay mail through the server?<\/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;\"> myorigin<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> relayhost<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> mynetworks<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. mynetworks<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Postfix <\/span><span style=\"font-weight: 400;\">mynetworks<\/span><span style=\"font-weight: 400;\"> parameter defines the client networks that are considered trusted for mail relay. Properly configuring this parameter is important because overly broad trusted networks can allow unauthorized systems to relay mail through the server. <\/span><span style=\"font-weight: 400;\">mydestination<\/span><span style=\"font-weight: 400;\"> identifies local delivery destinations, <\/span><span style=\"font-weight: 400;\">myorigin<\/span><span style=\"font-weight: 400;\"> controls the domain used for locally generated mail, and <\/span><span style=\"font-weight: 400;\">relayhost<\/span><span style=\"font-weight: 400;\"> specifies an upstream mail relay. Administrators should carefully define <\/span><span style=\"font-weight: 400;\">mynetworks<\/span><span style=\"font-weight: 400;\"> according to the actual trusted hosts and networks rather than permitting unrestricted relay access.<\/span><\/p>\n<p><b>Question 368. Which Dovecot command can display the effective configuration after included configuration files have been processed?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> doveadm auth<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> doveconf<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> dovecotctl<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> dovecheck<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. doveconf<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">doveconf<\/span><span style=\"font-weight: 400;\"> command displays Dovecot&#8217;s effective configuration, including settings obtained through included configuration files. This makes it useful when troubleshooting because the effective configuration can differ from what appears in a single configuration file. Administrators can use it to inspect authentication, mailbox, protocol, and service-related settings. <\/span><span style=\"font-weight: 400;\">doveadm<\/span><span style=\"font-weight: 400;\"> provides various administrative operations, but <\/span><span style=\"font-weight: 400;\">doveconf<\/span><span style=\"font-weight: 400;\"> is specifically associated with displaying and examining Dovecot configuration. Reviewing the effective configuration can help identify inherited settings or overrides that are otherwise easy to miss.<\/span><\/p>\n<p><b>Question 369. Which OpenSSH client option specifies a destination port other than the default SSH port?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> -i<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> -L<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> -p<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> -X<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. -p<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH client uses the <\/span><span style=\"font-weight: 400;\">-p<\/span><span style=\"font-weight: 400;\"> option to specify the destination TCP port when connecting to an SSH server. For example, <\/span><span style=\"font-weight: 400;\">ssh -p 2222 user@example.com<\/span><span style=\"font-weight: 400;\"> attempts the connection on TCP port 2222 instead of the default port 22. The <\/span><span style=\"font-weight: 400;\">-i<\/span><span style=\"font-weight: 400;\"> option specifies an identity file, <\/span><span style=\"font-weight: 400;\">-L<\/span><span style=\"font-weight: 400;\"> creates local port forwarding, and <\/span><span style=\"font-weight: 400;\">-X<\/span><span style=\"font-weight: 400;\"> enables X11 forwarding. When an SSH server has been configured to listen on a non-standard port, the client must either specify that port with <\/span><span style=\"font-weight: 400;\">-p<\/span><span style=\"font-weight: 400;\"> or use an equivalent configuration entry in the SSH client configuration.<\/span><\/p>\n<p><b>Question 370. Which command displays the current SELinux status, including whether SELinux is enabled and its policy mode?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> sestatus<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> getsebool<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> semodule<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> restorecon<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. 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, including whether SELinux is enabled, the current mode, and policy information. It is more comprehensive than <\/span><span style=\"font-weight: 400;\">getenforce<\/span><span style=\"font-weight: 400;\">, which primarily reports the current enforcement mode. <\/span><span style=\"font-weight: 400;\">getsebool<\/span><span style=\"font-weight: 400;\"> displays SELinux boolean values, <\/span><span style=\"font-weight: 400;\">semodule<\/span><span style=\"font-weight: 400;\"> manages SELinux policy modules, and <\/span><span style=\"font-weight: 400;\">restorecon<\/span><span style=\"font-weight: 400;\"> restores file security contexts. When investigating an SELinux-related service problem, <\/span><span style=\"font-weight: 400;\">sestatus<\/span><span style=\"font-weight: 400;\"> can provide useful information about the overall security policy environment before examining individual contexts or audit records.<\/span><\/p>\n<p><b>Question 371. Which nftables command lists the rules contained in a specific table?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> nft show table<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> nft table list<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> nft list table inet filter<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> nft ruleset table inet filter<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. nft list table inet filter<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nft list table inet filter<\/span><span style=\"font-weight: 400;\"> command displays the contents of the specified <\/span><span style=\"font-weight: 400;\">filter<\/span><span style=\"font-weight: 400;\"> table in the <\/span><span style=\"font-weight: 400;\">inet<\/span><span style=\"font-weight: 400;\"> address family. It can show chains, rules, and other objects contained in that table. This is useful when an administrator needs to inspect a particular firewall table rather than displaying the entire active ruleset. The broader <\/span><span style=\"font-weight: 400;\">nft list ruleset<\/span><span style=\"font-weight: 400;\"> command displays all configured nftables rules. Using the appropriate listing command makes firewall troubleshooting more focused and helps verify whether expected rules are actually loaded.<\/span><\/p>\n<p><b>Question 372. Which DNS record type maps a hostname directly to an IPv4 address?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> AAAA<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CNAME<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> MX<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. A<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An A record maps a hostname to an IPv4 address. It is one of the fundamental DNS record types used for ordinary forward name resolution. An AAAA record performs a similar function for IPv6 addresses, while CNAME creates an alias to another DNS name and MX identifies mail-exchange servers. For example, an A record can associate <\/span><span style=\"font-weight: 400;\">www.example.com<\/span><span style=\"font-weight: 400;\"> with an IPv4 address assigned to a web server. Administrators commonly use tools such as <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">host<\/span><span style=\"font-weight: 400;\"> to inspect A records during DNS troubleshooting.<\/span><\/p>\n<p><b>Question 373. Which Apache directive can rewrite request URLs according to specified patterns and substitution rules?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> RewriteRule<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Redirect<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Alias<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ProxyPass<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. RewriteRule<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">RewriteRule<\/span><span style=\"font-weight: 400;\"> directive is used by the URL rewriting engine to transform request URLs according to matching patterns and substitution expressions. It is commonly used for redirects, clean URLs, application routing, and other URL-processing requirements. The <\/span><span style=\"font-weight: 400;\">Redirect<\/span><span style=\"font-weight: 400;\"> directive provides simpler redirection behavior, <\/span><span style=\"font-weight: 400;\">Alias<\/span><span style=\"font-weight: 400;\"> maps URL paths to filesystem locations, and <\/span><span style=\"font-weight: 400;\">ProxyPass<\/span><span style=\"font-weight: 400;\"> is used for reverse-proxy mappings. Rewrite rules can be combined with conditions and other mod_rewrite directives, making them useful for more complex request-processing requirements.<\/span><\/p>\n<p><b>Question 374. Which NFS mount option causes the client to continue retrying NFS requests when the server is unavailable?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> soft<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ro<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> sync<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> hard<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. hard<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The NFS <\/span><span style=\"font-weight: 400;\">hard<\/span><span style=\"font-weight: 400;\"> mount option causes the client to continue retrying requests when the NFS server becomes unavailable. This behavior is generally intended to avoid silently losing or prematurely failing filesystem operations. A <\/span><span style=\"font-weight: 400;\">soft<\/span><span style=\"font-weight: 400;\"> mount can return an error after retries under configured conditions, which may have different application implications. The <\/span><span style=\"font-weight: 400;\">ro<\/span><span style=\"font-weight: 400;\"> option makes the filesystem read-only, while <\/span><span style=\"font-weight: 400;\">sync<\/span><span style=\"font-weight: 400;\"> relates to write synchronization behavior. NFS mount behavior should be selected carefully because retry and failure semantics can affect applications using the mounted filesystem.<\/span><\/p>\n<p><b>Question 375. Which Postfix command displays the configured value of a specific parameter?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> postqueue -p<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> postconf<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> postmap<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> postsuper -d<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. 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 modify Postfix configuration parameters. Running <\/span><span style=\"font-weight: 400;\">postconf<\/span><span style=\"font-weight: 400;\"> without a specific parameter can display configuration settings, while <\/span><span style=\"font-weight: 400;\">postconf parameter_name<\/span><span style=\"font-weight: 400;\"> can be used to inspect a particular setting. <\/span><span style=\"font-weight: 400;\">postqueue -p<\/span><span style=\"font-weight: 400;\"> displays the mail queue, <\/span><span style=\"font-weight: 400;\">postmap<\/span><span style=\"font-weight: 400;\"> manages lookup databases, and <\/span><span style=\"font-weight: 400;\">postsuper<\/span><span style=\"font-weight: 400;\"> performs administrative operations on queued messages. During Postfix troubleshooting, <\/span><span style=\"font-weight: 400;\">postconf<\/span><span style=\"font-weight: 400;\"> is particularly useful for verifying whether important settings such as <\/span><span style=\"font-weight: 400;\">mydestination<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">mynetworks<\/span><span style=\"font-weight: 400;\">, or <\/span><span style=\"font-weight: 400;\">relayhost<\/span><span style=\"font-weight: 400;\"> contain the expected values.<\/span><\/p>\n<p><b>Question 376. Which Linux configuration file determines the order in which sources such as files and DNS are consulted for hostname resolution?<\/b><\/p>\n<ol>\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\/nsswitch.conf<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> \/etc\/hostname<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. \/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 order and sources used by the Name Service Switch for various types of lookups, including hostname resolution. An entry such as <\/span><span style=\"font-weight: 400;\">hosts: files dns<\/span><span style=\"font-weight: 400;\"> indicates that the system should consult local files such as <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> before DNS. <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> provides resolver-specific information such as DNS server addresses, while <\/span><span style=\"font-weight: 400;\">\/etc\/hostname<\/span><span style=\"font-weight: 400;\"> identifies the system&#8217;s hostname. Understanding <\/span><span style=\"font-weight: 400;\">nsswitch.conf<\/span><span style=\"font-weight: 400;\"> is important because a DNS server can be reachable and correctly configured while hostname resolution still behaves differently due to the configured lookup order.<\/span><\/p>\n<p><b>Question 377. Which SSH server configuration directive can restrict connections to specific user accounts?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> AllowUsers<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Port<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> HostKey<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> X11Forwarding<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. AllowUsers<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH <\/span><span style=\"font-weight: 400;\">AllowUsers<\/span><span style=\"font-weight: 400;\"> directive restricts SSH access to specified user accounts. Administrators can use it to define which accounts are permitted to authenticate through the SSH service, providing an additional access-control layer. <\/span><span style=\"font-weight: 400;\">Port<\/span><span style=\"font-weight: 400;\"> specifies the listening port, <\/span><span style=\"font-weight: 400;\">HostKey<\/span><span style=\"font-weight: 400;\"> identifies server host-key files, and <\/span><span style=\"font-weight: 400;\">X11Forwarding<\/span><span style=\"font-weight: 400;\"> controls X11 forwarding. <\/span><span style=\"font-weight: 400;\">AllowUsers<\/span><span style=\"font-weight: 400;\"> can be particularly useful on multi-user systems where only certain administrative or service accounts should be permitted to access SSH. More complex restrictions can also involve groups, source addresses, and other SSH access-control directives.<\/span><\/p>\n<p><b>Question 378. Which PAM module is commonly used to enforce password quality requirements such as minimum length?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> pam_limits<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> pam_env<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> pam_unix<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> pam_pwquality<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. pam_pwquality<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">pam_pwquality<\/span><span style=\"font-weight: 400;\"> module is commonly used to enforce password-quality requirements in Linux systems. It can help enforce policies involving password length, character classes, and other complexity requirements depending on its configuration. <\/span><span style=\"font-weight: 400;\">pam_limits<\/span><span style=\"font-weight: 400;\"> controls resource limits, <\/span><span style=\"font-weight: 400;\">pam_env<\/span><span style=\"font-weight: 400;\"> manages environment variables, and <\/span><span style=\"font-weight: 400;\">pam_unix<\/span><span style=\"font-weight: 400;\"> provides traditional Unix authentication functionality. Password policies are configured through PAM configuration files and related module settings. Administrators should understand the order and control flow of PAM modules because authentication and password-management behavior can depend on how these modules are arranged.<\/span><\/p>\n<p><b>Question 379. Which DNS utility can query a specific DNS server directly for a record?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> rndc<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> dig<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> named-checkconf<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> named-checkzone<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. dig<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\"> utility can send DNS queries directly to a specified DNS server. For example, <\/span><span style=\"font-weight: 400;\">dig @192.0.2.53 example.com A<\/span><span style=\"font-weight: 400;\"> asks the specified server for an A record. This capability is useful when comparing responses from different DNS servers or troubleshooting delegation and resolver behavior. <\/span><span style=\"font-weight: 400;\">rndc<\/span><span style=\"font-weight: 400;\"> communicates with a BIND server for administrative control, while <\/span><span style=\"font-weight: 400;\">named-checkconf<\/span><span style=\"font-weight: 400;\"> validates BIND configuration syntax and <\/span><span style=\"font-weight: 400;\">named-checkzone<\/span><span style=\"font-weight: 400;\"> validates zone-file syntax and consistency. <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\"> is therefore one of the primary command-line tools for examining live DNS responses.<\/span><\/p>\n<p><b>Question 380. Which Linux command displays the system&#8217;s current IP routing table?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> ip neigh<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ip addr<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ip link<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> ip route<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. 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 and manages the Linux IP routing table. Running <\/span><span style=\"font-weight: 400;\">ip route<\/span><span style=\"font-weight: 400;\"> without additional arguments shows routes currently known to the system, including directly connected networks and default routes when configured. <\/span><span style=\"font-weight: 400;\">ip addr<\/span><span style=\"font-weight: 400;\"> displays addresses assigned to interfaces, <\/span><span style=\"font-weight: 400;\">ip link<\/span><span style=\"font-weight: 400;\"> displays interface information, and <\/span><span style=\"font-weight: 400;\">ip neigh<\/span><span style=\"font-weight: 400;\"> displays the neighbor cache. Examining the routing table is a fundamental network troubleshooting step because an incorrect or missing route can prevent a system from reaching remote networks even when its interface and IP address configuration appear correct.<\/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 361. Which BIND configuration file commonly contains the primary server-wide DNS configuration? \/etc\/hosts \/etc\/resolv.conf \/etc\/named.conf \/etc\/dhcp\/dhcpd.conf Correct Answer: 3. \/etc\/named.conf Explanation :- The \/etc\/named.conf file is the primary configuration file commonly used by BIND named servers. It can define global server options, logging, [&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\/23076"}],"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=23076"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23076\/revisions"}],"predecessor-version":[{"id":23077,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23076\/revisions\/23077"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=23076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=23076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=23076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}