aiotestking uk

70-486 Exam Questions - Online Test


70-486 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. - (Topic 4) 

You are developing an application that uses many small images for various aspects of the interface. 

The application responds slowly when additional resources are being accessed. 

You need to improve the performance of the application. 

What should you do? 

A. Preload all the images when the client connects to ensure that the images are cached. 

B. Combine all the images into a single image and use CSS to create sprites. 

C. Host all images on an alternate server and provide a CDN. 

D. Convert the images to .png file format and stream all images on a single connection. 

Answer:

Q2. - (Topic 1) 

If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file. 

You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports. 

Which code segment should you add? 

A. <canvas id="myFooter"> 

@(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null) 

</canvas> 

B. <canvas id="myFooter">London 2012</canvas> 

C. <canvas id="myCanvas">London 2012</canvas> 

D. <canvas id="myCanvas"></canvas> 

<p>London 2012</p> 

Answer:

Q3. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC web application that requires HTML elements to take on new behaviors. These should be implemented with a behavior script in a page that is only for Microsoft Internet Explorer users. 

The colorchange.js script uses the Microsoft CSS vendor-specific Behavior extension. You need to apply the script with CSS. 

You need to use the script to change the color of text. 

You have the following markup: 

Which styles should you include in Target 1 and Target 2 to complete the markup? (To answer, drag the appropriate styles to the correct targets. Each style 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.) 

Answer:  

Q4. - (Topic 4) 

You are designing a distributed application. 

The application must store a small amount of insecure global information that does not change frequently. 

You need to configure the application to meet the requirements. 

Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. Application state 

B. Session state 

C. Database support 

D. Profile properties 

Answer: A,C 

Q5. - (Topic 2) 

You need to ensure that new customers enter a valid email address. 

Which code should you use? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A,D 

Q6. - (Topic 2) 

You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. 

You need to ensure that the correct page displays to the users. 

Which code segment should you use to update the controller? 

A. If (Request.IsTabletDevice) 

B. If (Request.Browser.IsBrowser("Mobile")) 

C. If (Request.UserAgent["Tablet"]) 

D. If (Request.Browser.IsMobileDevice) 

Answer:

Q7. HOTSPOT - (Topic 4) 

You are optimizing an Internet-facing website for search engine optimization. 

You are reading a Site Analysis Report from the SEO Toolkit. The report returns warnings that indicate the website HTML lacks key information necessary for search engine indexing. 

You need to improve the optimization of the site. 

What should you do? (To answer, select the appropriate option from the drop-down list in the answer area.) 

Answer:  

Q8. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC application. 

Before an action is executed, information about the action must be written to a log. After 

results are returned, information about the results also must be written to the log. 

You need to log the actions and results. 

You have the following code: 

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the LogActionFilter class? (To answer, select the appropriate option from the drop-down list in the answer area.) 

Answer:  

Q9. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC application in Visual Studio 2012. The application will be viewed with browsers on desktop devices and mobile devices. The application uses the Razor View Engine to display data. 

The application contains two layouts located in the /Views/Shared directory. 

These layouts are named: 

. _Layout.cshmtl 

. _MobleLayoutcshtml 

The application must detect if the user is browsing from a mobile device. If the user is browsing from a mobile device, the application must use the _MobileLayout.cshtml file. If the user is browsing from a desktop device, the application must use .Layout, cs html. 

You need to ensure that the application renders the layout that is appropriate for the browser. 

You have the following code: 

Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code of the ViewStart.cshtml file? (To answer, drag the appropriate code segments to the correct targets. 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.) 

Answer:  

Q10. - (Topic 4) 

You are designing a distributed application that runs on the Microsoft Azure platform. 

The application must store a small amount of insecure global information for all users that 

does not change frequently. 

You need to configure the application to meet the requirements. 

Which server-side state management option should you use? Each correct answer presents a complete solution. Choose all that apply. 

A. profile properties of the Microsoft Azure application 

B. Microsoft Azure session state 

C. SQL Database 

D. Microsoft Azure application state 

Answer:

Explanation: In many applications, you want to store and use information that is unique to a user. When a user visits your site, you can use the information you have stored to present the user with a personalized version of your Web application. Personalizing an application requires a number of elements: you must store the information using a unique user identifier, be able to recognize users when they visit again, and then fetch the user information as needed. To simplify your applications, you can use the ASP.NET profile feature, which can perform all of these tasks for you.