Test 2 Flashcards

DHCP, DNS, Web Server

1
Q

How would you giver this user root privileges?

username: test2

A

usermod -aG wheel test2

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

How do you ?

A

sudo yum -y install realmd

then download additional packets

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

How do you discover and join a domain on linux?

A

sudo realm discover ‘domain.name’

sudo realm join ‘domain.name’

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

What command do you use to install dhcp on linux?

A

sudo yum install dhcpd

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

What comman is used to configure the dhcp file for designated ip’s on linux?

A

sudo vi /etc/dhcp/dhcp.conf

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

When configuring services to be permitted on the firewall what command is used?

A

sudo -firewall-cmd –add-service=’service’ –permanent
services include:
- dhcp
- dns

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

How can you start, stop, check status, and restart services on linux?
ex: dhcp

A

sudo systemctl start dhcp
sudo systemctl stop dhcp
sudo systemctl restart dhcp
sudo systemctl status dhchp

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

What command is used to download dns?

A

sudo yum install bind-utils unbound

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

What is used to identify dns when start, stop, check status, and restart services on linux?

A

unbound

ex: sudo systemctl start unbound

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

What file is modified when configuring dns?

A

sudo vi /etc/unbound/unbound.conf

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

how can you check the status of the unbound files for dns?

A

unbound checkconf

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

What DNS records will you make on the ADDC controller to access sites made on your linux machiene?

A

make a forward/host record in DNS that’s pointing to the IP address of the linux machine we’re working on, along with the name of the lnx url for our website

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