Unit5 - Subjective Questions

CSC202 • Practice Questions with Detailed Answers

1

Explain the concept of Firewalld in Linux and describe the significance of 'Zones'.

2

List and explain five key steps to harden a Linux system to enhance security.

3

Define SELinux and explain its three modes of operation.

4

Compare Symmetric and Asymmetric encryption techniques used in managing network security.

5

Describe the basic components of a Bash Script and explain the significance of the Shebang.

6

Explain the usage of tcpdump for monitoring network traffic with at least two examples.

7

Differentiate between AppArmor and SELinux.

8

What is PAM (Pluggable Authentication Modules)? Explain its architecture and configuration file location.

9

Write a Bash script snippet using an if-else statement to check if a file named data.txt exists and is writable. Use appropriate test operators.

10

Explain the different types of Loops available in Bash scripting with syntax examples.

11

Describe the process of generating a Self-Signed SSL Certificate in Linux.

12

Explain Input and Output Redirection in Linux shell scripts using file descriptors.

13

How is the sudo command configured? Explain the syntax of the /etc/sudoers file.

14

Explain the usage of the case statement in Bash scripting with a syntax example.

15

What are Positional Parameters in shell scripting? How are they accessed?

16

Discuss how to permanently add a service (e.g., HTTP) to the public zone using firewall-cmd.

17

Explain Command Substitution in Bash. Provide two different syntax methods.

18

Define SSH (Secure Shell) and describe how Key-Based Authentication works.

19

What is the Exit Status of a command? How is it used in logical controls within a script?

20

Explain the concept of Arithmetic Expansion in Bash and provide examples.