15 Configuration & Hosting questions from the .NET bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
B.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
C.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
D.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
Answer + AI explanation with Pro
2. Which term means: "the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type"?
Junior
A.Generic Host
B.IConfiguration
C.Dependency injection container
D.Options pattern
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Generic Host — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
B.Generic Host — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
C.Generic Host — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
D.Generic Host — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Answer + AI explanation with Pro
4. What is IConfiguration?
Junior
A.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
B.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
C.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
D.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
Answer + AI explanation with Pro
5. Which term means: "the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments"?
Junior
A.Generic Host
B.IConfiguration
C.Dependency injection container
D.Scoped lifetime
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.IConfiguration — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
B.IConfiguration — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
C.IConfiguration — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
D.IConfiguration — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Answer + AI explanation with Pro
7. What is Dependency injection container?
Mid
A.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
C.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
D.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Answer + AI explanation with Pro
8. Which term means: "the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes"?
Mid
A.IConfiguration
B.Options pattern
C.Generic Host
D.Dependency injection container
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Dependency injection container — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
B.Dependency injection container — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
C.Dependency injection container — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
D.Dependency injection container — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
Answer + AI explanation with Pro
10. What is Scoped lifetime?
Mid
A.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
C.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
D.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Answer + AI explanation with Pro
11. Which term means: "a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends"?
Mid
A.Scoped lifetime
B.Dependency injection container
C.Generic Host
D.IConfiguration
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Scoped lifetime — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
B.Scoped lifetime — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
C.Scoped lifetime — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
D.Scoped lifetime — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Answer + AI explanation with Pro
13. What is Options pattern?
Senior
A.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
C.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
D.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
Answer + AI explanation with Pro
14. Which term means: "the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access"?
Senior
A.Dependency injection container
B.Scoped lifetime
C.IConfiguration
D.Options pattern
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Options pattern — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
B.Options pattern — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
C.Options pattern — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
D.Options pattern — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Configuration & Hosting question come with Pro.