Chapter 13 Flashcards

1
Q

When working with Sendmail, what command can be used to test SMTP support?

  1. EHLO
  2. telnet
  3. HELO
  4. smtp
A

HELO

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

What port is used by the Network Time Protocol (NTP) for communication?

  1. TCP 20
  2. TCP 25
  3. UDP 69
  4. UDP 123
A

UDP 123

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

What kind of servers resolve fully qualified domain names to IP addresses for a certain namespace on the Internet?

  1. DHCP
  2. NTP
  3. DNS
  4. NIS
A

DNS

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

What FTP command runs a shell on the local computer?

  1. ~
  2. #
  3. !
  4. *
A

!

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

In NTP, what stratum consists of atomic devices or GPS clocks?

  1. 0
  2. 1
  3. 2
  4. 5
A

0

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

Where is the default document root directory for the Apache web server?

  1. /usr/local/html
  2. /var/www/html​
  3. /usr/share/local/html
  4. /var/html
A

/var/www/html​

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

Which one is NOT a common cloud architecture?

  1. IaaS
  2. PaaS
  3. SaaS
  4. TaaS
A

TaaS

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

What ftp command uploads the filename from the current directory on the local computer to the current directory on the remote computer, and allows the use of wildcard metacharacters to specify the filename.

  1. upload
  2. mput
  3. mget
  4. get
A

mput

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

What directive below in Apache’s httpd.conf file specifies that the index.html file in the document root directory will be sent to clients who request an HTML document?

  1. DirectoryIndex index.html
  2. DocumentRoot index.html
  3. Index index.html
  4. UseIndex index.html
A

DirectoryIndex index.html

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

Which command below can be used at a BASH command prompt to obtain a web page?

  1. apachect1
  2. ab
  3. curl
  4. webpage
A

curl

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

Chronyd is an NTP daemon that offers a faster response time compared to the ntpd daemon.

True
False

A

True

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

Which command within the command-line FTP utility can be used to change the current directory on the local computer?

  1. cd
  2. dir
  3. lcd
  4. get
A

lcd

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

DHCP clients send a DHCPREQUEST packet when they need to renew IP configuration.

True
False

A

True

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

Which command can you use to synchronize ntpd with an NTP time source?

  1. ntp
  2. ntpquery
  3. ntpdate
  4. hwclock
A

ntpdate

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

Which DNS resource record is an alias to other records?

  1. A
  2. AAAA
  3. CNAME
  4. NS
A

CNAME

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

You can purchase object storage from a cloud provider to provide persistent filesystem-based storage.

True
False

A

False

17
Q

Which file stores the Apache configuration in Fedora 28?

  1. /etc/apache2/httpd.conf
  2. /etc/apache2.conf
  3. /etc/httpd.conf
  4. /etc/httpd/conf/httpd.conf
A

/etc/httpd/conf/httpd.conf

18
Q

PaaS cloud providers host sandboxed Web apps using containers for scalability.

True
False

A

True

19
Q

Stratum 1 NTP servers do not obtain time information from other NTP servers.

True
False

A

False

20
Q

Which command can be used to connect to a remote Windows share called data on the server called fileserver?

  1. smbclient -L fileserver:data
  2. smbclient -L //fileserver/data
  3. smbclient //fileserver/data
  4. smbclient \fileserver\data
A

smbclient //fileserver/data

21
Q

What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 18 FTP server?

  1. /srv/ftp
  2. /var/www/ftp
  3. /home/anonymous
  4. /var/ftp/pub
A

/srv/ftp

22
Q

Which command can be used to list containers that are currently running on the operating system only?

  1. docker ps
  2. docker ps -a
  3. docker run
  4. docker exec
A

docker ps

23
Q

What must you do to transform your computer into a DNS server? (Choose all that apply.)

  1. Create zone files.
  2. Create resource records for DNS lookups.
  3. Create NIS maps.
  4. Run the name daemon (named).
A

Create zone files.
Create resource records for DNS lookups.
Run the name daemon (named).

24
Q

Which of the following can be used to create a database within PostgreSQL? (Choose all that apply.)

  1. the CREATE DATABASE statement within the PostgreSQL utility.
  2. the ADD DATABASE statement within the PostgreSQL utility.
  3. the adddb command.
  4. the createdb command.
A

the CREATE DATABASE statement within the PostgreSQL utility.

the createdb command.

25
Q

The lines within the Apache configuration file that modify the functionality of the Apache are called directives.

True
False

A

True

26
Q

Which of the following must you perform to share a directory using NFS? (Choose all that apply.)

  1. Edit the /etc/exports file.
  2. Mount the directory to the /etc/exports directory using the mount command.
  3. Run the exportfs -a command.
  4. Start or restart the NFS daemons.
A

Edit the /etc/exports file.

Run the exportfs -a command.

Start or restart the NFS daemons.

27
Q

Mary is a system administrator in your organization. She has recently made changes to the DHCP configuration file, but the DHCP daemon does not seem to recognize the new changes. What should she do?

  1. Log in as the root user and reedit the configuration file.
  2. Run the dhcpconf command to edit the configuration file.
  3. Restart the DHCP daemon.
  4. Restart the xinetd daemon.
A

Restart the DHCP daemon.

28
Q

Which term is used to describe the process of pushing new versions of a Web app to a cloud provider for testing?

  1. IaC
  2. Build automation
  3. CD
  4. Infrastructure automation
A

CD

29
Q

You have modified the /etc/aliases file to include a new email alias. However, when you send email to the alias, it cannot be delivered. What should you do?

  1. Add the line to the /etc/aliases.db file instead.
  2. Run the newaliases command.
  3. Restart the Postfix daemon.
  4. Log out of the system
A

Run the newaliases command.

30
Q

Which command can be used to connect to check the /etc/samba/smb.conf file for syntax errors?

  1. apachectl
  2. sambactl
  3. testparm
  4. psql
A

testparm

31
Q
A

yum search oobla

32
Q

Docker uses _________ technology.

IOT

Redundancy

Virtualization

Container

A

Container

33
Q

The Apache daemon listens for HTTP requests on what port by default?

TCP 20

TCP 25

TCP 80

CTP 110

A

TCP 80