Certbus > Lpi > Lpic Level 2 > 202-450 > 202-450 Online Practice Questions and Answers

202-450 Online Practice Questions and Answers

Questions 4

FILL BLANK In order to export /usr and /bin via NFSv4, /exports was created and contains working bind mounts to /usr and /bin. The following lines are added to /etc/exports on the NFC server:

After running

mount -t nfsv4 server:/ /mnt

of an NFC-Client, it is observed that /mnt contains the content of the server's /usr directory instead of the content of the NFSv4 foot folder.

Which option in /etc/exports has to be changed or removed in order to make the NFSv4 root folder appear when mounting the highest level of the server? (Specify ONLY the option name without any values or parameters.)

Browse 373 Q&As
Questions 5

FILL BLANK

What command displays NFC kernel statistics? (Specify ONLY the command without any path or parameters.)

Browse 373 Q&As
Questions 6

What command is used to print NFS kernel statistics? (Provide the command with or without complete path)

A. nfsstat

Browse 373 Q&As
Questions 7

What directive can be used in named.conf to restrict zone transfers to the 192.168.1.0/24 network?

A. allow-transfer { 192.168.1.0/24; };

B. allow-transfer { 192.168.1.0/24 };

C. allow-axfr { 192.168.1.0/24; };

D. allow-axfr { 192.168.1.0/24 };

E. allow-xfer { 192.168.1.0/24; };

Browse 373 Q&As
Questions 8

For an LDAP client configuration, the LDAP base needs to be set. Which TWO of the following actions would achieve that?

A. export LDAPBASE=dc=linuxfoo,dc=com

B. export BASE=dc=linuxfoo,dc=com

C. Edit ldapbase.conf and add "BASE dc=linuxfoo,dc=com".

D. Edit cldap.conf and add "BASE dc=linuxfoo,dc=com".

E. Edit ldap.conf and add "BASE dc=linuxfoo,dc=com".

Browse 373 Q&As
Questions 9

How can a user's default shell be checked, by querying an NIS server?

A. ypquery [email protected]

B. ypgrep user example.com

C. ypmatch -d example.com user passwd

D. ypcat -d example.com user

E. ypq @example.com user +shell

Browse 373 Q&As
Questions 10

An iptables firewall was configured to use the target MASQUERADE to share a dedicated wireless connection to the Internet with a few hosts on the local network.

The Internet connection becomes very unstable in rainy days and users complain their connections drop when downloading e-mail or large files, while web browsing seems to be working fine.

Which change to your iptables rules could alleviate the problem?

A. Change the target MASQUERADE to SNAT

B. Change the target MASQUERADE to DNAT

C. Change the target MASQUERADE to BALANCE and provide a backup Internet connection

D. Change the target MASQUERADE to REDIRECT and provide a backup Internet connection

E. Change the target MASQUERADE to BNAT

Browse 373 Q&As
Questions 11

Which TWO of the following commands could be used to add a second IP address to eth0?

A. ifconfig eth0 - add ip 192.168.123.10

B. ifconfig eth0:1 192.168.123.10

C. ifconfig eth0 1 192.168.123.10

D. ifconfig eth0 +192.168.123.10

E. ifconfig eth0:sub1 192.168.123.10

Browse 373 Q&As
Questions 12

Where is the user foo's procmail configuration stored, if home directories are stored in /home? Please enter the complete path to the file.

A. /home/foo/.procmailrc

Browse 373 Q&As
Questions 13

A user is on holiday for two weeks. Anyone sending an email to that account should receive an autoresponse.

Which of the following procmail rules should be used, so that all incoming emails are processed by vacation?

A. :0c: | /usr/bin/vacation nobody

B. :w | /usr/bin/vacation nobody

C. :0fc: |/usr/bin/vacation nobody

D. | /usr/bin/vacation nobody

E. :> |/usr/bin/vacation nobody

Browse 373 Q&As
Questions 14

Which of the following are predefined targets for netfilter rules? (Choose TWO correct answers.)

A. JUMP

B. REROUTE

C. NAT

D. ACCEPT

E. RETURN

Browse 373 Q&As
Questions 15

Which of the following options are valid in the /etc/exports file? (Choose TWO correct answers.)

A. rw

B. ro

C. rootsquash

D. norootsquash

E. uid

Browse 373 Q&As
Questions 16

After having a laptop assigned to a new subnet, a user is no longer able to login to the SSH server with an error message like Connection closed by remote host. Which of the following are possible approaches to determine and fix the cause of this problem? (Choose TWO correct answers.)

A. Generate a new host key on the client and replace the current client host key on the SSH server.

B. Verify that the settings in /etc/host.allow and /etc/host.deny are not preventing access.

C. Flush the ARP table and the neighbor discovery cache on both the SSH server and the client.

D. Add the new IP address of the client to the AllowHosts configuration setting on the SSH server.

E. Check that there are no netfilter rules that reject SSH connections from the new IP address.

Browse 373 Q&As
Questions 17

Which of the following statements is true regarding the NFSv4 pseudo file system on the NFS server?

A. It must be called /exports

B. It usually contains bind mounts of the directory trees to be exported

C. It must be a dedicated partition on the server

D. It is defined in the option Nfsv4-Root in /etc/pathmapd.conf

E. It usually contains symlinks to the directory trees to be exported

Browse 373 Q&As
Questions 18

It has been discovered that the company mail server is configured as an open relay. Which of the following actions would help prevent the mail server from being used as an open relay while maintaining the possibility to receive company mails? (Choose two.)

A. Restrict Postfix to only accept e-mail for domains hosted on this server

B. Configure Dovecot to support IMAP connectivity

C. Configure netfilter to not permit port 25 traffic on the public network

D. Restrict Postfix to only relay outbound SMTP from the internal network

E. Upgrade the mailbox format from mbox to maildir

Browse 373 Q&As
Exam Code: 202-450
Exam Name: LPIC-2 Exam 202 Part 2 of 2 version 4.5
Last Update: Apr 06, 2024
Questions: 373 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99