Hosting & Startup interview questions

15 real Hosting & Startup 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 Program.cs?

Junior
  1. A.the object that registers services and configuration before producing the runnable application instance
  2. B.the default cross-platform web server that listens for and processes HTTP requests in-process
  3. C.the abstraction exposing the current environment name and content paths, used to branch logic by stage
  4. D.the single entry-point file where the application is configured, the pipeline is built, and the server runs
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Program.cs — the single entry-point file where the application is configured, the pipeline is built, and the server runs
  2. B.Program.cs — the object that registers services and configuration before producing the runnable application instance
  3. C.Program.cs — the variable whose value, such as Development or Production, selects which environment the host runs as
  4. D.Program.cs — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Reveal the answer + AI explanation — free account

4. What is WebApplication builder?

Junior
  1. A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
  2. B.the variable whose value, such as Development or Production, selects which environment the host runs as
  3. C.the default cross-platform web server that listens for and processes HTTP requests in-process
  4. D.the object that registers services and configuration before producing the runnable application instance
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.WebApplication builder — the variable whose value, such as Development or Production, selects which environment the host runs as
  2. B.WebApplication builder — the single entry-point file where the application is configured, the pipeline is built, and the server runs
  3. C.WebApplication builder — the object that registers services and configuration before producing the runnable application instance
  4. D.WebApplication builder — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Reveal the answer + AI explanation — free account

7. What is Kestrel?

Mid
  1. A.the variable whose value, such as Development or Production, selects which environment the host runs as
  2. B.the single entry-point file where the application is configured, the pipeline is built, and the server runs
  3. C.the default cross-platform web server that listens for and processes HTTP requests in-process
  4. D.the object that registers services and configuration before producing the runnable application instance
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Kestrel — the default cross-platform web server that listens for and processes HTTP requests in-process
  2. B.Kestrel — the object that registers services and configuration before producing the runnable application instance
  3. C.Kestrel — the single entry-point file where the application is configured, the pipeline is built, and the server runs
  4. D.Kestrel — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Reveal the answer + AI explanation — free account

10. What is IWebHostEnvironment?

Mid
  1. A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
  2. B.the variable whose value, such as Development or Production, selects which environment the host runs as
  3. C.the default cross-platform web server that listens for and processes HTTP requests in-process
  4. D.the object that registers services and configuration before producing the runnable application instance
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.IWebHostEnvironment — the abstraction exposing the current environment name and content paths, used to branch logic by stage
  2. B.IWebHostEnvironment — the default cross-platform web server that listens for and processes HTTP requests in-process
  3. C.IWebHostEnvironment — the single entry-point file where the application is configured, the pipeline is built, and the server runs
  4. D.IWebHostEnvironment — the object that registers services and configuration before producing the runnable application instance
Reveal the answer + AI explanation — free account

13. What is ASPNETCORE_ENVIRONMENT?

Senior
  1. A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
  2. B.the object that registers services and configuration before producing the runnable application instance
  3. C.the single entry-point file where the application is configured, the pipeline is built, and the server runs
  4. D.the variable whose value, such as Development or Production, selects which environment the host runs as
Reveal the answer + AI explanation — free account

14. Which term means: "the variable whose value, such as Development or Production, selects which environment the host runs as"?

Senior
  1. A.Kestrel
  2. B.ASPNETCORE_ENVIRONMENT
  3. C.IWebHostEnvironment
  4. D.WebApplication builder
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.ASPNETCORE_ENVIRONMENT — the abstraction exposing the current environment name and content paths, used to branch logic by stage
  2. B.ASPNETCORE_ENVIRONMENT — the variable whose value, such as Development or Production, selects which environment the host runs as
  3. C.ASPNETCORE_ENVIRONMENT — the single entry-point file where the application is configured, the pipeline is built, and the server runs
  4. D.ASPNETCORE_ENVIRONMENT — the object that registers services and configuration before producing the runnable application instance
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 Hosting & Startup free