Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

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 a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Docker Tutorials: Docker Image – Understanding Dockerfiles instructions & options

Here’s a step-by-step tutorial for Dockerfile, including explanations and examples for each major command. Dockerfile Tutorial A Dockerfile is a text file containing instructions to build a…

Read More

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

Reference Rajesh Kumar I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories…

Read More

Docker Tutorials: Installation and Configurations

Docker Installation in Centos/RHEL Method -1: How to install Docker Community Edition via YUM? Step 1 – Install required packages. yum-utils provides the yum-config-manager utility, and device-mapper-persistent-data…

Read More

Docker Tutorials: How to Install Docker in Ubuntu?

Install Docker Engine in Ubuntu NOTE – All commands you must run as root user or add a current user into a linux group name called “docker”…

Read More

Docker Lab, Excercise & Assignment – 7 – Docker Volume

Below is a very detailed tutorial and lab manual for learning Docker Volumes, using the Ubuntu image for practical, hands-on labs. This covers all major types of…

Read More

Docker Lab, Excercise & Assignment – 4 – Docker Networking

Here’s an in-depth, step-by-step tutorial and lab manual for Docker Networking—starting from basics, covering all core concepts, and providing a hands-on guide to every feature and command….

Read More