[ DOT NET Core MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Core MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
321. Strategy Pattern का मुख्य लाभ क्या है?
[A] Runtime Algorithm Change
[B] Database Optimization
[C] Routing
[D] Caching
321. What is the main benefit of Strategy Pattern?
[A] Change Algorithm at Runtime
[B] Database Optimization
[C] Routing
[D] Caching
सही उत्तर: Runtime Algorithm Change
व्याख्या: Strategy Pattern Runtime पर Behavior बदलने देता है।
Correct Answer: Change Algorithm at Runtime
Explanation: Allows changing behavior at runtime.
322. Observer Pattern किस पर आधारित है?
[A] Publisher Subscriber Model
[B] Database Model
[C] Client Server Model
[D] MVC Model
322. What is Observer Pattern based on?
[A] Publisher Subscriber Model
[B] Database Model
[C] Client Server Model
[D] MVC Model
सही उत्तर: Publisher Subscriber Model
व्याख्या: Observer Pattern Event Driven Systems में उपयोग होता है।
Correct Answer: Publisher Subscriber Model
Explanation: Observer pattern is used in event-driven systems.
323. Mediator Pattern का उद्देश्य क्या है?
[A] Objects के बीच Communication Simplify करना
[B] Database Access
[C] Routing
[D] Authentication
323. What is the purpose of Mediator Pattern?
[A] Simplify Communication Between Objects
[B] Database Access
[C] Routing
[D] Authentication
सही उत्तर: Objects के बीच Communication Simplify करना
व्याख्या: Mediator Coupling कम करता है।
Correct Answer: Simplify Communication Between Objects
Explanation: Mediator reduces coupling.
324. CQRS में Read और Write Operations कैसी होती हैं?
[A] अलग-अलग
[B] एक ही Layer में
[C] Database में नहीं
[D] Static
324. How are Read and Write operations handled in CQRS?
[A] Separated
[B] Same Layer
[C] Not in Database
[D] Static
सही उत्तर: अलग-अलग
व्याख्या: CQRS Commands और Queries को Separate करता है।
Correct Answer: Separated
Explanation: CQRS separates commands and queries.
325. Aggregate Root किस Concept से संबंधित है?
[A] Domain Driven Design
[B] LINQ
[C] Middleware
[D] SignalR
325. Aggregate Root belongs to which concept?
[A] Domain Driven Design
[B] LINQ
[C] Middleware
[D] SignalR
सही उत्तर: Domain Driven Design
व्याख्या: Aggregate Root DDD का महत्वपूर्ण भाग है।
Correct Answer: Domain Driven Design
Explanation: Aggregate Root is an important DDD concept.
326. SignalR में Hub क्या होता है?
[A] Communication Endpoint
[B] Database Table
[C] Middleware
[D] Controller
326. What is a Hub in SignalR?
[A] Communication Endpoint
[B] Database Table
[C] Middleware
[D] Controller
सही उत्तर: Communication Endpoint
व्याख्या: Hub Clients और Server के बीच Communication Manage करता है।
Correct Answer: Communication Endpoint
Explanation: Hub manages communication between clients and server.
327. Web API में Produces Attribute का उपयोग किसलिए होता है?
[A] Response Content Type Define करने के लिए
[B] Authentication
[C] Caching
[D] Routing
327. What is Produces attribute used for?
[A] Define Response Content Type
[B] Authentication
[C] Caching
[D] Routing
सही उत्तर: Response Content Type Define करने के लिए
व्याख्या: Produces Attribute Response Format बताता है।
Correct Answer: Define Response Content Type
Explanation: Defines response content format.
328. Consumes Attribute का उपयोग किसलिए होता है?
[A] Request Content Type Define करने के लिए
[B] Database Access
[C] Logging
[D] Caching
328. What is Consumes attribute used for?
[A] Define Request Content Type
[B] Database Access
[C] Logging
[D] Caching
सही उत्तर: Request Content Type Define करने के लिए
व्याख्या: Consumes बताता है कि API कौन सा Input Format स्वीकार करेगी।
Correct Answer: Define Request Content Type
Explanation: Specifies accepted request format.
329. HTTP Status Code 200 का अर्थ क्या है?
[A] Success
[B] Created
[C] Bad Request
[D] Unauthorized
329. What does HTTP Status Code 200 mean?
[A] Success
[B] Created
[C] Bad Request
[D] Unauthorized
सही उत्तर: Success
व्याख्या: Request सफलतापूर्वक पूरी हुई।
Correct Answer: Success
Explanation: The request completed successfully.
330. HTTP Status Code 201 का अर्थ क्या है?
[A] Resource Created
[B] Success
[C] Forbidden
[D] Not Found
330. What does HTTP Status Code 201 mean?
[A] Resource Created
[B] Success
[C] Forbidden
[D] Not Found
सही उत्तर: Resource Created
व्याख्या: नई Resource सफलतापूर्वक Create हुई।
Correct Answer: Resource Created
Explanation: A new resource was successfully created.