1. What is Built-in container ? Junior A. the service registry exposed on the builder Services collection for wiring up dependencies B. a registration that yields a fresh instance each time the dependency is requested C. a registration that shares one instance for the entire lifetime of the app D. adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later Reveal the answer + AI explanation — free account
2. Which term means: "the service registry exposed on the builder Services collection for wiring up dependencies"? Junior A. Built-in container B. Constructor injection C. Service registration D. Transient lifetime Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Built-in container — the service registry exposed on the builder Services collection for wiring up dependencies B. Built-in container — adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later C. Built-in container — supplying a class its dependencies automatically through its parameters when the container creates it D. Built-in container — a registration that yields a fresh instance each time the dependency is requested Reveal the answer + AI explanation — free account
4. What is Service registration ? Mid A. supplying a class its dependencies automatically through its parameters when the container creates it B. the service registry exposed on the builder Services collection for wiring up dependencies C. adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later D. a registration that yields a fresh instance each time the dependency is requested Reveal the answer + AI explanation — free account
5. Which term means: "adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later"? Mid A. Singleton lifetime B. Service registration C. Constructor injection D. Built-in container Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. Service registration — adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later B. Service registration — a registration that yields a fresh instance each time the dependency is requested C. Service registration — a registration that shares one instance for the entire lifetime of the app D. Service registration — the service registry exposed on the builder Services collection for wiring up dependencies Reveal the answer + AI explanation — free account
7. What is Constructor injection ? Mid A. the service registry exposed on the builder Services collection for wiring up dependencies B. a registration that yields a fresh instance each time the dependency is requested C. a registration that shares one instance for the entire lifetime of the app D. supplying a class its dependencies automatically through its parameters when the container creates it Reveal the answer + AI explanation — free account
8. Which term means: "supplying a class its dependencies automatically through its parameters when the container creates it"? Mid A. Constructor injection B. Singleton lifetime C. Transient lifetime D. Built-in container Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Constructor injection — a registration that yields a fresh instance each time the dependency is requested B. Constructor injection — a registration that shares one instance for the entire lifetime of the app C. Constructor injection — adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later D. Constructor injection — supplying a class its dependencies automatically through its parameters when the container creates it Reveal the answer + AI explanation — free account
10. What is Transient lifetime ? Mid A. adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later B. a registration that yields a fresh instance each time the dependency is requested C. the service registry exposed on the builder Services collection for wiring up dependencies D. supplying a class its dependencies automatically through its parameters when the container creates it Reveal the answer + AI explanation — free account
11. Which term means: "a registration that yields a fresh instance each time the dependency is requested"? Mid A. Service registration B. Singleton lifetime C. Built-in container D. Transient lifetime Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Transient lifetime — supplying a class its dependencies automatically through its parameters when the container creates it B. Transient lifetime — adding a type to the container with singleton, scoped or transient lifetime so it can be resolved later C. Transient lifetime — a registration that shares one instance for the entire lifetime of the app D. Transient lifetime — a registration that yields a fresh instance each time the dependency is requested Reveal the answer + AI explanation — free account
13. What is Singleton lifetime ? Mid A. a registration that yields a fresh instance each time the dependency is requested B. a registration that shares one instance for the entire lifetime of the app C. the service registry exposed on the builder Services collection for wiring up dependencies D. supplying a class its dependencies automatically through its parameters when the container creates it Reveal the answer + AI explanation — free account
14. Which term means: "a registration that shares one instance for the entire lifetime of the app"? Mid A. Singleton lifetime B. Service registration C. Transient lifetime D. Built-in container Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. Singleton lifetime — a registration that shares one instance for the entire lifetime of the app B. Singleton lifetime — a registration that yields a fresh instance each time the dependency is requested C. Singleton lifetime — supplying a class its dependencies automatically through its parameters when the container creates it D. Singleton lifetime — the service registry exposed on the builder Services collection for wiring up dependencies Reveal the answer + AI explanation — free account