Quiz 5 Flashcards

1
Q

“Used to refer to the physical screen you are currently looking at as a user”
a. Terminal
b. Console
c. Shell
d. Interface

A

Console

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

Which is the correct term for the description here?
“The environment from which a shell is used where users can enter their commands”

A

Terminal

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

“The environment that offers a command line on which users type the commands they want to use”
a. Terminal
b. Console
c. Shell
d. Interface

A

Shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Which device file is associated with the virtual console that is opened after using the Alt-F6 key sequence?
    a. /dev/console6
    b. /dev/tty6
    c. /dev/vty6
    d. /dev/pts/6
A

/dev/tty6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Which of the following methods will open a pseudo terminal device? (Choose two.)
    a. Log in using an SSH session
    b. Press Alt-F2 to open a new nongraphical login
    c. Right-click the graphical desktop and select Open in Terminal
    d. Enter your username and password on a nongraphical console
A

Log in using an SSH session

Press Alt-F2 to open a new nongraphical login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Sometimes a server reboot may be necessary to accomplish a task. Which of the following is not typically one of them?
    a. To recover from serious problems such as server hangs and kernel panics
    b. To apply kernel updates
    c. To apply changes to kernel modules that are being used currently and therefore cannot be reloaded easily
    d. To apply changes to the network configuration
A

To apply changes to the network configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Which of the following is true about remote access to Linux servers from a Windows environment?
    a. Open a shell terminal on Windows and type ssh to access Linux servers remotely. The ssh command is available as a default part of
    the Windows operating system.
    b. Configure Remote Access on Windows if you want to access Linux servers running the sshd process.
    c. Install the PuTTY program on Windows to access sshd services on Linux from Windows.
A

Install the PuTTY program on Windows to access sshd services on Linux from Windows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. What is the name of the file in which the public key fingerprint of the SSH servers you have connected to in the past are stored?
    a. /etc/ssh/remote_hosts
    b. /etc/ssh/known_hosts
    c. ~/.ssh/remote_hosts
    d. ~/.ssh/known_hosts
A

~/.ssh/known_hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. To allow graphical applications to be used through an SSH session, you can set a parameter in the /etc/ssh/ssh_config file. Using this parameter makes it unnecessary to use the -X command-line option each time an SSH session is initiated. Which of the following parameters should be used?
    a. Host *
    b. TunnelX11 yes
    c. ForwardX11 yes
    d. Xclient yes
A

Xclient yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which of the following statements about key-based SSH authentication is true?
    a. After creating the key pair, you need to copy the private key to the remote server.
    b. Use scp to copy the public key to the remote server.
    c. Use ssh-copy-id to copy the public key to the remote server.
    d. Use ssh-keygen on the server to generate a key pair that matches the client keys.
A

Use ssh-copy-id to copy the public key to the remote server.

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