Unit6 - Subjective Questions

CSC202 • Practice Questions with Detailed Answers

1

Define Infrastructure as Code (IaC) and list its primary benefits in modern system administration.

2

Distinguish between Declarative and Imperative approaches to Infrastructure as Code.

3

Explain the concept of Idempotency in the context of configuration management.

4

Describe the three main stages of a file in Git version control.

5

Explain the difference between git merge and git rebase.

6

What is a Hypervisor? Compare Type 1 and Type 2 Hypervisors.

7

Compare and contrast Virtual Machines (VMs) and Containers.

8

Explain the role of Namespaces and Cgroups (Control Groups) in Linux containerization.

9

Describe the standard lifecycle of a Docker container.

10

What is a Dockerfile? Explain the purpose of FROM, RUN, COPY, and CMD instructions.

11

Explain the concept of Container Images and the Union File System.

12

Discuss the challenges of data persistence in containers and how Volumes solve this.

13

What is Container Orchestration? Why is it necessary in a production environment?

14

Explain the significance of .gitignore in a Git repository.

15

Describe the different network modes available in Docker.

16

Explain the Push vs. Pull models in Infrastructure as Code configuration management.

17

What is Paravirtualization? How does it differ from Full Virtualization?

18

Define a Container Registry and explain the difference between public and private registries.

19

What are Git Hooks? Give examples of how they can be used in System Administration.

20

Explain the concept of Branching Strategies in Git and why they are important for team collaboration.