AWS, JavaScript, React - Deploy Web Apps on the Cloud
 - Disabling Root User Access and Password Authentication

AWS, JavaScript, React - Deploy Web Apps on the Cloud - Disabling Root User Access and Password Authentication

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial demonstrates how to enhance server security by disabling root user and plain password authentication, and enabling SSH key authentication. It guides viewers through editing the SSHD_config file, testing the changes using Putty, and verifying that only SSH key authentication is allowed. The tutorial emphasizes the importance of these security measures in preventing unauthorized access to the server.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary reason for disabling the root user on a server?

To prevent unauthorized access

To improve server speed

To save disk space

To reduce server costs

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file needs to be edited to disable root login and password authentication?

server_config

network_config

SSHD_config

user_config

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to restart the SSH server after making configuration changes?

sudo restart sshd

sudo reload ssh

sudo systemctl restart ssh

sudo reboot server

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to keep an existing session active when testing SSH changes?

To prevent being locked out due to configuration errors

To ensure faster login next time

To monitor server performance

To save server logs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you try to log in as root after disabling root access?

The login is successful

The server restarts

The connection is terminated

The server crashes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What authentication method is allowed after disabling password authentication?

Email verification

Biometric authentication

SSH key pair authentication

Two-factor authentication

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What indicates that the server configuration is working correctly after the final test?

The server sends a confirmation email

The server shuts down

Successful login using SSH key pair

The server displays an error message