Web Development Fundamentals
Question No: 61 HOTSPOT – (Topic 1)
You have the following webpage and property page:
Instructions: Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.
Question No: 62 – (Topic 1)
You have a website that contains a Web.config file with the following XML markup:
When an unauthorized user attempts to view the website, which page will be displayed?
Answer: D Explanation:
if the request is not authorized, then the UrlAuthorizationModule aborts the lifecycle and instructs the Response object to return an HTTP 401 Unauthorized status. When using forms authentication this HTTP 401 status is never returned to the client because if the FormsAuthenticationModule detects an HTTP 401 status is modifies it to an HTTP 302 Redirect to the login page.
The following example grants access to Kim and members of the Admins role, while denying it to John and all anonymous users:
Question No: 63 – (Topic 1)
One reason for compiling an application in Release mode is to:
Check the code in to version control.
Compile without debugging symbols.
Prevent changes to the code.
Compile for processor optimization.
Question No: 64 HOTSPOT – (Topic 1)
You are troubleshooting a web application that contains the following XML markup in the Web.config file:
lt;trace enabled-quot;truequot; localOnly-quot;falsequot; pageOutput-quot;truequot; /gt;
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Question No: 65 – (Topic 1)
This question requires that you evaluate the underlined text to determine if it is correct.
The PreRender event is the last opportunity to make changes to the properties of a control before persisting the properties to the ViewState property of a webpage.
Instructions: Review the underlined text. If it makes the statement correct, select quot;No change is needed.quot; If the statement is incorrect, select the answer choice that makes the statement correct.
No change is needed.
Question No: 66 – (Topic 1)
Which control is used to manage partial-page rendering in ASP.NET AJAX?
Question No: 67 – (Topic 1)
A Web page has an lt;asp:Buttongt; control and three lt;asp:TextBoxgt; controls named txt1, txt2, and txt3.
Which attribute should you set on the lt;asp:Buttongt; control to call Sum()?
Question No: 68 DRAG DROP – (Topic 1)
Match the data object type to its description.
Instructions: To answer, drag the appropriate data object type from the column on the left to its description on the right. Each data object type may be used once, more than once, or not at all.
Each correct match is worth one point.
Question No: 69 – (Topic 1)
You have multiple Web sites on a Web server. One of the Web sites generates an error that causes IIS to fail.
What should you configure to prevent future IIS failures?
Question No: 70 – (Topic 1)
A Web page contains the following code: objectmyCount = Request.QueryString[quot;countquot;];
The query string does not contain a variable named count. What happens when the code executes?
myCount is an empty string.
myCount is 0.
myCount is null.
An exception is thrown.
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|