15 Hosting & Startup 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.
A.the object that registers services and configuration before producing the runnable application instance
B.the default cross-platform web server that listens for and processes HTTP requests in-process
C.the abstraction exposing the current environment name and content paths, used to branch logic by stage
D.the single entry-point file where the application is configured, the pipeline is built, and the server runs
Answer + AI explanation with Pro
2. Which term means: "the single entry-point file where the application is configured, the pipeline is built, and the server runs"?
Junior
A.Kestrel
B.IWebHostEnvironment
C.Program.cs
D.WebApplication builder
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Program.cs — the single entry-point file where the application is configured, the pipeline is built, and the server runs
B.Program.cs — the object that registers services and configuration before producing the runnable application instance
C.Program.cs — the variable whose value, such as Development or Production, selects which environment the host runs as
D.Program.cs — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Answer + AI explanation with Pro
4. What is WebApplication builder?
Junior
A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
B.the variable whose value, such as Development or Production, selects which environment the host runs as
C.the default cross-platform web server that listens for and processes HTTP requests in-process
D.the object that registers services and configuration before producing the runnable application instance
Answer + AI explanation with Pro
5. Which term means: "the object that registers services and configuration before producing the runnable application instance"?
Junior
A.Program.cs
B.WebApplication builder
C.IWebHostEnvironment
D.Kestrel
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.WebApplication builder — the variable whose value, such as Development or Production, selects which environment the host runs as
B.WebApplication builder — the single entry-point file where the application is configured, the pipeline is built, and the server runs
C.WebApplication builder — the object that registers services and configuration before producing the runnable application instance
D.WebApplication builder — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Answer + AI explanation with Pro
7. What is Kestrel?
Mid
A.the variable whose value, such as Development or Production, selects which environment the host runs as
B.the single entry-point file where the application is configured, the pipeline is built, and the server runs
C.the default cross-platform web server that listens for and processes HTTP requests in-process
D.the object that registers services and configuration before producing the runnable application instance
Answer + AI explanation with Pro
8. Which term means: "the default cross-platform web server that listens for and processes HTTP requests in-process"?
Mid
A.Program.cs
B.WebApplication builder
C.IWebHostEnvironment
D.Kestrel
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Kestrel — the default cross-platform web server that listens for and processes HTTP requests in-process
B.Kestrel — the object that registers services and configuration before producing the runnable application instance
C.Kestrel — the single entry-point file where the application is configured, the pipeline is built, and the server runs
D.Kestrel — the abstraction exposing the current environment name and content paths, used to branch logic by stage
Answer + AI explanation with Pro
10. What is IWebHostEnvironment?
Mid
A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
B.the variable whose value, such as Development or Production, selects which environment the host runs as
C.the default cross-platform web server that listens for and processes HTTP requests in-process
D.the object that registers services and configuration before producing the runnable application instance
Answer + AI explanation with Pro
11. Which term means: "the abstraction exposing the current environment name and content paths, used to branch logic by stage"?
Mid
A.WebApplication builder
B.IWebHostEnvironment
C.Kestrel
D.Program.cs
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.IWebHostEnvironment — the abstraction exposing the current environment name and content paths, used to branch logic by stage
B.IWebHostEnvironment — the default cross-platform web server that listens for and processes HTTP requests in-process
C.IWebHostEnvironment — the single entry-point file where the application is configured, the pipeline is built, and the server runs
D.IWebHostEnvironment — the object that registers services and configuration before producing the runnable application instance
Answer + AI explanation with Pro
13. What is ASPNETCORE_ENVIRONMENT?
Senior
A.the abstraction exposing the current environment name and content paths, used to branch logic by stage
B.the object that registers services and configuration before producing the runnable application instance
C.the single entry-point file where the application is configured, the pipeline is built, and the server runs
D.the variable whose value, such as Development or Production, selects which environment the host runs as
Answer + AI explanation with Pro
14. Which term means: "the variable whose value, such as Development or Production, selects which environment the host runs as"?
Senior
A.Kestrel
B.ASPNETCORE_ENVIRONMENT
C.IWebHostEnvironment
D.WebApplication builder
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.ASPNETCORE_ENVIRONMENT — the abstraction exposing the current environment name and content paths, used to branch logic by stage
B.ASPNETCORE_ENVIRONMENT — the variable whose value, such as Development or Production, selects which environment the host runs as
C.ASPNETCORE_ENVIRONMENT — the single entry-point file where the application is configured, the pipeline is built, and the server runs
D.ASPNETCORE_ENVIRONMENT — the object that registers services and configuration before producing the runnable application instance
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 Hosting & Startup question come with Pro.