Become a GOLD member of Deccansoft and get access to 40+ courses!!
NewBatches/Webinars
Packages
Gold Membership
Bestseller
Microsoft Azure Suite & Suite Plus
Power Platform Acadamy
New
Azure DevOps Expert & Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Courses
MS.NET Courses (Includes Live Project)
Complete C#, OOPs and Windows Programing
ASP.NET MVC Online Training
ASP.NET WebForms
ASP.NET Core
WCF incl. Web Services and Remoting
WPF incl. MVVM and Prism
LINQ and Entity Framework
Live Project Training for Developing Enterprise Application
Live Project using Ntier Arch (.NET5 + EF Core + Angular)
Gold Membership
CareerStep IT Program
Client-side UI Technologies
Building Static Web Pages using HTML and CSS
JavaScript and HTML DOM
jQuery, AJAX and JSON
Building Interactive Web Pages using HTML5 and CSS3
BootStrap + Live Examples
AngularJS + Live Project
Angular + Typescript
ReactJS
KnockoutJS
Xamarin
SQL Server + MSBI
SQL Server 2017
Querying Data with Transact-SQL(70-761)
SQL Server Integration Service (SSIS)
SQL Server Reporting Service (SSRS)
SQL Service Analysis Service (SSAS)
Cloud Computing / Azure / AWS
AZ-900: Microsoft Azure Fundamentals
Azure Suite (AZ-104+AZ-204+AZ-305+ AZ-500)
AZ-104: Microsoft Azure Administrator
AZ-204: Developing Solutions for Microsoft Azure
AZ-305: Microsoft Azure Architect Technologies and Design
AZ-400: Microsoft Azure DevOps
DP-203: Data Engineering on Microsoft Azure
Amazon Web Services (AWS)
Testing Tools
Manual Testing
Selenium Testing with Java(Live Training)
SharePoint
SharePoint 2013
Microsoft Power Platform
Microsoft Power Platform
Data Analytics using PowerBI (DA-100)
DevOps
Docker
Kubernetes
Microservices using .NET Core
Others
C and Data Structure
Core Java
OOPs and C++
Advance Java
Python Programming
Complete Azure Training
Pricing
Videos
Testimonials
Azure Certification
Contact Us
Login
Login or Register
×
Sign In
Register
Forgot Password?
How did you find us
WhatsApp
YouTube
LinkedIn
Facebook
Telegram
Twitter
Google
Referred by Friend
Refresh
Input symbols
By clicking Register, you accept to the
terms and conditions
and that you have read our
privacy policy.
Recover Password
×
Submit
Enquiry Now
Where did you come to know about us
WhatsApp
YouTube
LinkedIn
Facebook
LinkedIn Ad
Email
Twitter
Google
Referred
Other
Refresh
Input symbols
Authentication and Authorization
Interview Questions and Answer
1. Authentication is?
Options:
a. to verify username or password of a user
b. to grant or deny permissions
c. Both
d. None
Reveal Answer
2. Authorization is?
Options:
a. to verify username or password of a user
b. to grant or deny permissions based on user identity
c. both
d. none
Reveal Answer
3. Action methods can be made secured by using which of the following attributes
Options:
a. [Authorize]
b. [Authenticate]
c. [Secured]
d. [DenyAnonymous]
Reveal Answer
4. The act of determining the identity of the requesting entity is known as __________.
Options:
a. Authorization
b. Authentication
c. Verification
d. Validation
Reveal Answer
5. By default the web browser along with the request does not include any identity of the client. In such cases web server treats such request as __________ request.
Options:
a. Unregistered
b. Visitor
c. Admin
d. Anonymous
Reveal Answer
6. If Active Directory Users in a Domain Controller of a network have to be authenticated, then which authentication is best suited
Options:
a. Windows Authentication
b. Forms Authentication
c. Passport Authentication
d. Cookies Authentication
Reveal Answer
7. ___________ type of authentication can be used for Intranet Web application.
Options:
a. Windows
b. Forms
c. Passport
d. Session
Reveal Answer
8. The FormsAuthentication class’s ___________ method checks the user name and password against the user list found in the credentials element of Web.config.
Options:
a. Authenticate
b. EnableFormsAuthentication
c. SetAuthCookie
d. ReferenceEquals
Reveal Answer
9. Which of the following is true
Options:
a. Authentication mode can be specified in root directory web.config only.
b. Authentication mode can be specified in any directory web.config only
c. Only one type of Authentication is supported by one web application
d. Every directory can specify its own authentication mode.
Reveal Answer
10. Whare are the advantages of using Forms authentication?
Options:
a. Users have to be member of a domain-based network to have access to the application
b. Users do not have to be member of a domain-based network to have access to the application.
c. Forms authentication makes commercial sites easier to create.
d. authentication allows users to sign in once through a central authority
Reveal Answer
11. Which of the following is valid about FormsAuthentication
Options:
a. Its dependent on Cookies
b. Its dependent on HttpSessions
c. We have to create our own Custom Form
d. We can use the built-in dialog of browser for authenticating
e. Every request of the user is Authenticated
Reveal Answer
12. Authorize Attribute can be used
Options:
a. Either with Controller or Action Method
b. Only Controller
c. Only Action Method
d. None of the above
Reveal Answer
13. ___________is the namespace where all security related classes are present.
Options:
a. System.Net.Security
b. System.Security
c. System.Web.Prinicipal
d. System.Web.Security
Reveal Answer
14. Which of the two actions are performed by FormsAuthentication.RedirectFrom LoginPage
Options:
a. Add a token to session to identity that the user has logged in
b. Add the Authentication Cookie to the response.
c. Redirects to URL as in QueryString parameter ReturnUrl
d. Redirects to Home Page
Reveal Answer
15. Which method can be used to Logout the currently loggedin user (remove FormsAuthentication cookie)?
Options:
a. RedirectToLoginPage
b. Remove
c. SignOut
d. Logout
Reveal Answer
16. . WHich of the following method of Global.asax can be used for binding Roles to the request.
Options:
a. Application_Start
b. Session_Start
c. Application_AuthenticateRequest
d. Sesssion_AuthenticateRequest
Reveal Answer
Packages
Gold Membership
Microsoft Azure Suite &Suite Plus
Azure DevOps Expert &Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Resources
Blog
Deccansoft
AzureA2Z
Wall of Fame
On-Job Tech Support
About
About BestDotNetTraining
About Trainer
Testimonials
FAQ
Other links
About Us
Contact Us
Leave us a feedback
Sitemap
Privacy Policy
Terms & Conditions
Proudly Powered by