{"id":23066,"date":"2026-09-26T11:28:54","date_gmt":"2026-09-26T11:28:54","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=23066"},"modified":"2026-09-26T11:28:54","modified_gmt":"2026-09-26T11:28:54","slug":"lpi-202-450-practice-test-questions-and-exam-dumps-part-14-q261-280","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-202-450-practice-test-questions-and-exam-dumps-part-14-q261-280\/","title":{"rendered":"LPI 202-450 Practice Test Questions and Exam Dumps Part 14 Q261-280"},"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 261. Which BIND utility verifies the syntax of a DNS zone file?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">rndc-checkzone<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">named-checkzone<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">named-checkconf<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">dnscheck<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>named-checkzone<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">named-checkzone<\/span><span style=\"font-weight: 400;\"> utility validates the syntax and integrity of a BIND zone file. It normally requires the zone name and the path to the zone file, for example, <\/span><span style=\"font-weight: 400;\">named-checkzone example.com \/var\/named\/example.com.zone<\/span><span style=\"font-weight: 400;\">. This helps administrators detect syntax errors before reloading the DNS service. <\/span><span style=\"font-weight: 400;\">named-checkconf<\/span><span style=\"font-weight: 400;\"> instead validates the BIND configuration file, while <\/span><span style=\"font-weight: 400;\">rndc<\/span><span style=\"font-weight: 400;\"> is used to control a running BIND server. Checking zone files before deployment is an important DNS administration practice because malformed records can prevent a zone from loading correctly.<\/span><\/p>\n<p><b>Question 262. Which Apache directive defines the hostname that the server uses to identify itself?<\/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;\">HostName<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ListenName<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ServerName<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>ServerName<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Apache <\/span><span style=\"font-weight: 400;\">ServerName<\/span><span style=\"font-weight: 400;\"> directive specifies the hostname and optionally the port that the server uses to identify itself. It is commonly configured inside a virtual host definition and is important when Apache serves multiple sites. <\/span><span style=\"font-weight: 400;\">ServerAlias<\/span><span style=\"font-weight: 400;\"> defines additional hostnames that should match the same virtual host. <\/span><span style=\"font-weight: 400;\">Listen<\/span><span style=\"font-weight: 400;\"> controls the network address and port on which Apache accepts connections, rather than defining the server&#8217;s hostname. Correct <\/span><span style=\"font-weight: 400;\">ServerName<\/span><span style=\"font-weight: 400;\"> configuration can also help avoid startup warnings and ensures that virtual-host matching behaves as intended.<\/span><\/p>\n<p><b>Question 263. Which NFS mount option prevents clients from modifying files on the exported file system?<\/b><\/p>\n<ol>\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;\">noexec<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">hard<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/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;\"> mount option mounts an exported file system as read-only from the client. This prevents normal write operations through that mount point. It can be useful when clients need access to shared reference data without being allowed to modify it. The <\/span><span style=\"font-weight: 400;\">sync<\/span><span style=\"font-weight: 400;\"> option controls synchronization behavior, <\/span><span style=\"font-weight: 400;\">noexec<\/span><span style=\"font-weight: 400;\"> prevents execution of binaries from the mounted file system, and <\/span><span style=\"font-weight: 400;\">hard<\/span><span style=\"font-weight: 400;\"> controls how NFS requests behave when the server becomes unavailable. Read-only access can also be enforced on the server through the corresponding export configuration.<\/span><\/p>\n<p><b>Question 264. Which Samba parameter restricts access to a share to specified users or groups?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">share users<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">allowed users<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">valid users<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">authorized users<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>valid users<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Samba <\/span><span style=\"font-weight: 400;\">valid users<\/span><span style=\"font-weight: 400;\"> parameter specifies which users or groups are permitted to access a particular share. For example, <\/span><span style=\"font-weight: 400;\">valid users = @sales<\/span><span style=\"font-weight: 400;\"> can restrict access to members of the <\/span><span style=\"font-weight: 400;\">sales<\/span><span style=\"font-weight: 400;\"> group. This is different from <\/span><span style=\"font-weight: 400;\">browseable<\/span><span style=\"font-weight: 400;\">, which controls whether the share appears in browse lists, and <\/span><span style=\"font-weight: 400;\">read only<\/span><span style=\"font-weight: 400;\">, which controls whether permitted users can modify files. Samba access control can involve several layers, including Unix permissions, Samba configuration, and authentication. Administrators should therefore verify both Samba-level restrictions and underlying file-system permissions when troubleshooting access problems.<\/span><\/p>\n<p><b>Question 265. Which DNS record type is used to associate a service with a hostname and port?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">TXT<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">SRV<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">MX<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">NS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>SRV<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An SRV record specifies the location of a service by identifying a target hostname and port, along with priority and weight values. It is commonly used by protocols and applications that need service discovery, such as SIP and certain directory services. The record has a structured format containing service, protocol, priority, weight, port, and target fields. MX records are specifically used for mail delivery, NS records identify authoritative DNS servers, and TXT records contain arbitrary text information. SRV records therefore provide a standardized way for clients to discover where particular network services are available.<\/span><\/p>\n<p><b>Question 266. Which Linux command requests a DHCP lease from a DHCP server using the common ISC DHCP client?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">dhcp-request<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">dhclient<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip dhcp<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">dhcpctl<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>dhclient<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">dhclient<\/span><span style=\"font-weight: 400;\"> utility is the traditional ISC DHCP client used on many Linux systems to obtain network configuration from a DHCP server. It can request an address and other options such as DNS servers, gateways, and domain information. Administrators may use <\/span><span style=\"font-weight: 400;\">dhclient<\/span><span style=\"font-weight: 400;\"> during network troubleshooting to renew or obtain a lease on an interface. Modern Linux distributions may use NetworkManager or systemd-networkd instead, so the exact client utility depends on the system. Nevertheless, understanding DHCP client behavior and <\/span><span style=\"font-weight: 400;\">dhclient<\/span><span style=\"font-weight: 400;\"> remains relevant to Linux network administration and troubleshooting.<\/span><\/p>\n<p><b>Question 267. Which Postfix parameter specifies networks that are trusted to relay mail through the server?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">relay_networks<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">trusted_hosts<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">mynetworks<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">allowed_relays<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>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 IP addresses or networks that Postfix considers trusted for relay access under its configured restrictions. It is commonly used to permit mail submission from local or organizational networks. Administrators must configure this carefully because overly broad trusted networks can permit unauthorized relay activity. <\/span><span style=\"font-weight: 400;\">relay_domains<\/span><span style=\"font-weight: 400;\"> serves a different purpose by defining destinations for which the server provides relay service. <\/span><span style=\"font-weight: 400;\">mydestination<\/span><span style=\"font-weight: 400;\"> identifies domains delivered locally. Understanding these parameters is essential when configuring Postfix to distinguish local delivery, trusted submission, and relay behavior.<\/span><\/p>\n<p><b>Question 268. Which Dovecot authentication database setting identifies the database used to verify a user&#8217;s password?<\/b><\/p>\n<ol>\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<li><b><\/b> <span style=\"font-weight: 400;\">passdb<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>passdb<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Dovecot&#8217;s <\/span><span style=\"font-weight: 400;\">passdb<\/span><span style=\"font-weight: 400;\"> configuration defines the password database used for authentication. It can use sources such as system accounts, SQL databases, LDAP, or other supported authentication mechanisms. The <\/span><span style=\"font-weight: 400;\">userdb<\/span><span style=\"font-weight: 400;\"> configuration serves a different purpose: it provides information about the user&#8217;s mailbox location, UID, GID, and related account properties. Separating authentication credentials from user mailbox information gives Dovecot flexibility when integrating with external identity systems. When troubleshooting authentication, administrators should therefore determine whether the problem is in <\/span><span style=\"font-weight: 400;\">passdb<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">userdb<\/span><span style=\"font-weight: 400;\">, the authentication mechanism, or the underlying credential source.<\/span><\/p>\n<p><b>Question 269. Which SSH command option specifies a non-default TCP port for the remote SSH server?<\/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;\">-p<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-P<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">-t<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>-p<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH client <\/span><span style=\"font-weight: 400;\">-p<\/span><span style=\"font-weight: 400;\"> option specifies the TCP port on which the remote SSH server is listening. For example, <\/span><span style=\"font-weight: 400;\">ssh -p 2222 user@server.example.com<\/span><span style=\"font-weight: 400;\"> connects to TCP port 2222 instead of the default SSH port 22. The <\/span><span style=\"font-weight: 400;\">-i<\/span><span style=\"font-weight: 400;\"> option specifies a private identity key, while <\/span><span style=\"font-weight: 400;\">-t<\/span><span style=\"font-weight: 400;\"> requests allocation of a pseudo-terminal. Using the correct port is important when SSH has been configured to listen on a non-standard port. Administrators can combine <\/span><span style=\"font-weight: 400;\">-p<\/span><span style=\"font-weight: 400;\"> with other options when troubleshooting connectivity or accessing servers with customized SSH configurations.<\/span><\/p>\n<p><b>Question 270. Which command temporarily changes SELinux from enforcing mode to permissive mode?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">getenforce 0<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">sestatus &#8211;permissive<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">setenforce 0<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">selinux permissive<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>setenforce 0<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">setenforce 0<\/span><span style=\"font-weight: 400;\"> command temporarily changes SELinux from enforcing mode to permissive mode. In permissive mode, SELinux policy violations are logged but are not enforced as access denials. This can be useful for controlled troubleshooting when determining whether SELinux is contributing to a problem. The change is generally temporary and does not permanently alter the system&#8217;s SELinux configuration. <\/span><span style=\"font-weight: 400;\">getenforce<\/span><span style=\"font-weight: 400;\"> reports the current mode, while <\/span><span style=\"font-weight: 400;\">sestatus<\/span><span style=\"font-weight: 400;\"> provides broader status information. Administrators should use permissive mode carefully and return to enforcing mode after troubleshooting when appropriate.<\/span><\/p>\n<p><b>Question 271. Which nftables command creates a new table named <\/b><b>filter<\/b><b> in the <\/b><b>inet<\/b><b> address family?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft add table inet filter<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft create filter inet<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft table add inet filter<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nft new inet filter table<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>nft add table inet filter<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The nftables command <\/span><span style=\"font-weight: 400;\">nft add table inet filter<\/span><span style=\"font-weight: 400;\"> creates a table named <\/span><span style=\"font-weight: 400;\">filter<\/span><span style=\"font-weight: 400;\"> in the <\/span><span style=\"font-weight: 400;\">inet<\/span><span style=\"font-weight: 400;\"> address family. The <\/span><span style=\"font-weight: 400;\">inet<\/span><span style=\"font-weight: 400;\"> family allows rules to handle both IPv4 and IPv6 traffic. Tables provide organizational containers for chains, sets, maps, and related firewall objects. After creating a table, administrators can create chains within it and then add rules. The command structure follows nftables&#8217; object hierarchy, where <\/span><span style=\"font-weight: 400;\">add table<\/span><span style=\"font-weight: 400;\"> identifies the operation and the family and table name specify the target. Correct table creation is the first step in building many nftables configurations.<\/span><\/p>\n<p><b>Question 272. Which DNS command can display the canonical name associated with an alias?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">dnsalias<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">named -C<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">host<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">zoneinfo<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>host<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">host<\/span><span style=\"font-weight: 400;\"> utility performs DNS lookups and can display information about aliases and their canonical names. When querying a CNAME, the output can show both the alias and the canonical hostname to which it points. <\/span><span style=\"font-weight: 400;\">host<\/span><span style=\"font-weight: 400;\"> is useful for quick DNS checks and supports common record types without the more extensive output provided by <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\">. <\/span><span style=\"font-weight: 400;\">named<\/span><span style=\"font-weight: 400;\"> is the BIND server process rather than a general-purpose lookup command. Administrators often use <\/span><span style=\"font-weight: 400;\">host<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">dig<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">nslookup<\/span><span style=\"font-weight: 400;\"> during DNS troubleshooting, selecting the tool according to the level of diagnostic detail required.<\/span><\/p>\n<p><b>Question 273. Which Apache directive can restrict access to resources based on client authorization rules in modern Apache 2.4?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">AllowFrom<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">Require<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">AccessControl<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">Permit<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>Require<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Apache 2.4 uses the <\/span><span style=\"font-weight: 400;\">Require<\/span><span style=\"font-weight: 400;\"> directive as a central mechanism for authorization. It can permit or deny access based on conditions such as users, groups, host addresses, or other authorization providers. For example, <\/span><span style=\"font-weight: 400;\">Require all granted<\/span><span style=\"font-weight: 400;\"> allows access to a resource, while <\/span><span style=\"font-weight: 400;\">Require valid-user<\/span><span style=\"font-weight: 400;\"> requires successful authentication. Older Apache versions used directives such as <\/span><span style=\"font-weight: 400;\">Allow<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">Deny<\/span><span style=\"font-weight: 400;\"> more directly. When managing Apache 2.4 configurations, administrators should understand the newer authorization framework and ensure that access rules are placed in the correct directory, virtual-host, or location context.<\/span><\/p>\n<p><b>Question 274. Which NFS utility displays statistics about NFS client and server operations?<\/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;\">nfsshow<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">nfsinfo<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">rpcstats<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>nfsstat<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nfsstat<\/span><span style=\"font-weight: 400;\"> utility displays statistics related to NFS client and server operations. It can provide information about RPC calls, NFS requests, retransmissions, and other activity depending on the options and system implementation. This makes it useful for diagnosing performance and connectivity issues. For example, unusually high retransmission counts can provide clues about network or server problems. <\/span><span style=\"font-weight: 400;\">showmount<\/span><span style=\"font-weight: 400;\"> serves a different purpose by displaying NFS exports, while <\/span><span style=\"font-weight: 400;\">exportfs<\/span><span style=\"font-weight: 400;\"> manages exports on an NFS server. Administrators can combine <\/span><span style=\"font-weight: 400;\">nfsstat<\/span><span style=\"font-weight: 400;\"> output with system and network monitoring tools for deeper troubleshooting.<\/span><\/p>\n<p><b>Question 275. Which Postfix command can immediately request processing of messages currently waiting in the mail queue?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">postqueue -f<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postfix -flush<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postsuper -r<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">postmail -f<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>postqueue -f<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">postqueue -f<\/span><span style=\"font-weight: 400;\"> command requests that Postfix attempt to deliver messages currently waiting in its mail queue. It is commonly used when a temporary delivery problem has been resolved and the administrator wants Postfix to retry queued messages immediately rather than waiting for the normal queue-processing schedule. <\/span><span style=\"font-weight: 400;\">postqueue -p<\/span><span style=\"font-weight: 400;\"> displays the queue, while <\/span><span style=\"font-weight: 400;\">postsuper<\/span><span style=\"font-weight: 400;\"> is primarily used for administrative operations on queued messages. Flushing the queue does not guarantee successful delivery; messages can remain queued if the destination server, DNS, network, or other delivery conditions are still unavailable.<\/span><\/p>\n<p><b>Question 276. Which Linux file contains static hostname-to-IP address mappings commonly consulted before DNS when configured in NSS?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/resolv.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\/hostname<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/networks<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>\/etc\/hosts<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> file contains local static mappings between IP addresses and hostnames. When the NSS configuration specifies <\/span><span style=\"font-weight: 400;\">files<\/span><span style=\"font-weight: 400;\"> before <\/span><span style=\"font-weight: 400;\">dns<\/span><span style=\"font-weight: 400;\"> for hostname resolution, entries in <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> are consulted before DNS. This can be useful for local systems, testing, temporary name resolution, or environments where DNS is not available. <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> specifies resolver configuration such as DNS servers, while <\/span><span style=\"font-weight: 400;\">\/etc\/hostname<\/span><span style=\"font-weight: 400;\"> normally identifies the local system hostname. The <\/span><span style=\"font-weight: 400;\">\/etc\/networks<\/span><span style=\"font-weight: 400;\"> file has a different purpose and is not the primary source for ordinary hostname resolution.<\/span><\/p>\n<p><b>Question 277. Which SSH server directive controls whether root is allowed to authenticate directly using SSH?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">RootAccess<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">PermitRootLogin<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">AllowRootSSH<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">RootAuthentication<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>PermitRootLogin<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The OpenSSH <\/span><span style=\"font-weight: 400;\">PermitRootLogin<\/span><span style=\"font-weight: 400;\"> directive controls whether the root account may authenticate directly through SSH and under what conditions. Depending on the configured value, direct root login can be disabled or restricted to specific authentication methods. This setting is found in the SSH server configuration, commonly <\/span><span style=\"font-weight: 400;\">\/etc\/ssh\/sshd_config<\/span><span style=\"font-weight: 400;\">. It is distinct from <\/span><span style=\"font-weight: 400;\">PasswordAuthentication<\/span><span style=\"font-weight: 400;\">, which controls password-based authentication generally. Administrators should evaluate SSH access controls together because disabling one authentication method does not automatically disable other permitted methods. Configuration changes should be tested carefully before reloading the SSH daemon.<\/span><\/p>\n<p><b>Question 278. Which command can display the current IP addresses assigned to Linux network interfaces?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip addr<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip route<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip hosts<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip config<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>ip addr<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">ip addr<\/span><span style=\"font-weight: 400;\"> command displays network interfaces and their assigned IP addresses. It can show IPv4 and IPv6 addresses, interface states, prefix lengths, and related information. Administrators commonly use it when troubleshooting network configuration, checking whether an address was obtained through DHCP, or verifying that an interface is active. <\/span><span style=\"font-weight: 400;\">ip route<\/span><span style=\"font-weight: 400;\"> instead displays routing information. The <\/span><span style=\"font-weight: 400;\">ip<\/span><span style=\"font-weight: 400;\"> utility provides modern Linux networking functionality and replaces many older commands such as <\/span><span style=\"font-weight: 400;\">ifconfig<\/span><span style=\"font-weight: 400;\">. When diagnosing connectivity, administrators often inspect both <\/span><span style=\"font-weight: 400;\">ip addr<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">ip route<\/span><span style=\"font-weight: 400;\"> to verify addressing and routing.<\/span><\/p>\n<p><b>Question 279. Which DNS record is commonly used to publish SPF-related information for a domain?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">SPF<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">MAIL<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">TXT<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">AUTH<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>TXT<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">SPF policies are commonly published in DNS TXT records. A TXT record can contain text data associated with a domain, including an SPF policy that identifies authorized mail-sending systems. Although an SPF-specific DNS record type was defined historically, modern SPF publication relies on TXT records. MX records identify mail exchangers and do not themselves define the complete SPF policy. Administrators can inspect published SPF information using commands such as <\/span><span style=\"font-weight: 400;\">dig TXT example.com<\/span><span style=\"font-weight: 400;\">. Correct DNS publication is important because mail systems may use SPF information when evaluating whether a sending host is authorized to send mail for a domain.<\/span><\/p>\n<p><b>Question 280. Which Linux command displays active listening TCP and UDP sockets along with associated processes when run with appropriate privileges?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">route -p<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ss -lntup<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">ip socket<\/span><\/li>\n<li><b><\/b> <span style=\"font-weight: 400;\">netroute -s<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>ss -lntup<\/b><\/p>\n<p><b>Explanation :-<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">ss -lntup<\/span><span style=\"font-weight: 400;\"> command displays listening sockets using several useful options: <\/span><span style=\"font-weight: 400;\">-l<\/span><span style=\"font-weight: 400;\"> shows listening sockets, <\/span><span style=\"font-weight: 400;\">-n<\/span><span style=\"font-weight: 400;\"> prevents name resolution, <\/span><span style=\"font-weight: 400;\">-t<\/span><span style=\"font-weight: 400;\"> selects TCP sockets, <\/span><span style=\"font-weight: 400;\">-u<\/span><span style=\"font-weight: 400;\"> selects UDP sockets, and <\/span><span style=\"font-weight: 400;\">-p<\/span><span style=\"font-weight: 400;\"> displays associated processes when sufficient privileges are available. This makes the command useful for identifying which services are listening on network ports. Administrators can use the output to verify whether a service is running, determine which address it is bound to, and investigate unexpected open ports. <\/span><span style=\"font-weight: 400;\">ss<\/span><span style=\"font-weight: 400;\"> is the modern Linux socket-inspection utility.<\/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 261. Which BIND utility verifies the syntax of a DNS zone file? rndc-checkzone named-checkzone named-checkconf dnscheck Correct Answer: 2. named-checkzone Explanation :- The named-checkzone utility validates the syntax and integrity of a BIND zone file. It normally requires the zone name and the [&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\/23066"}],"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=23066"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23066\/revisions"}],"predecessor-version":[{"id":23067,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/23066\/revisions\/23067"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=23066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=23066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=23066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}