15 real Configuration & Hosting questions from the .NET bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Generic Host?
Junior
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
2. Which term means: "the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type"?
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
5. Which term means: "the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments"?
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
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
11. Which term means: "a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends"?
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
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.