PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which line of code should you insert at line 03?

You are developing a web page that enables customers to upload documents to a web server. The page
includes an HTML5 PROGRESS element named progressBar that displays information about the status of the
upload.
The page includes the following code. (Line numbers are included for reference only.)

An event handler must be attached to the request object to update the PROGRESS element on the page.
You need to ensure that the status of the upload is displayed in the progress bar.
Which line of code should you insert at line 03?

How should you develop the form?

DRAG DROP
You are developing a form that captures a user’s email address by using HTML5 and jQuery.
The form must capture the email address and return it as a query string parameter. The query string parameter
must display the @ symbol that is used in the email address.
You need to implement this functionality.
How should you develop the form? (To answer, drag the appropriate code segment to the correct target or
targets in the answer area. Each code segment may be used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)
Select and Place:

Which expression should you insert into each function?

DRAG DROP
You are validating user input by using JavaScript and regular expressions.
A group of predefined regular expressions will validate two input fields:
An email address in a function named validateEmail (for example, firstname@contoso.com)
A nine-digit number that allows optional hyphens after the second and fifth character in a function named
validateSSN(for example, 555555555 or 555-55-5555)
You need to use the correct expression to validate the input.
Which expression should you insert into each function? (To answer, drag the appropriate regular expression
statement to the correct location. Each regular expression statement may be used once, more than once, or not
at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

How should you complete the relevant code?

HOTSPOT
You develop an ASP.NET MVC application that includes the following class. Line numbers are included for
reference only.

You must use the Razor view engine to display all property values for the class.
You need to implement the view.
How should you complete the relevant code? To answer, select the appropriate code segment from each list in
the answer area.
Hot Area:

Which two technologies can you use?

You are developing an ASP.NET MVC application that will be deployed on local Internet Information Services
(IIS) servers and on an Azure Web Role.
You must log events for the application when it is deployed locally and on Azure. You must not deploy additional
services.
You need to implement a logging solution.
Which two technologies can you use? Each correct answer presents a complete solution.

Which code segment should you insert at line 03?

You are developing an ASP.NET MVC application. The application includes the following method. Line
numbers are included for reference only.

The application calls the GenerateMessage method before displaying each page.
The GenerateMessage method throws NullReferenceException exceptions.
You need to use Code Contracts to prevent the exceptions.
Which code segment should you insert at line 03?


Page 415 of 6,830« First...102030...413414415416417...420430440...Last »