Module 12 Flashcards

1
Q

Each Linux workstation or server is configured with a default gateway and one or more DNS servers that exist on the local subnet.

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

Which commands may be used to display the configured ip address information? (Select three)

  • ip
  • ip a
  • ip address show
  • ifconfig
A
  • ip a
  • ip address show
  • ifconfig
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ifconfig command is deprecated in most modern distros.

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

How is a name translated to an IP address? (Select two)

  • By issuing the arp command
  • By querying the DNS server
  • By consulting the /etc/hosts file
  • By consulting the /etc/hostname file
A
  • By querying the DNS server

- By consulting the /etc/hosts file

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

Which commands can you use to find the IP address of a host by name? (Select two)

  • nslookup
  • dnslookup
  • host
  • server
A
  • dnslookup

- host

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

How do you assign an IPv4 address using DHCP on modern Fedora? (Select two)

  • dhclient
  • BOOTPROTO=dhcp (in configuration file)
  • dhcp4: yes (in configuration file)
  • dhcp4: true (in configuration file)
A
  • dhclient

- BOOTPROTO=dhcp (in configuration file)

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

How can you set the name of your workstation or server that will survive the reboot? (Select two)

  • hostname
  • systemctl hostname
  • hostnamectl set-hostname
  • Edit the content of the /etc/hostname
A
  • hostnamectl set-hostname

- Edit the content of the /etc/hostname

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

What influences how the network interface is being configured? (Select two)

  • Quick vs slow boot
  • Dynamic vs static assignment
  • Temporary vs permanent configuration changes
  • Democrats vs Republicans
A
  • Dynamic vs static assignment

- Temporary vs permanent configuration changes

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

How is SSH used? (Select two)

  • Login to a shell on a remote system
  • Browse websites securely
  • X Window forwarding from a remote system
  • Securely ping a remote system
A
  • Login to a shell on a remote system

- X Window forwarding from a remote system

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

Which commands may be used to display the route table? (Select three)

  • route
  • netstat -r
  • ip route show
  • show ip route
A
  • route
  • netstat -r
  • ip route show
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Before a computer can use a router, what configuration information must it be provided?

  • routing table
  • subnet mask
  • default gateway
  • default router
A
  • default gateway
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

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

The IP address of 127.0.0.1 is also referred to as the _____.

  • local address
  • lookup address
  • local host
  • loopback address
A
  • loopback address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following utilities can be used to check TCP/IP configuration or test network connectivity? (Choose all that apply.)

  • ifconfig
  • iwconfig
  • ping
  • nmcli
A
  • ifconfig
  • iwconfig
  • ping
  • nmcli
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following port numbers is associated with SSH?

  • 22
  • 137
  • 49
  • 23
A
  • 22
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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/hosts
  • /etc/host.conf
  • /etc/resolve
  • /etc/resolv.conf
A
  • /etc/resolv.conf
17
Q

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
A
  • False
18
Q

Which file would you modify to permanently change the IP address of a network interface on a Fedora 28 system?

  • /etc/sysconfig/network-scripts/ifcfg-enp8s0
  • /etc/sysconfig/network
  • /etc/netplan/50-cloud-init.yaml
  • /etc/network/interfaces
A
  • /etc/sysconfig/network-scripts/ifcfg-enp8s0
19
Q

Which Windows program is often used to connect to a Linux server via SSH?

  • SSHD
  • Putty
  • Rdesktop
  • mstsc
A
  • Putty
20
Q

Standalone daemons are started on demand using xinetd.

  • True
  • False
A
  • False