MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Docker Interview Questions and Answer Part – 20

What type of software deals with running (placement) applications on a given node in the cluster?

  • Placer
  • VM runtime
  • Container runtime
  • Provisioner
  • Scheduler (Ans)

What is the net effect of a separate PID namespace? Each process can have an entirely separate __ .

  • filesystem
  • network stack
  • hostname
  • list of processes (Ans)

How would you avoid port conflicts? Use separate _ namespaces per process.

  • mount
  • PID
  • network (Ans)
  • IPC
  • UTS

How would you avoid shared library conflicts between processes? Use separate _______ namespaces per process.

  • UTS
  • mount (Ans)
  • network
  • PID
  • IPC

What is the net effect of a separate UTS namespace? Each process can have an entirely separate __________ .

  • list of processes
  • filesystem
  • hostname (Ans)
  • IPC
  • IP address

What’s the benefit of a user namespace?

  • Provide each process with its own networking stack and IP addresses
  • Allow privileged operations on resources in the namespaces associated with a process but not system-wide (Ans)
  • Allow privileged operations on all system resources
  • Create users specific to only a given user namespace
  • Provide each process with its own filesystem

What does an app container run?

  • A single application (Ans)
  • Runs the container runtime
  • Runs the host OS init process
  • Runs an OS init process to emulate a VM

What aspect of a scheduler handles app failure?

  • Load Balancing
  • Service Discovery
  • Enforce Desired State (Ans)
  • Scaler

What is a root namespace, i.e. a root network namespace?

  • A namespace for processes run by root, i.e. a network namespace for processes run by root
  • A type of namespace with access to all system resources, i.e. to all network devices in all network namespaces
  • A default namespace, i.e. the default network namespace (Ans)
  • A namespace for root processes, i.e. a network namespace for root processes

What can you use to find vulnerabilities in images?

  • Isolate container networking to avoid malicious processes from talking to other processes
  • Run anti-virus services inside containers
  • Image registries with security scanning (Ans)
  • Image signing and verification

What do cgroups isolate?

  • Which CPUs a process can use
  • None of these
  • Specific device access
  • All of these (Ans)
  • The amount of a resource a process can use

Docker Images consist of read-only layers.

  • False
  • True (Ans)

What task does Docker Machine perform?

  • All of these
  • Find and install Docker images
  • Create and manage local machines (Ans)
  • Create and manage Docker images
  • Create and manage containers

Specific framework versions (Node.js, ASP.NET, etc.) can be loaded on a developer machine by creating a custom Dockerfile.

  • True (Ans)
  • False

What file does Docker Compose use to define services?

  • compose.xml
  • Dockerfile
  • docker- compose.son
  • docker- compose.yml (Ans)

What Dockerfile instruction can be used to execute “npm install” when creating a custom Image?

  • None of these
  • npm install
  • EXECUTE npm install
  • RUN npm install (Ans)

What command- line switches are used with legacy linking?

  • –run and –link
  • –com and –name
  • –link and –name (Ans)
  • –net and –name

Bridge networks can be defined in Docker Compose files.

  • True (Ans)
  • False

Docker Kitematic provides a way to visually search for images hosted on __________?

  • Docker Hub (Ans)
  • VirtualBox
  • Docker Client
  • Docker Machine

Docker containers can be started and stopped.

  • True (Ans)
  • False

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Docker Tutorials: Docker Image – Example and Sample Programs of Dockerfile

This page collects sample Dockerfiles that build an Ubuntu-based Apache image and show how CMD, ENTRYPOINT, EXPOSE, ARG, ENV, COPY and USER behave. Below the examples you…

Read More

Docker Training Agenda: A Hands-On Learning Path from Containers to Registries and Networking

This revised Docker training agenda turns the original outline into a practical, modern learning path for beginners and early-career DevOps engineers. It maps each module to hands-on outcomes, core commands, and common implementation decisions.

Read More

TFS Interview Questions and Answers: Practical DevOps Guide

A structured, interview-focused guide to Team Foundation Server (TFS), including TFVC vs Git, build and reporting topics, and practical command examples. Use it to prepare concise, technically strong answers for common TFS interview scenarios.

Read More

Install Jenkins with Docker: Persistent Setup, Port Mapping, and Logs

Learn how to run Jenkins in Docker with correct port mapping, persistent storage, and operational commands. This updated guide keeps the original workflow but adds modern, production-minded practices.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Install Atlassian Jira with Docker: Quick Start, Persistent Volumes, and Deployment Checks

This guide shows how to run Jira in Docker using the original one-line command, then improve it with persistent storage and repeatable deployment steps. It also includes a workflow diagram, command examples, and practical validation checks.

Read More