[ DOT NET Core MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Core MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
231. Configuration का Default Source कौन सा है?
[A] appsettings.json
[B] Database
[C] Excel
[D] XML Only
231. What is the default configuration source?
[A] appsettings.json
[B] Database
[C] Excel
[D] XML Only
सही उत्तर: appsettings.json
व्याख्या: ASP.NET Core में appsettings.json मुख्य Configuration File है।
Correct Answer: appsettings.json
Explanation: appsettings.json is the primary configuration file.
232. IConfiguration Interface का उपयोग किसलिए किया जाता है?
[A] Configuration Read करने के लिए
[B] Database Access
[C] Routing
[D] Authentication
232. What is IConfiguration used for?
[A] Read Configuration
[B] Database Access
[C] Routing
[D] Authentication
सही उत्तर: Configuration Read करने के लिए
व्याख्या: IConfiguration Application Settings पढ़ने के लिए उपयोग होती है।
Correct Answer: Read Configuration
Explanation: IConfiguration reads application settings.
233. Options Pattern का उपयोग किसलिए किया जाता है?
[A] Strongly Typed Configuration
[B] Database Backup
[C] Logging
[D] Caching
233. What is the Options Pattern used for?
[A] Strongly Typed Configuration
[B] Database Backup
[C] Logging
[D] Caching
सही उत्तर: Strongly Typed Configuration
व्याख्या: Options Pattern Configuration Values को Classes में Map करती है।
Correct Answer: Strongly Typed Configuration
Explanation: Options pattern maps configuration values to classes.
234. IOptions क्या प्रदान करता है?
[A] Configuration Object
[B] Database Object
[C] Controller Object
[D] Middleware Object
234. What does IOptions provide?
[A] Configuration Object
[B] Database Object
[C] Controller Object
[D] Middleware Object
सही उत्तर: Configuration Object
व्याख्या: IOptions Strongly Typed Settings Access देता है।
Correct Answer: Configuration Object
Explanation: Provides access to strongly typed settings.
235. Logging Levels में सबसे Detailed Level कौन सा है?
[A] Trace
[B] Error
[C] Warning
[D] Critical
235. Which logging level is the most detailed?
[A] Trace
[B] Error
[C] Warning
[D] Critical
सही उत्तर: Trace
व्याख्या: Trace Level सबसे अधिक Detailed Logs प्रदान करता है।
Correct Answer: Trace
Explanation: Trace provides the most detailed logging information.
236. Critical Logging Level कब उपयोग होती है?
[A] Application Failure पर
[B] Normal Operation पर
[C] UI Rendering पर
[D] Caching पर
236. When is Critical logging level used?
[A] Application Failure
[B] Normal Operation
[C] UI Rendering
[D] Caching
सही उत्तर: Application Failure पर
व्याख्या: Critical Logs गंभीर Errors के लिए उपयोग होती हैं।
Correct Answer: Application Failure
Explanation: Critical logs indicate severe failures.
237. Health Checks का उपयोग किसलिए किया जाता है?
[A] Application Health Monitor करने के लिए
[B] Database Create करने के लिए
[C] Routing
[D] Authentication
237. What are Health Checks used for?
[A] Monitor Application Health
[B] Create Database
[C] Routing
[D] Authentication
सही उत्तर: Application Health Monitor करने के लिए
व्याख्या: Health Checks Application और Dependencies की स्थिति बताती हैं।
Correct Answer: Monitor Application Health
Explanation: Health checks monitor application and dependency status.
238. AddHealthChecks() Method का उपयोग किसलिए होता है?
[A] Health Checks Register करने के लिए
[B] Caching Enable करने के लिए
[C] Authentication के लिए
[D] Routing के लिए
238. What is AddHealthChecks() used for?
[A] Register Health Checks
[B] Enable Caching
[C] Authentication
[D] Routing
सही उत्तर: Health Checks Register करने के लिए
व्याख्या: Health Check Services Register करने हेतु उपयोग होती है।
Correct Answer: Register Health Checks
Explanation: Registers health check services.
239. Health Check Endpoint सामान्यतः किस URL पर उपलब्ध होता है?
[A] /health
[B] /login
[C] /home
[D] /api
239. What is the common URL for a health check endpoint?
[A] /health
[B] /login
[C] /home
[D] /api
सही उत्तर: /health
व्याख्या: Health Monitoring Tools इसी Endpoint को उपयोग करते हैं।
Correct Answer: /health
Explanation: Monitoring tools commonly use this endpoint.
240. Minimal API किस Version में Introduce की गई?
[A] .NET 6
[B] .NET Core 2.1
[C] .NET 5
[D] .NET Framework 4.8
240. In which version were Minimal APIs introduced?
[A] .NET 6
[B] .NET Core 2.1
[C] .NET 5
[D] .NET Framework 4.8
सही उत्तर: .NET 6
व्याख्या: Minimal APIs .NET 6 में Introduce की गई थीं।
Correct Answer: .NET 6
Explanation: Minimal APIs were introduced in .NET 6.