Linux ch 12 questions

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

ssh - X VNC

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

/ etc / hosts DNS

Which file would you modify to permanently change the IP configuration of a network interface on a modern Fedora Workstation system ? / etc / network / interfaces /etc/NetworkManager/system-connections/name.nmconnection / etc / sysconfig / network /etc/netplan/00-installer-config.yaml

/etc/NetworkManager/system-connections/name.nmconnection

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

/etc/nsswitch.conf

You currently have a Linux system configured to check the / etc / hosts file before trying to contact a DNS server to resolve host names . You want to reverse the configuration so that it checks with a DNS server before falling back to the / etc / hosts file . Which of the following files should you modify to make this possible ? /etc/nsswitch.conf /etc/named.conf / etc / hosts /etc/resolv.conf

/etc/nsswitch.conf

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 False

False

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

Route Ip

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 . How would this be represented by the ip addr command using CIDR notation ? / 24 / 23 /28 /27

/27

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 ? /etc/host.conf / etc / resolve /etc/resolv.conf /etc / hosts

/etc/resolv.conf

Which of the following port numbers is associated with SSH ? 22 137 23 49

22

Which of the following ports would be used to resolve a domain name to an IP address ? 23 69 443 53

53

The IP address of 127.0.0.1 is also referred to as the local address lookup address loopback address local host

loopback address

The daemons associated with network services listen for network traffic associated with a particular station allocation number port IP address

port

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

Putty

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

default gateway

What file lists ports and their associated protocols ? / etc / hosts /etc/ports.conf / etc / services /etc/nsswitch.conf

/ etc / services

Houston is an IT support specialist who needs to modify the IP address configuration on a Fedora Workstation on the network remotely via an SSH connection . What configuration file should he modify once he has connected to the remote system ? /etc/netplan/00-installer-config.yaml / etc / NetworkManager / system- connections / eth0.nmconnection /etc/networks/eth0.conf / etc / sysconfig / network - services / eth0

/ etc / NetworkManager / system- connections / eth0.nmconnection

Which of the following is a valid APIPA address ? 169.254.38.101 127.0.0.1 10.11.12.13 192.168.1.17

169.254.38.101

The system administrator has shut Ethernet interface eth0 down while making some changes to the system . Which of the following commands can they use to bring the network connection back up ? ( Choose all that apply . ) ifconfig eth0 up int eth0 up ip link set eth0 up activate eth0

ifconfig eth0 up ip link set eth0 up

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

netstat -t ss - t

Which of the following utilities can be used to view and configure a network renderer ? ( Choose all that apply . ) networkctl nmcli ip ifconfig

networkctl nmcli

On a system running NetworkManager , which of the following commands can be used to view or modify connection information ? nm nmcli netctonf netman

nmcli

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

ping -c 4 server1

Which of the following commands copy the / etc / hosts file on servers to the root directory on the local system using SSH ? ( Choose all that apply . ) scp root @ server5 : / etc / hosts / ssh root @ server5 cat / etc / hosts > / hosts ssh root @ server5 : / etc / hosts | ssh & > / scp root @ server5 : / etc / hosts > / hosts

scp root @ server5 : / etc / hosts / ssh root @ server5 cat / etc / hosts > / hosts

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 . ) ssh - copy - id ssh - agent ssh - keygen ssh - add

ssh - copy - id ssh - keygen

Network daemons are started on demand using inetd , xinetd , or Systemd socket units . True False

True

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

True

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

True

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

All of the above

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

Apache ( httpd ) DNS ( named )


Kaugnay na mga set ng pag-aaral

ATI Head Neck and Neuro Post Quiz

View Set

Test 4 (06 November 2022) Missed Items

View Set

Chapter 13 Meosis and the Sexual Life Cycles

View Set

Chapter 2: Making Money on the Road

View Set

BIO 2630 Mastering Homework Exam 2

View Set