W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
53 questions for “Docker & Containerization”
Found in 1 field. Select a question to see its full answer.
Matching topics
.NET
Docker
&
Containerization
16
Node.js
Docker
&
Containerization
for Node.js
5
Information Technology
53 questions in 2 technologies
#
Question
Technology
Topic
Level
1
What is the difference between an image and a container in
Docker
terminology, applied to a .NET application?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Beginner
2
What are the official .NET
Docker
base images, and what's the difference between the sdk, aspnet, and runtime image variants?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Beginner
3
How does a multi-stage
Docker
file reduce the final image size for a .NET application, and what does each stage typically do?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
4
Why is it recommended to run a containerized .NET application as a non-root user, and how do you configure this in a
Docker
file?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
5
What is
Docker
Compose, and how does it simplify running a multi-container .NET application locally (e.g., API + database + Redis)?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
6
How does .
docker
ignore improve
Docker
build performance and image cleanliness for .NET projects?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
7
Why does copying only the .csproj file before the rest of the source code in a
Docker
file improve build caching?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Advanced
8
How would you optimize a
Docker
image build for a solution with multiple .NET projects sharing common dependencies, to maximize layer cache reuse?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Advanced
9
How do you configure a .NET container to respect memory and CPU limits set by the container orchestrator (like Kubernetes resource limits)?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
10
How do you pass environment-specific configuration into a running .NET container, and how does this interact with the configuration system?
.NET › Docker & Containerization
.NET
Docker
&
Containerization
Intermediate
Show all 53 questions in Information Technology