Module 12 Test Flashcards

1
Q

Which of the following commands will send 4 ICMP echo requests to a remote host named server1 to determine the round trip time it takes a packet to travel?
a. ping -4 server1
b. ping server1
c. ping -c 4 server1
d. ping -n 4 server1

A

c. ping -c 4 server1

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

You run the command hostname server1 and issue the reboot command. You notice that the host name has reverted back to what it was before the reboot. Which of the following commands should you have used to change the host name instead?
a. ifconfig server1
b. host server1
c. hostnamectl set-hostname server1
d. set hostname=”server1

A

c. hostnamectl set-hostname server1

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

Which of the following can be used to graphically remotely administer a Linux machine?
a. RDP
b. Telnet
c. FTP
d. VNC

A

d. VNC

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

The output of the ifconfig shows a HWaddr expressed in hexadecimal. How many bits is the hardware address shown made up of?
a. 8
b. 32
c. 48
d. 128

A

c. 48

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

Upon running the ifconfig command, the IP address is listed along with the subnet mask in dotted decimal notation listed as 255.255.255.224. You have installed a remote access software that has an address field that requires the address to be configured in CIDR notation. Which of the following is the equivalent CIDR notation for the subnet mask listed?
a. /23
b. /24
c. /27
d. /28

A

c. /27

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

Which of the following files does the hostnamectl command modify to set the hostname on a machine?
a. /etc/hostname
b. /etc/host.conf
c. /etc/hosts.conf
d. /etc/hostname.conf

A

a. /etc/hostname

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

Which of the following is a valid APIPA address?
a. 127.0.0.1
b. 169.254.38.101
c. 10.11.12.13
d. 192.168.1.17

A

b. 169.254.38.101

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

Which of the following are valid statements in the /etc/resolv.conf file? (Choose two.)
a. domain comptia.org
b. order hosts, bind
c. 10.1.15.60 server10
d. nameserver 10.1.1.4

A

a. domain comptia.org
d. nameserver 10.1.1.4

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