[ DOT NET Core MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Core MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
361. Authorize Attribute का उपयोग किसलिए किया जाता है?
[A] Secure Endpoints
[B] Delete Database
[C] Create Migration
[D] Caching
361. What is the Authorize attribute used for?
[A] Secure Endpoints
[B] Delete Database
[C] Create Migration
[D] Caching
सही उत्तर: Secure Endpoints
व्याख्या: यह केवल Authorized Users को Access देता है।
Correct Answer: Secure Endpoints
Explanation: Allows access only to authorized users.
362. AllowAnonymous Attribute क्या करता है?
[A] Authentication Skip करता है
[B] Authentication Force करता है
[C] Database Access देता है
[D] Routing Disable करता है
362. What does AllowAnonymous attribute do?
[A] Skips Authentication
[B] Forces Authentication
[C] Provides Database Access
[D] Disables Routing
सही उत्तर: Authentication Skip करता है
व्याख्या: Anonymous Users को Access की अनुमति देता है।
Correct Answer: Skips Authentication
Explanation: Allows anonymous users to access resources.
363. Authentication और Authorization में क्या अंतर है?
[A] Authentication पहचान, Authorization अनुमति
[B] दोनों समान हैं
[C] Authorization पहचान है
[D] Authentication अनुमति है
363. What is the difference between Authentication and Authorization?
[A] Authentication verifies identity, Authorization grants access
[B] Both are same
[C] Authorization verifies identity
[D] Authentication grants access
सही उत्तर: Authentication पहचान, Authorization अनुमति
व्याख्या: पहले पहचान सत्यापित होती है फिर Access दिया जाता है।
Correct Answer: Authentication verifies identity, Authorization grants access
Explanation: Identity is verified before access is granted.
364. OpenID Connect किस पर आधारित है?
[A] OAuth 2.0
[B] LINQ
[C] SignalR
[D] Entity Framework
364. What is OpenID Connect based on?
[A] OAuth 2.0
[B] LINQ
[C] SignalR
[D] Entity Framework
सही उत्तर: OAuth 2.0
व्याख्या: OpenID Connect Authentication Layer प्रदान करता है।
Correct Answer: OAuth 2.0
Explanation: OpenID Connect provides an authentication layer.
365. Cross-Site Scripting (XSS) क्या है?
[A] Client Side Script Injection Attack
[B] Database Backup
[C] Routing Error
[D] Authentication Method
365. What is Cross-Site Scripting (XSS)?
[A] Client Side Script Injection Attack
[B] Database Backup
[C] Routing Error
[D] Authentication Method
सही उत्तर: Client Side Script Injection Attack
व्याख्या: Malicious Scripts User Browser में Execute हो सकती हैं।
Correct Answer: Client Side Script Injection Attack
Explanation: Malicious scripts can execute in a user browser.
366. Cross-Site Request Forgery (CSRF) क्या है?
[A] Unauthorized Request Attack
[B] Database Attack
[C] Routing Attack
[D] Caching Attack
366. What is Cross-Site Request Forgery (CSRF)?
[A] Unauthorized Request Attack
[B] Database Attack
[C] Routing Attack
[D] Caching Attack
सही उत्तर: Unauthorized Request Attack
व्याख्या: User की जानकारी के बिना Request Execute कराई जाती है।
Correct Answer: Unauthorized Request Attack
Explanation: Forces a user to perform unwanted actions.
367. Password Hashing का उद्देश्य क्या है?
[A] Password Secure Store करना
[B] Password Encrypt करके भेजना
[C] Database Delete करना
[D] Routing करना
367. What is the purpose of Password Hashing?
[A] Store Passwords Securely
[B] Send Encrypted Password
[C] Delete Database
[D] Routing
सही उत्तर: Password Secure Store करना
व्याख्या: Passwords Plain Text में Store नहीं किए जाते।
Correct Answer: Store Passwords Securely
Explanation: Passwords should not be stored in plain text.
368. ASP.NET Core Data Protection API का उपयोग किसलिए होता है?
[A] Sensitive Data Protect करने के लिए
[B] Database Migration
[C] Routing
[D] Caching
368. What is ASP.NET Core Data Protection API used for?
[A] Protect Sensitive Data
[B] Database Migration
[C] Routing
[D] Caching
सही उत्तर: Sensitive Data Protect करने के लिए
व्याख्या: Cookies और Tokens जैसी जानकारी सुरक्षित रखने के लिए उपयोग होती है।
Correct Answer: Protect Sensitive Data
Explanation: Used to protect sensitive information such as cookies and tokens.
369. Caching का मुख्य उद्देश्य क्या है?
[A] Performance Improve करना
[B] Database Delete करना
[C] Authentication करना
[D] Routing करना
369. What is the main purpose of Caching?
[A] Improve Performance
[B] Delete Database
[C] Authentication
[D] Routing
सही उत्तर: Performance Improve करना
व्याख्या: Caching Frequently Used Data को Store करके Response Time कम करती है।
Correct Answer: Improve Performance
Explanation: Caching stores frequently used data to reduce response time.
370. In-Memory Cache Data कहाँ Store करता है?
[A] Application Memory
[B] Database
[C] File System
[D] Browser
370. Where does In-Memory Cache store data?
[A] Application Memory
[B] Database
[C] File System
[D] Browser
सही उत्तर: Application Memory
व्याख्या: Memory Cache Application Process के अंदर Data Store करती है।
Correct Answer: Application Memory
Explanation: Memory cache stores data within the application process.