Ensurepass

QUESTION 1

The legacy program for sending files to the printer queues from the command line is which of the following?

 

A. lpd

B. lpr

C. lpq

D. lpp

 

Answer: B 

 

 

QUESTION 2

Which of the following statements would create a default route using a gateway of 192.168.1.1?

 

A. netstat -add default gw

B. route default 192.168.1.1

C. ip route default 192.168.1.1

D. route add default gw 192.168.1.1

E. ifconfig default gw 192.168.1.1 eth0

 

Answer: D 

 

 

QUESTION 3

Which of the following is the purpose of the dig command?

 

A. To adjust a directory’s hidden permissions

B. To search for files on the filesystem

C. To adjust a file’s hidden permissions

D. To perform hostname lookups

E. To ping all known hosts on the current subnet

 

Answer: D 

 

 

QUESTION 4

Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?

 

A. /etc/groups

B. /etc/passwd

C. /etc/sudoers

D. /etc/sudo.conf

 

Answer: C 

 

 

QUESTION 5

Which of the following commands will set the local machine’s timezone to UTC?

 

A. cat UTC > /etc/timezone

B. ln -s /usr/share/zoneinfo/UTC /etc/localtime

C. date –timezone=UTC

D. mv /usr/timezone/UTC /etc

 

Answer: B 

 

 

QUESTION 6 CORRECT TEXT

A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file).

 

Answer: /ETC/CRON.ALLOW

 

 

QUESTION 7

Which of the following commands should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO).

 

A. export LANGUAGE=”pt”

B. export MESSAGE=”pt”

C. export LANG=”pt”

D. export LC_MESSAGES=”pt”

E. export ALL_MESSAGES=”pt”

 

Answer: C,D 

 

 

QUESTION 8

Which of the following is pool.ntp.org?

 

A. A deprecated feature for maintaining system time in the Linux kernel.

B. A website which provides binary and source packages for the OpenNTPD project.

C. A virtual cluster of various timeservers.

D. A community website used to discuss the localization of Linux.

 

Answer: C 

 

 

QUESTION 9

Which of the following directories in a user’s home contains configuration files and key rings for GPG?

 

A. ~/gpg.d/

B. ~/.gpg/

C. ~/.gnupg/

D. ~/gnupg/

E. ~/.gpg.d/

 

Answer: C 

 

 

QUESTION 10

Which of the following lines from /etc/X11/xorg.conf indicates that fonts can be found on a font server?

 

A. FontPath= server

B. Fonts “unix/:7100”

C. FontPath “unix/:7100”

D. Fonts= server

E. Fontserver = “servername”

 

Answer: C 

 

 

Comments are closed.