Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 1 MCQs Basics of DevOps Infrastructure

INT332 — Devops Virtualization And Configuration Management 60 questions. Pick an option to check it.

Read the notes

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Easy

    What is the primary purpose of a container in DevOps?

  2. Question 2 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Easy

    Which early UNIX feature is often considered a precursor to modern containerization?

  3. Question 3 of 60 Container runtime Easy

    What is the main responsibility of a container runtime?

  4. Question 4 of 60 Process isolation & namespaces Easy

    Which Linux kernel feature provides process isolation for containers?

  5. Question 5 of 60 Control Groups (cgroups) for resource limits Easy

    What is the primary function of Control Groups (cgroups) in containerization?

  6. Question 6 of 60 Container images & layers Easy

    What is a container image?

  7. Question 7 of 60 Container images & layers Easy

    How are modern container images typically constructed to optimize storage and transfer?

  8. Question 8 of 60 Image registries & distribution Easy

    What is the primary role of an image registry?

  9. Question 9 of 60 Introduction to Docker Easy

    What is Docker?

  10. Question 10 of 60 Docker Architecture Easy

    Which of the following best describes Docker's underlying architecture?

  11. Question 11 of 60 Docker daemon Easy

    What is the role of the Docker daemon (dockerd)?

  12. Question 12 of 60 Docker CLI Easy

    What does the Docker CLI (Command Line Interface) do?

  13. Question 13 of 60 Docker registry & Hub Easy

    What is Docker Hub?

  14. Question 14 of 60 Object types: container, image, network, volume Easy

    In Docker, what is a volume primarily used for?

  15. Question 15 of 60 Object types: container, image, network, volume Easy

    Which Docker object is defined as a runnable instance of an image?

  16. Question 16 of 60 Object types: container, image, network, volume Easy

    Which Docker object enables isolated communication between multiple containers?

  17. Question 17 of 60 Docker layering & filesystem Easy

    What happens when a running container needs to modify a file from its underlying image?

  18. Question 18 of 60 Docker layering & filesystem Easy

    Why does Docker use a layered filesystem?

  19. Question 19 of 60 Process isolation & namespaces Easy

    Which Linux namespace is responsible for isolating the system hostname and domain name for a container?

  20. Question 20 of 60 Control Groups (cgroups) for resource limits Easy

    Without cgroups configured, what potential issue might a container cause on a host system?

  21. Question 21 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Medium

    Which early Unix technology laid the foundational concept of isolating process environments, paving the way for modern containerization?

  22. Question 22 of 60 Process isolation & namespaces Medium

    If an administrator wants to ensure that a container cannot see or interact with the network interfaces of the host system, which Linux feature is directly responsible for this isolation?

  23. Question 23 of 60 Control Groups (cgroups) for resource limits Medium

    A DevOps engineer needs to restrict a database container so it does not consume more than 2GB of RAM, preventing host system crashes. Which underlying Linux kernel feature enforces this constraint?

  24. Question 24 of 60 Container runtime Medium

    In a modern container architecture, what is the primary difference between a high-level container runtime (like containerd) and a low-level container runtime (like runc)?

  25. Question 25 of 60 Container images & layers Medium

    When building a container image, multiple commands are executed in a Dockerfile. How does the image build process handle these commands to optimize storage and pull speed?

  26. Question 26 of 60 Image registries & distribution Medium

    A developer is attempting to deploy an application on a cluster of ARM-based servers. They pull a standard image from the registry, but the containers fail to start. What is the most likely cause related to image distribution?

  27. Question 27 of 60 Docker Architecture Medium

    In the standard Docker architecture, how do the Docker client and the Docker daemon communicate when they are running on the same host?

  28. Question 28 of 60 Docker daemon Medium

    If the Docker daemon (dockerd) crashes or needs to be restarted for an upgrade, what happens to the currently running containers if the 'Live Restore' feature is enabled?

  29. Question 29 of 60 Docker CLI Medium

    Which of the following Docker CLI commands correctly starts a container in the background, maps host port 8080 to container port 80, and names the container web_app?

  30. Question 30 of 60 Docker registry & Hub Medium

    When a developer issues the command docker pull ubuntu, how does Docker determine which registry to contact to download the image?

  31. Question 31 of 60 Object types: container, image, network, volume Medium

    You are deploying a PostgreSQL database using Docker. To ensure that the database records persist even if the container is removed, which Docker object type MUST you utilize?

  32. Question 32 of 60 Object types: container, image, network, volume Medium

    Two containers, frontend and backend, need to communicate with each other using container names rather than IP addresses. What is the best way to achieve this using Docker objects?

  33. Question 33 of 60 Docker layering & filesystem Medium

    If a file is created in Layer 1 of a Docker image, and then explicitly deleted in Layer 2, what actually happens to the file within the final image structure?

  34. Question 34 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Medium

    Why do containers inherently accelerate Continuous Integration/Continuous Deployment (CI/CD) pipelines compared to traditional hardware virtualization (VMs)?

  35. Question 35 of 60 Process isolation & namespaces Medium

    When you list the running processes from inside a newly started, isolated Docker container, the application process usually shows a Process ID (PID) of 1. However, on the host machine, the same process has a PID of 14502. How is this possible?

  36. Question 36 of 60 Control Groups (cgroups) for resource limits Medium

    A host system is running under heavy CPU load. Container A is assigned a CPU share of 1024, and Container B is assigned a CPU share of 512. How will the host allocate CPU cycles between these two containers?

  37. Question 37 of 60 Docker daemon Medium

    Which component in the Docker engine is primarily responsible for listening to Docker API requests and managing Docker objects?

  38. Question 38 of 60 Container images & layers Medium

    Why is it considered a DevOps best practice to use minimal base images (like Alpine Linux) when creating container images?

  39. Question 39 of 60 Object types: container, image, network, volume Medium

    When dealing with Docker storage, what is the primary distinction between a 'Volume' and a 'Bind Mount'?

  40. Question 40 of 60 Docker layering & filesystem Medium

    When a container starts, Docker creates a thin writable layer on top of the underlying read-only image layers. What happens to the data stored in this writable layer when the container is deleted?

  41. Question 41 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Hard

    While the chroot system call laid the early groundwork for filesystem isolation, which critical limitation of chroot necessitated the development of modern containerization primitives like FreeBSD Jails and eventually Linux Namespaces?

  42. Question 42 of 60 Container runtime Hard

    In the context of the Open Container Initiative (OCI) runtime specifications, what is the primary architectural difference between a low-level runtime like runc and a high-level runtime like containerd?

  43. Question 43 of 60 Process isolation & namespaces Hard

    How does the Linux User namespace achieve privilege separation when a container requires a process to run as root internally but remain unprivileged externally?

  44. Question 44 of 60 Control Groups (cgroups) for resource limits Hard

    When setting CPU limits in Docker using --cpu-shares versus --cpus, which of the following accurately describes how the Linux Completely Fair Scheduler (CFS) applies these constraints?

  45. Question 45 of 60 Container images & layers Hard

    A developer creates a Dockerfile that downloads a 500MB archive in one RUN instruction, extracts it, and deletes the original archive in a subsequent RUN instruction. How does this affect the final image size due to Union Filesystem mechanics?

  46. Question 46 of 60 Image registries & distribution Hard

    How does an OCI-compliant image registry successfully distribute a single tagged image (e.g., app:latest) across diverse architectures like amd64 and arm64?

  47. Question 47 of 60 Introduction to Docker Hard

    Which of the following scenarios highlights the fundamental limitation of Docker's kernel-sharing architecture when compared to hardware virtualization (VMs)?

  48. Question 48 of 60 Docker Architecture Hard

    In Docker's architecture, what is the primary role of the containerd-shim process?

  49. Question 49 of 60 Docker daemon Hard

    By default, exposing the Docker daemon (dockerd) over an unencrypted TCP socket (tcp://0.0.0.0:2375) on a public network is considered a critical security vulnerability. What specific capability makes this as dangerous as granting passwordless root SSH access?

  50. Question 50 of 60 Docker CLI Hard

    When executing a docker run command, the Docker CLI determines which Docker daemon to communicate with based on a specific order of precedence. Which of the following represents the correct priority sequence from highest to lowest?

  51. Question 51 of 60 Docker registry & Hub Hard

    When utilizing Docker Content Trust (DCT) to enforce image signing, which key hierarchy protects against a scenario where an attacker compromises the online registry server and attempts to serve malicious image tags?

  52. Question 52 of 60 Object types: container, image, network, volume Hard

    A production database container utilizes a Docker named volume for its data directory instead of writing to the container's default union filesystem layer. Which of the following is the primary architectural advantage of this approach?

  53. Question 53 of 60 Docker layering & filesystem Hard

    In the context of the OverlayFS storage driver, what occurs when a container creates a new file in a directory that exists only in the read-only lowerdir?

  54. Question 54 of 60 Process isolation & namespaces Hard

    To connect a container's isolated network namespace to the host's network, Docker typically utilizes a Virtual Ethernet (veth) pair. Which of the following accurately describes the termination points of this veth pair?

  55. Question 55 of 60 Container runtime Hard

    During the startup of a container, the low-level runtime relies on pivot_root rather than just chroot. What security enhancement does pivot_root provide over standard chroot?

  56. Question 56 of 60 Object types: container, image, network, volume Hard

    When using the macvlan network driver to assign a unique MAC address directly to a container, a specific routing isolation issue arises by default. Which of the following describes this issue?

  57. Question 57 of 60 Docker Architecture Hard

    If the dockerd process encounters a fatal crash and terminates unexpectedly, what happens to the running containers under Docker's default modern configuration (assuming live-restore is enabled)?

  58. Question 58 of 60 Docker layering & filesystem Hard

    A host system with hundreds of running containers abruptly throws 'No space left on device' errors. However, df -h shows that only 30% of the disk capacity is utilized. Which of the following OverlayFS or container behaviors most likely caused this?

  59. Question 59 of 60 Introduction to containers (Origin of containers, Emergence of Modern Containerization and Integration into DevOps) Hard

    Which specific Linux kernel feature, merged around 2008, was the critical missing piece that allowed LXC (Linux Containers) to accurately meter and limit hardware resources, differentiating it from earlier UNIX-based jail systems?

  60. Question 60 of 60 Control Groups (cgroups) for resource limits Hard

    In a system running cgroups v2, which of the following best describes the unified hierarchy model compared to cgroups v1?

That's unit 1

Answer a few questions and your score shows up here.