Configuration & Hosting interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

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

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
  1. A.Generic Host
  2. B.IConfiguration
  3. C.Dependency injection container
  4. D.Options pattern

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.Generic Host
  2. B.IConfiguration
  3. C.Dependency injection container
  4. D.Scoped lifetime

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.IConfiguration
  2. B.Options pattern
  3. C.Generic Host
  4. D.Dependency injection container

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.Scoped lifetime
  2. B.Dependency injection container
  3. C.Generic Host
  4. D.IConfiguration

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

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
  1. A.Dependency injection container
  2. B.Scoped lifetime
  3. C.IConfiguration
  4. D.Options pattern

Answer + AI explanation with Pro

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

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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers