Configuration & Options interview questions

15 Configuration & Options questions from the ASP.NET Core 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 appsettings.json?

Junior
  1. A.the default file holding hierarchical key-value settings loaded at application startup
  2. B.binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  3. C.the abstraction providing read access to merged settings from files, environment variables, and other providers
  4. D.overriding base values with a file like appsettings.Production.json selected by the current environment name

Answer + AI explanation with Pro

2. Which term means: "the default file holding hierarchical key-value settings loaded at application startup"?

Junior
  1. A.Options pattern
  2. B.appsettings.json
  3. C.IConfiguration
  4. D.Environment-based settings

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.appsettings.json — binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  2. B.appsettings.json — the default file holding hierarchical key-value settings loaded at application startup
  3. C.appsettings.json — the abstraction providing read access to merged settings from files, environment variables, and other providers
  4. D.appsettings.json — a development-only store keeping sensitive values outside the project tree and out of source control

Answer + AI explanation with Pro

4. What is IConfiguration?

Junior
  1. A.the default file holding hierarchical key-value settings loaded at application startup
  2. B.binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  3. C.a development-only store keeping sensitive values outside the project tree and out of source control
  4. D.the abstraction providing read access to merged settings from files, environment variables, and other providers

Answer + AI explanation with Pro

5. Which term means: "the abstraction providing read access to merged settings from files, environment variables, and other providers"?

Junior
  1. A.IConfiguration
  2. B.Options pattern
  3. C.Environment-based settings
  4. D.appsettings.json

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.IConfiguration — the default file holding hierarchical key-value settings loaded at application startup
  2. B.IConfiguration — overriding base values with a file like appsettings.Production.json selected by the current environment name
  3. C.IConfiguration — binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  4. D.IConfiguration — the abstraction providing read access to merged settings from files, environment variables, and other providers

Answer + AI explanation with Pro

7. What is Options pattern?

Mid
  1. A.overriding base values with a file like appsettings.Production.json selected by the current environment name
  2. B.the abstraction providing read access to merged settings from files, environment variables, and other providers
  3. C.binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  4. D.a development-only store keeping sensitive values outside the project tree and out of source control

Answer + AI explanation with Pro

8. Which term means: "binding a section of settings to a strongly typed class injected as IOptions for type-safe access"?

Mid
  1. A.Options pattern
  2. B.IConfiguration
  3. C.User secrets
  4. D.appsettings.json

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Options pattern — the abstraction providing read access to merged settings from files, environment variables, and other providers
  2. B.Options pattern — binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  3. C.Options pattern — a development-only store keeping sensitive values outside the project tree and out of source control
  4. D.Options pattern — overriding base values with a file like appsettings.Production.json selected by the current environment name

Answer + AI explanation with Pro

10. What is Environment-based settings?

Mid
  1. A.a development-only store keeping sensitive values outside the project tree and out of source control
  2. B.overriding base values with a file like appsettings.Production.json selected by the current environment name
  3. C.the abstraction providing read access to merged settings from files, environment variables, and other providers
  4. D.binding a section of settings to a strongly typed class injected as IOptions for type-safe access

Answer + AI explanation with Pro

11. Which term means: "overriding base values with a file like appsettings.Production.json selected by the current environment name"?

Mid
  1. A.IConfiguration
  2. B.Environment-based settings
  3. C.Options pattern
  4. D.User secrets

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Environment-based settings — binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  2. B.Environment-based settings — overriding base values with a file like appsettings.Production.json selected by the current environment name
  3. C.Environment-based settings — the default file holding hierarchical key-value settings loaded at application startup
  4. D.Environment-based settings — a development-only store keeping sensitive values outside the project tree and out of source control

Answer + AI explanation with Pro

13. What is User secrets?

Senior
  1. A.a development-only store keeping sensitive values outside the project tree and out of source control
  2. B.overriding base values with a file like appsettings.Production.json selected by the current environment name
  3. C.the default file holding hierarchical key-value settings loaded at application startup
  4. D.the abstraction providing read access to merged settings from files, environment variables, and other providers

Answer + AI explanation with Pro

14. Which term means: "a development-only store keeping sensitive values outside the project tree and out of source control"?

Senior
  1. A.appsettings.json
  2. B.Environment-based settings
  3. C.Options pattern
  4. D.User secrets

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.User secrets — overriding base values with a file like appsettings.Production.json selected by the current environment name
  2. B.User secrets — the abstraction providing read access to merged settings from files, environment variables, and other providers
  3. C.User secrets — binding a section of settings to a strongly typed class injected as IOptions for type-safe access
  4. D.User secrets — a development-only store keeping sensitive values outside the project tree and out of source control

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 & Options 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