[ DOT NET Core MCQS ]

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

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
371. IMemoryCache Interface का उपयोग किसलिए किया जाता है?
[A] Memory Caching
[B] Database Connection
[C] Routing
[D] Authentication
371. What is IMemoryCache used for?
[A] Memory Caching
[B] Database Connection
[C] Routing
[D] Authentication
सही उत्तर: Memory Caching
व्याख्या: ASP.NET Core में Memory Cache Access के लिए उपयोग होती है।
Correct Answer: Memory Caching
Explanation: Used to access memory cache in ASP.NET Core.
372. Distributed Cache का मुख्य लाभ क्या है?
[A] Multiple Servers में Shared Cache
[B] Only Local Storage
[C] No Scalability
[D] No Performance Gain
372. What is the main benefit of Distributed Cache?
[A] Shared Cache Across Servers
[B] Only Local Storage
[C] No Scalability
[D] No Performance Gain
सही उत्तर: Multiple Servers में Shared Cache
व्याख्या: Web Farm Environment में उपयोगी है।
Correct Answer: Shared Cache Across Servers
Explanation: Useful in web farm environments.
373. Redis क्या है?
[A] In-Memory Data Store
[B] Database Migration Tool
[C] Web Server
[D] ORM Framework
373. What is Redis?
[A] In-Memory Data Store
[B] Database Migration Tool
[C] Web Server
[D] ORM Framework
सही उत्तर: In-Memory Data Store
व्याख्या: Redis Distributed Caching के लिए लोकप्रिय है।
Correct Answer: In-Memory Data Store
Explanation: Redis is widely used for distributed caching.
374. IDistributedCache Interface किसलिए उपयोग होती है?
[A] Distributed Cache Access
[B] Database Access
[C] Routing
[D] Authentication
374. What is IDistributedCache used for?
[A] Access Distributed Cache
[B] Database Access
[C] Routing
[D] Authentication
सही उत्तर: Distributed Cache Access
व्याख्या: Redis जैसे Distributed Cache Providers के साथ उपयोग होती है।
Correct Answer: Access Distributed Cache
Explanation: Used with providers such as Redis.
375. Cache Expiration का उद्देश्य क्या है?
[A] Outdated Data Remove करना
[B] Database Delete करना
[C] Routing Disable करना
[D] Authentication Skip करना
375. What is the purpose of Cache Expiration?
[A] Remove Outdated Data
[B] Delete Database
[C] Disable Routing
[D] Skip Authentication
सही उत्तर: Outdated Data Remove करना
व्याख्या: पुराना Data Automatic Remove हो जाता है।
Correct Answer: Remove Outdated Data
Explanation: Automatically removes stale data.
376. Sliding Expiration क्या है?
[A] Access होने पर Expiration Reset होती है
[B] Fixed Expiration Time
[C] No Expiration
[D] Manual Expiration
376. What is Sliding Expiration?
[A] Expiration Resets On Access
[B] Fixed Expiration Time
[C] No Expiration
[D] Manual Expiration
सही उत्तर: Access होने पर Expiration Reset होती है
व्याख्या: User Activity के आधार पर Cache जीवित रहती है।
Correct Answer: Expiration Resets On Access
Explanation: Cache remains alive based on activity.
377. Absolute Expiration क्या है?
[A] Fixed Expiration Time
[B] Resettable Expiration
[C] No Expiration
[D] Infinite Cache
377. What is Absolute Expiration?
[A] Fixed Expiration Time
[B] Resettable Expiration
[C] No Expiration
[D] Infinite Cache
सही उत्तर: Fixed Expiration Time
व्याख्या: निर्धारित समय के बाद Cache समाप्त हो जाती है।
Correct Answer: Fixed Expiration Time
Explanation: Cache expires after a fixed duration.
378. Background Service क्या है?
[A] Background में Run होने वाली Service
[B] Database Service
[C] Routing Service
[D] UI Service
378. What is a Background Service?
[A] Service Running In Background
[B] Database Service
[C] Routing Service
[D] UI Service
सही उत्तर: Background में Run होने वाली Service
व्याख्या: Application के साथ Background Tasks Execute करती है।
Correct Answer: Service Running In Background
Explanation: Executes background tasks alongside the application.
379. IHostedService Interface का उपयोग किसलिए होता है?
[A] Background Tasks
[B] Database Migration
[C] Routing
[D] Authentication
379. What is IHostedService used for?
[A] Background Tasks
[B] Database Migration
[C] Routing
[D] Authentication
सही उत्तर: Background Tasks
व्याख्या: Hosted Services Application Lifecycle के साथ Run होती हैं।
Correct Answer: Background Tasks
Explanation: Hosted services run with the application lifecycle.
380. BackgroundService Class किस Interface को Implement करती है?
[A] IHostedService
[B] IDisposable
[C] ICloneable
[D] IComparable
380. Which interface does BackgroundService implement?
[A] IHostedService
[B] IDisposable
[C] ICloneable
[D] IComparable
सही उत्तर: IHostedService
व्याख्या: BackgroundService Hosted Service का Base Class है।
Correct Answer: IHostedService
Explanation: BackgroundService is a base class for hosted services.