Containers and Virtualization

Deploying and managing containers and virtual machines.

Covers the deployment, management, and orchestration of containers and virtualization technologies in Linux environments.
5 minutes 5 Questions

In the context of CompTIA Linux+, Virtualization and Containerization are distinct methods for deploying environments and managing system resources. Virtualization relies on a Hypervisor to emulate physical hardware, allowing multiple Virtual Machines (VMs) to run simultaneously. Linux+ covers Typ…

Concepts covered: Container Basics (Docker/Podman), Container Orchestration Concepts (Kubernetes), Virtual Machine Management

Test mode:
Linux+ - Containers and Virtualization Example Questions

Test your knowledge of Containers and Virtualization

Question 1

An administrator includes the instruction `EXPOSE 3000` in a Dockerfile for a Node.js application. After building the image and starting the container using `docker run -d node-app`, the administrator attempts to curl localhost:3000 on the host but the connection is refused. What is the technical reason for this connectivity failure?

Question 2

A Linux administrator configures a Kubernetes Deployment for a critical banking application using the RollingUpdate strategy. To maintain strict availability standards during application updates, the configuration must limit the number of Pods that are allowed to be offline simultaneously relative to the desired replica count. Which parameter specifically controls this lower bound of operational capacity?

Question 3

A Linux administrator needs to establish a secure remote management session to a KVM hypervisor at IP address 192.168.10.5. The connection must use the SSH protocol, authenticate as the user 'remote_admin', and grant control over the system-wide privileged libvirt daemon to manage all virtual machines on the host. Which connection URI successfully establishes this channel?

More Containers and Virtualization questions
149 questions (total)