ITN 170 (Linux) Cengage review questions

Ace your homework & exams now with Quizwiz!

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

a. True

Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.) a. route b. ipconfig c. ip d. traceroute

a. route c. ip

Which Windows program is often used to connect to a Linux server via SSH? a. SSHD b. Putty c. Rdesktop d. mstsc

b. Putty

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

c. lcd

You want to generate SSH keys for your user account and copy them to a remote computer to simplify future SSH authentication. What two commands can you use to perform these actions? (Choose two answers.) a. ssh-keygen b. ssh-add c. ssh-copy-id d. ssh-agent

c. ssh-copy-id a. ssh-keygen

Which file stores the IP addresses of the DNS servers used to resolve host names if no DNS servers are specified within the network configuration file for the network interface? a. /etc/hosts b. /etc/host.conf c. /etc/resolve d. /etc/resolv.conf

d. /etc/resolv.conf

The IP address of 127.0.0.1 is also referred to as the _____. a. local address b. lookup address c. local host d. loopback address

d. loopback address

Which DNS resource record is an alias to other records? a. A b. AAAA c. CNAME d. NS

c. CNAME

Which file holds the methods to be used and the order in which they will be applied for host name resolution? a. /etc/nsswitch.conf b. /etc/resolve.conf c. /etc/hosts d. /etc/dns.conf

a. /etc/nsswitch.conf

Which file would you modify to permanently change the IP address of a network interface on a Fedora 28 system? a. /etc/sysconfig/network-scripts/ifcfg-enp8s0 b. /etc/sysconfig/network c. /etc/netplan/50-cloud-init.yaml d. /etc/network/interfaces

a. /etc/sysconfig/network-scripts/ifcfg-enp8s0

DHCP clients send a DHCPREQUEST packet when they require a new IP configuration. True or False? a. True b. False

a. True

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

c. smbclient //fileserver/data

Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.) a. ifconfig b. iwconfig c. ping d. nmcli

All of the above

Which of the following port numbers is associated with SSH? a. 22 b. 137 c. 49 d. 23

a. 22

Which of the following are stand-alone daemons? (Choose all that apply.) a. Apache (httpd) b. Washington University FTP (in.ftpd) c. telnet (in.telnetd) d. DNS (named)

a. Apache (httpd) d. DNS (named)

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

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

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

a. True

SSH encrypts all traffic that passes across the network, whereas telnet does not. True or False? a. True b. False

a. True

The line that configures the host name for the computer at boot time can be found in /etc/hostname. True or False? a. True b. False

a. True

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

a. True

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

a. docker ps

What are two means available to resolve a host name to the appropriate IP address? (Choose two answers.) a. DHCP b. DNS c. /etc/hosts d. /etc/resolve.conf

b. DNS c. /etc/hosts

The daemons associated with network services listen for network traffic associated with a particular _____. a. station b. port c. IP address d. allocation number

b. port

Which of the following can be used to provide graphical remote administration? (Choose all that apply.) a. telnet b. ssh -X c. ssh d. VNC

b. ssh -X d. VNC

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

c. CD

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

b. False

Which command can you use to synchronize ntpd with an NTP time source? a. ntp b. ntpquery c. ntpq d. hwclock

c. ntpq

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

c. Restart the DHCP daemon.

Before a computer can use a router, what configuration information must it be provided? a. routing table b. subnet mask c. default gateway d. default router

c. default gateway

Standalone daemons are started on demand using xinetd. True or False? a. True b. False

b. False

The NetworkManager or Systemd-networkd components must be installed on a Linux system in order to configure an IP address on a network interface. True or False?

b. False

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? a. Add the line to the /etc/aliases.db file instead. b. Run the newaliases command. c. Restart the Postfix daemon. d. Log out of the system and then log back into the system and resend the email.

b. Run the newaliases command

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

a. /srv/ftp

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

a. Create zone files. c. Create NIS maps. d. Run the name daemon (named).

Which commands can be used to display TCP/IP connections on your Linux system? (Choose all that apply.) a. netstat -t b. mtr c. traceroute show d. ss -t

a. netstat -t c. traceroute show

To test DNS configuration by resolving a host name to an IP address, which command or commands can you use? (Choose all that apply.) a. nslookup hostname b. dig hostname c. host hostname d. resolve hostname

a. nslookup hostname b. dig hostname c. host hostname

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

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

Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False? a. True b. False

b. False

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

c. testparm

Check My Work Which file stores the Apache configuration in Fedora 28? a. /etc/apache2/httpd.conf b. /etc/apache2.conf c. /etc/httpd.conf d. /etc/httpd/conf/httpd.conf

d. /etc/httpd/conf/httpd.conf


Related study sets

Науки, які вивчає біологія

View Set

Pet Practice Test Book 4/Book 5 and PET Trainer WRITING Part 1 MEGA/Uber TEST 2018/19

View Set

Week 3: Check Your Understanding

View Set

Supp. Reading Ch. 5 Test Questions

View Set

ECON Final: Monopolistic Competition

View Set

Chapter 20: Developing an Evidence-Based Practice

View Set

Principles of Marketing - Chapter 14

View Set

Chapter 5: Written and Oral Communication/Understand the Processes, Conventions, and Modes of Written and Oral Communication

View Set

CyberOps Associate – FINAL Exam 0-67

View Set