Configuration & Hosting interview questions

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
  1. A.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  2. B.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  3. C.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  4. D.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
Reveal the answer + AI explanation — free account

2. Which term means: "the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type"?

Junior
  1. A.Generic Host
  2. B.IConfiguration
  3. C.Dependency injection container
  4. D.Options pattern
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Generic Host — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  2. B.Generic Host — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  3. C.Generic Host — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  4. D.Generic Host — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Reveal the answer + AI explanation — free account

4. What is IConfiguration?

Junior
  1. A.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
  2. B.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  3. C.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  4. D.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
Reveal the answer + AI explanation — free account

5. Which term means: "the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments"?

Junior
  1. A.Generic Host
  2. B.IConfiguration
  3. C.Dependency injection container
  4. D.Scoped lifetime
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.IConfiguration — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  2. B.IConfiguration — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  3. C.IConfiguration — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  4. D.IConfiguration — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Reveal the answer + AI explanation — free account

7. What is Dependency injection container?

Mid
  1. A.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  2. B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  3. C.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  4. D.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Reveal the answer + AI explanation — free account

8. Which term means: "the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes"?

Mid
  1. A.IConfiguration
  2. B.Options pattern
  3. C.Generic Host
  4. D.Dependency injection container
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Dependency injection container — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
  2. B.Dependency injection container — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  3. C.Dependency injection container — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  4. D.Dependency injection container — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
Reveal the answer + AI explanation — free account

10. What is Scoped lifetime?

Mid
  1. A.the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  2. B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  3. C.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  4. D.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Reveal the answer + AI explanation — free account

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
  1. A.Scoped lifetime
  2. B.Dependency injection container
  3. C.Generic Host
  4. D.IConfiguration
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Scoped lifetime — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  2. B.Scoped lifetime — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  3. C.Scoped lifetime — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  4. D.Scoped lifetime — a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
Reveal the answer + AI explanation — free account

13. What is Options pattern?

Senior
  1. A.a service registration that yields one shared instance per logical operation or request and disposes it when that operation ends
  2. B.the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  3. C.the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
  4. D.the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
Reveal the answer + AI explanation — free account

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
  1. A.Dependency injection container
  2. B.Scoped lifetime
  3. C.IConfiguration
  4. D.Options pattern
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Options pattern — the unified abstraction that reads settings from layered providers such as JSON files, environment variables and command-line arguments
  2. B.Options pattern — the convention of binding a section of settings to a strongly typed class and injecting it for type-safe access
  3. C.Options pattern — the bootstrapping abstraction that wires up configuration, logging, dependency injection and lifetime management for any app type
  4. D.Options pattern — the built-in service registry that constructs objects and supplies their declared dependencies based on registered lifetimes
Reveal the answer + AI explanation — free account

Free to start

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.

Practice Configuration & Hosting free