Configuration & Options interview questions

15 real Configuration & Options questions from the ASP.NET Core 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 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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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