[ DOT NET Programming MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ DOT NET Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
181. ASP.NET Core में WebApplicationFactory का उपयोग क्या है?
[A] Integration testing के लिए
[B] Database creation के लिए
[C] UI design के लिए
[D] File upload के लिए
181. What is WebApplicationFactory used for?
[A] Integration testing
[B] Database creation
[C] UI design
[D] File upload
सही उत्तर: Integration testing के लिए
व्याख्या: Test server create करने में use होता है।
Correct Answer: Integration testing
Explanation: Used for test server creation.
182. ASP.NET Core में HttpClientFactory क्यों use किया जाता है?
[A] Performance improve करने के लिए
[B] Database delete करने के लिए
[C] UI render करने के लिए
[D] File upload करने के लिए
182. Why use HttpClientFactory?
[A] Improve performance
[B] Delete database
[C] Render UI
[D] Upload file
सही उत्तर: Performance improve करने के लिए
व्याख्या: HttpClient reuse और socket exhaustion avoid करता है।
Correct Answer: Improve performance
Explanation: Prevents socket exhaustion.
183. ASP.NET Core में gRPC क्या होता है?
[A] High performance RPC framework
[B] Database system
[C] UI framework
[D] File system
183. What is gRPC?
[A] RPC framework
[B] Database system
[C] UI framework
[D] File system
सही उत्तर: High performance RPC framework
व्याख्या: Service-to-service communication के लिए use होता है।
Correct Answer: RPC framework
Explanation: Used for service communication.
184. Microservices में service discovery का purpose क्या है?
[A] Services locate करना
[B] Database delete करना
[C] UI render करना
[D] File upload करना
184. What is service discovery?
[A] Find services
[B] Delete database
[C] Render UI
[D] Upload file
सही उत्तर: Services locate करना
व्याख्या: Dynamic services find करने के लिए use होता है।
Correct Answer: Find services
Explanation: Locates services dynamically.
185. ASP.NET Core में API Gateway pattern का benefit क्या है?
[A] Single entry point for microservices
[B] Database optimization
[C] UI rendering
[D] File upload
185. What is API Gateway benefit?
[A] Single entry point
[B] Database optimization
[C] UI rendering
[D] File upload
सही उत्तर: Single entry point for microservices
व्याख्या: Central routing manage करता है।
Correct Answer: Single entry point
Explanation: Centralized routing.
186. ASP.NET Core में distributed tracing क्यों use होता है?
[A] Request flow track करने के लिए
[B] Database delete करने के लिए
[C] File upload करने के लिए
[D] UI render करने के लिए
186. Why use distributed tracing?
[A] Track request flow
[B] Delete database
[C] Upload file
[D] Render UI
सही उत्तर: Request flow track करने के लिए
व्याख्या: Microservices debugging में use होता है।
Correct Answer: Track request flow
Explanation: Used in microservices debugging.
187. ASP.NET Core में rate limiter middleware क्या करता है?
[A] Request frequency control करता है
[B] Database delete करता है
[C] UI render करता है
[D] File upload करता है
187. What does rate limiter middleware do?
[A] Controls request rate
[B] Delete database
[C] Render UI
[D] Upload file
सही उत्तर: Request frequency control करता है
व्याख्या: Abuse और overload रोकता है।
Correct Answer: Controls request rate
Explanation: Prevents abuse.
188. ASP.NET Core में memory leak का common reason क्या होता है?
[A] Improper DI usage
[B] Database indexing
[C] File upload
[D] UI rendering
188. What causes memory leak?
[A] Improper DI
[B] Database indexing
[C] File upload
[D] UI rendering
सही उत्तर: Improper DI usage
व्याख्या: Objects properly dispose नहीं होते।
Correct Answer: Improper DI
Explanation: Unreleased objects.
189. ASP.NET Core में garbage collection क्या करता है?
[A] Unused memory free करता है
[B] Database delete करता है
[C] UI render करता है
[D] File upload करता है
189. What does garbage collection do?
[A] Frees memory
[B] Delete database
[C] Render UI
[D] Upload file
सही उत्तर: Unused memory free करता है
व्याख्या: .NET memory management handle करता है।
Correct Answer: Frees memory
Explanation: Manages .NET memory.
190. ASP.NET Core में async/await का benefit क्या है?
[A] Non-blocking execution
[B] Database deletion
[C] UI rendering
[D] File upload
190. What is benefit of async/await?
[A] Non-blocking
[B] Delete database
[C] Render UI
[D] Upload file
सही उत्तर: Non-blocking execution
व्याख्या: Thread free रहता है while waiting.
Correct Answer: Non-blocking
Explanation: Improves scalability.