What should you do for the application to access that database without requiring a password?

Correct Answer for the following Question is given below

You work as a database developer at ABC.com. You need to design a SQL Server 2008 database that will only be accessed by an application.What should you do for the application to access that database without requiring a password?When you execute CREATE USER WITHOUT LOGIN, you get a user in the database that will NOT have a login associated to it. This is intentional and by design. This is NOT an orphaned user.When you create a user without a login, there is no path that allows a login to be mapped to that particular user in the database. The only way to “utilize” this particular user in the database is through impersonation. Loginless users were added in SQL Server 2005 as a replacement to application roles. The main reasons behind this were that you did not need to embed a password into an application and you also did not suddenly have multiple people coming into your SQL Server all with the same “login”. By utilizing loginless users, the user’s of an application login to the SQL Server using THEIR login credentials (NOT a generic login), so that you can audit activity to a given login. Once they change context to the application database, you can issue an EXECUTE AS command to change their user context thereby giving them the authority they need within the application.

Question:

What should you do for the application to access that database without requiring a password?

Options:

You should create a credential for the application.

You should create a login with no password for the application.

You should create a proxy object.

You should create a database user with no login for the application.

Correct Answer

The Correct Answer for this Question is

You should create a database user with no login for the application.

Explanation

The Question – What should you do for the application to access that database without requiring a password? has been answered correctly and answers for the question is You should create a database user with no login for the application.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *