(102-500) Pre-Assessment Quiz Flashcards

1
Q

Which of the following will delete the first job scheduled by the at utility? (Choose two.)
a. atrm 1
b. at -rm 1
c. at -d 1
d. atd 1

A

a. atrm 1
c. at -d 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following is a valid method of running a script named myscript.sh? (Choose two)
a. source myscript.sh
b. run myscript.sh
c. exec ./myscript.sh
d. ./myscript.sh

A

a. source myscript.sh
d. ./myscript.sh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following constructs when used between two commands will run the second command only if the first command fails?
a. &&
b. ##
c. ||
d. !=

A

c. ||

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Ashton has issues pressing multiple keys on the keyboard at the same time. He turns on an accessibility feature that allows him to press the shift key and then a letter in order to get a capital letter when typing. What is the name of the feature that Ashton enabled?
a. slow keys
b. bounce keys
c. repeat keys
d. sticky keys

A

d. sticky keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following commands can be used to set the BIOS time from the system clock on a Linux system?
a. localtime
b. hwclock
c. date
d. tzselect

A

b. hwclock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Jackie wants to configure journald to forward all events to the System Log daemon. Which of the following files should she modify to enable this setting?

a. /etc/systemd/journald.conf
b. /etc/journald.conf
c. /etc/system/system.conf
d. /etc/systemd.conf

A

a. /etc/systemd/journald.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following commands can you use to send a print job to printer1? (Choose all that apply.)

a. lp -d printer1 mydocument.txt

b. lpr -d printer1 mydocument.txt

c. lpr -P printer1 mydocument.txt

d. lp -p printer1 mydocument.txt

A

a. lp -d printer1 mydocument.txt

c. lpr -P printer1 mydocument.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following commands will perform a traceroute to Google’s IPv6 address? (Choose all that apply.)

a. traceroute6 google.com
b. traceroute -6 google.com
c. traceroute –ipv6 google.com
d. traceroute -v6 google.com

A

a. traceroute6 google.com
b. traceroute -6 google.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Jacob is able to ping multiple systems by their IP addresses, but not by their domain name. He believes his ISP is currently having issues with their DNS server. In order to troubleshoot, he wants to temporarily change the DNS server his system is using to one of the public DNS servers on the Internet. Which of the following files should Jacob edit?

a. /etc/nsswitch.conf	
b. /etc/resolv.conf	
c. /etc/dns.conf	
d. /etc/hosts.conf
A

b. /etc/resolv.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Tony wants to forward all of his emails to another email address. How can he enable this?

a. Use the command mailforward –add email@domain.com

b. Use the command mail -f email@domain.com

c. Create a ~/.forward file containing the email address to forward to

d. Edit the ~/.mail.cnf file

A

c. Create a ~/.forward file containing the email address to forward to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly