Testinside 70-431
- Tuesday, May 27, 2008, 22:13
- Cert Tests
- 166 views
- Add a comment
I used the latest TestInside to pass 70-431.
QUESTION 1
You are configuring security for your ASP.NET application. The folders for your pages are located in a
hierarchy as shown in the exhibit.
You need to allow all uses to access pages located in the Products folder and the Orders folder. You need
to allow any members of the Accounting role to access pages located in the Accounting folder.
What are two possible waves achieve this goal? (Each correct answer presents a complete solution.
Choose two)
A. Add code to the Global.asax file to dynamically configure access to the Accounting folder.
B. Place the authorization settings for all roles in the Web.config file located in the Products folder.
Use the location tag in the Web.config file to deny access to the Accounting folder for all roles except
the Accounting role.
C. Place the authorization settings for all roles in the Web.config file located in the Products folder.
Allow access for only members of the Accounting role in the Web.config file located in the Accounting
folder.
D. Create two custom roles in the Machine.config file for the application.
Configure one role for all users, and one role for the Accounting users.
Deny access to the Accounting folder for all users except members of the Accounting role.
Answer: B, C
Actualtests.org – The Power of Knowing
Explanation: We allow to the Products and Orders folders by placing a Web.config file with the appropriate
configuration in the Products folder.
B: Only Accounting role gets access to the Accounting folder by explicitly denying all other users access.
C: We could also configure access to the by only allowing access to the folder to the Accounting role.
Incorrect Answers
A: We need to configure access to the Products and Orders folder, not only to the Accounting folder.
D: The machine configuration file, Machine.config, contains settings that apply to an entire computer, not
just to a single application.
QUESTION 2
You are creating an ASP.NET application that uses role-based security to allow users to access only those
pages that they are authorized to access. You use a Microsoft SQL Server database to manage the list of
users and roles for the ASP.NET application. A table named Roles contains a column named RoleID and
a column named RoleName. A table named Users contains a column named UserID, a column named
UserName, and a column named Password. A table named UserRoles contains a column named UserID
and a column named RoleID.
You need to create a stored procedure that returns all users who belong to a specific role. You write the
following Transact-SQL code to define the stored procedure:
CREATE PROCEDURE GetRoleMembers
@RoleID int
AS
Which code segment should you use to complete the stored procedure?
A. SELECT UserRoles.UserID, Users.UserName
FROM Users
INNER JOIN
Roles UserRoles On UserRoles.RoleID = Users.UserID
WHERE UserRoles.RoleID = @RoleID
B. SELECT UserRoles.UserID, Users.UserName
FROM UserRoles
INNER JOIN
Roles On UserRoles.RoleID = Roles.RoleID, Users
WHERE UserRoles.RoleID = @RoleID
C. SELECT UserRoles.UserID, Users.UserName
FROM UserRoles
INNER JOIN
Users On Users.UserID = UserRoles.UserID
WHERE UserRoles.RoleID = @RoleID
D. SELECT Users.UserID. Users.UserName
FROM Users, UserRoles
INNER JOIN
Roles On UserRoles.RoleID = Roles.RoleID
WHERE UserRoles.RoleID = @RoleID
Answer: C
Actualtests.org – The Power of Knowing
Explanation: We need to join the UserRoles and the Users tables as we want to match the users with the roles
of the users.
Reference:
SQL Server Books Online, Transact-SQL Reference, FROM Clause
Incorrect Answers
A, B: We have no need of the Roles tables. We want the match the users with the roles of the users.
D: The FROM clause, FROM Users, UserRoles, indicates a cross join between the User and
UserRoles tables. However, we want to make an inner join on the UserRoles and the Users tables.
QUESTION 3
You are creating an ASP.NET application. The application will be deployed on Certkiller ’s intranet.
Certkiller uses Microsoft Windows authentication.
You want the application to run in the security context of the user.
What should you do?
A. Add the following element to the authentication section of the Web.config file:
B. Add the following element to the system.web section of the Web.config file:
C. Use the Configuration Manager for your project to designate the user’s security context.
D. Write code in the Application_AuthenticateRequest event handler to configure the application to run in
the user’s security context.
Answer: B
Explanation: The
the impersonate attribute to true we ensure that the application is run in the security context of the user.
Reference: .NET Framework General Reference,
Incorrect Answers
A: This allows anonymous users. It is an irrelevant issue in this scenario.
C, D: These are improper methods.
Here is the latest version:
http://rapidshare.com/files/64251334/ti70431v411.zip
http://www.megaupload.com/?d=Y5M14H1X
http://www.certbible.org/testinside-microsoft-mcitp-70-431-exam-v411/
Free download:pass4sure Microsoft 70-431
Free download:testking Microsoft 70-431
password:www.certbible.org
High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
| All Certbible 's Exam Dumps |
597 |
1 days ago | Available |
PassGuide Training Materials & Practice Tests
About the Author
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

