linux 13 comp & rev

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What FTP command runs a shell on the local computer? ~ # ! *

!

Which file stores the Apache configuration in Fedora 28? /etc/apache2/httpd.conf /etc/apache2.conf /etc/httpd.conf /etc/httpd/conf/httpd.conf

/etc/httpd/conf/httpd.conf

What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 18 FTP server? /srv/ftp /var/www/ftp /home/anonymous /var/ftp/pub

/srv/ftp

Where is the default document root directory for the Apache web server? /usr/local/html /var/www/html​ /usr/share/local/html /var/html

/var/www/html​

In NTP, what stratum consists of atomic devices or GPS clocks? 0 1 2 5

0

Which DNS resource record is an alias to other records? A AAAA CNAME NS

CNAME

When working with Sendmail, what command can be used to test SMTP support? EHLO telnet HELO smtp

HELO

Which one is NOT a common cloud architecture? IaaS PaaS SaaS TaaS

TaaS

Which command below can be used at a BASH command prompt to obtain a web page? apachect1 ab curl webpage

curl

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

lcd

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. upload mput mget get

mput

Which command can you use to synchronize ntpd with an NTP time source? ntp ntpquery ntpdate hwclock

ntpdate

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

testparm

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

CD

What must you do to transform your computer into a DNS server? (Choose all that apply.) Create zone files. Create resource records for DNS lookups. Create NIS maps. Run the name daemon (named).

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

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

DNS

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? DirectoryIndex index.html DocumentRoot index.html Index index.html UseIndex index.html

DirectoryIndex index.html

Which of the following must you perform to share a directory using NFS? (Choose all that apply.) Edit the /etc/exports file. Mount the directory to the /etc/exports directory using the mount command. Run the exportfs -a command. Start or restart the NFS daemons.

Edit the /etc/exports file. Run the exportfs -a command. Start or restart the NFS daemons.

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

False

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

False

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? Log in as the root user and reedit the configuration file. Run the dhcpconf command to edit the configuration file. Restart the DHCP daemon. Restart the xinetd daemon.

Restart the DHCP daemon.

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? Add the line to the /etc/aliases.db file instead. Run the newaliases command. Restart the Postfix daemon. Log out of the system

Run the newaliases command.

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

True

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

True

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

True

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

True

What port is used by the Network Time Protocol (NTP) for communication? TCP 20 TCP 25 UDP 69 UDP 123

UDP 123

Which command can be used to list containers that are currently running on the operating system only? docker ps docker ps -a docker run docker exec

docker ps

Which command can be used to connect to a remote Windows share called data on the server called fileserver? smbclient -L fileserver:data smbclient -L //fileserver/data smbclient //fileserver/data smbclient \\fileserver\data

smbclient //fileserver/data

Which of the following can be used to create a database within PostgreSQL? (Choose all that apply.) the CREATE DATABASE statement within the PostgreSQL utility. the ADD DATABASE statement within the PostgreSQL utility. the adddb command. the createdb command.

the CREATE DATABASE statement within the PostgreSQL utility. the createdb command.


Ensembles d'études connexes

SWR Tổng hợp tín vcl <3, SWR Checked, SWR302, SWR302

View Set

Clinical Judgement Through the Nursing Process & Priority-Setting Frameworks

View Set

NUR 346 PrepU: Chapter 23: Assessing Abdomen

View Set

Cold War Terms (military complex until end)

View Set