Shortcuts To 102-400(11 to 20)

It is more faster and easier to pass the LPI 102-400 exam by using 100% Correct LPI LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2. questuins and answers. Immediate access to the Improved 102-400 Exam and find the same core area 102-400 questions with professionally verified answers, then PASS your exam with a high score now.

Q11. - (Topic 6) 

Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes? 

A. core 

B. edquota 

C. ulimit 

D. quota 

Answer:


Q12. - (Topic 1) 

When the command echo $$ outputs 12942, what is the meaning of 12942? 

A. It is the process ID of the echo command. 

B. It is the process ID of the current shell. 

C. It is the process ID of the last command executed. 

D. It is the process ID of the last command which has been placed in the background. 

Answer:


Q13. - (Topic 3) 

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true? 

A. Without additional configuration, no users may have user specific crontabs. 

B. Without additional configuration, all users may have user specific crontabs. 

C. The cron daemon will refuse to start and report missing files in the system's logfile. 

D. When a user creates a user specific crontab the system administrator must approve it explicitly. 

Answer:


Q14. - (Topic 1) 

Which of the following commands lists all defined variables and functions within Bash? 

A. env 

B. set C. env -a 

D. echo $ENV 

Answer:


Q15. - (Topic 3) 

Which file contains the date of the last change of a user's password? 

A. /etc/gshadow 

B. /etc/passwd 

C. /etc/pwdlog 

D. /etc/shadow 

E. /var/log/shadow 

Answer:


Q16. CORRECT TEXT - (Topic 6) 

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.) 

Answer: /etc/nologin 


Q17. - (Topic 6) 

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.) 

A. ssh --port 2222 example.com 

B. ssh -p 2222 example.com 

C. ssh -o Port=2222 example.com 

D. ssh -o GatewayPort=2222 example.com 

E. ssh example.com:2222 

Answer: B,C 


Q18. - (Topic 3) 

Which of the following steps prevents a user from obtaining an interactive login session? 

A. Run the command chsh -s /bin/false with the user name. 

B. Set the UID for the user to 0. 

C. Remove the user from the group staff. 

D. Add the user to /etc/noaccess. 

E. Create a .nologin file in the user's home directory. 

Answer:


Q19. - (Topic 5) 

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.) 

A. New name servers may be added to the resolver configuration. 

B. Network interfaces may become active or inactive. 

C. The routing table may change. 

D. IP addresses may change. 

E. The system's host name may change. 

Answer: B,C,D 


Q20. CORRECT TEXT - (Topic 1) 

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.) 

Answer: /etc/skel