Q71. - (Topic 4) 

You are designing an HTML5 website. 

You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens. 

What should you do? (Each correct answer presents a complete solution. Choose all that apply.) 

A. Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes. 

B. Convert HTML5 forms to XForms. 

C. Ensure that HTML5 content elements have valid and descriptive names. 

D. Use HTML5 semantic markup elements to enhance the pages. 

E. Use Resource Description Framework (RDF) to describe content elements throughout the entire page. 

Answer: A,D 


Q72. - (Topic 3) 

You need to ensure that developers can connect to a Microsoft Azure role by using RDP. 

What should you do? 

A. Export a certificate with a private key. Upload the .pfx file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal. 

B. Export a certificate with a private key. Upload the .pfx file to the Management Certificates section on the Azure Management Portal. 

C. Export a certificate without a private key. Upload the .cer file to the Management Certificates section on the Azure Management Portal. 

D. Export a certificate without a private key. Upload the .cer file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal. 

Answer:

Explanation: In case you don’t want to use the RDP certificate created by Windows Azure Tools and want to use a custom certificate instead, the following steps will guide you. These steps can also be used in case package is not being published from Visual Studio rather it is being built locally, saved in either Local Machine's Drive or Windows Azure Blob Storage and subsequently published from there. 

Here are the steps which are required to get pass the publishing error which you might be running into. You would need to upload the Certificate with Private Key to the portal (when Visual Studio is used this is done in the background). 

Detailed steps. 

1. 

In Visual Studio, go to the solution which is being developed. 

2. 

Right click the Web Project -> Configure Remote Desktop -> click on View to see Certificate details (Since I don’t have a custom certificate I will use one create by Windows Azure Tools itself) 

3. 

Go to Details tab on Certificate -> Click Copy to file.. -> Next -> Select ‘Yes, export the private key’ -> Next -> Continue with default setting and create a password when asked (please refer below screenshots) 

4. 

These steps will generate a .PFX file for this certificate. Now we need to upload this certificate to the portal (for the respective cloud service) 

5. 

Go to the Azure Management Portal -> Go to the Cloud Service in question -> Certificates Tab -> Upload the newly created certificate (.PFX file) 

Note: 

The certificates that you need for a remote desktop connection are different from the certificates that you use for other Azure operations. The remote access certificate must have a private key. 

Microsoft Azure uses certificates in three ways: / Management certificates – Stored at the subscription level, these certificates are used to enable the use of the SDK tools, the Windows Azure Tools for Microsoft Visual Studio, or the Service Management REST API Reference. These certificates are independent of any cloud service or deployment. / Service certificates – Stored at the cloud service level, these certificates are used by your deployed services. / SSH Keys – Stored on the Linux virtual machine, SSH keys are used to authenticate remote connections to the virtual machine. 

Reference: How to use Custom Certificate for RDP to Windows Azure Roles 

http://blogs.msdn.com/b/cie/archive/2014/02/22/how-to-use-custom-certificate-for-rdp-to-windows-azure-roles.aspx 


Q73. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC application in Visual Studio 2012. The application contains sensitive bank account data. 

The application contains a helper class named SensitiveData.Helpers.CustomEncryptor. 

The application must not display AccountNumber in clear text in any URL. 

You need to build the view for the GetAccounts action. 

How should you build the view? (To answer, drag the appropriate code segment to the correct location or locations. 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: 


Q74. - (Topic 4) 

You are designing a data-oriented application that features a variety of storage schemas. The application object model must be mapped to the various storage schemas. 

You need to enable developers to manipulate the data. 

Which ADO.NET data access strategy should you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. LINQ to SQL 

B. Entity Framework 

C. DataAdapter 

D. DataReader 

Answer: A,B,C 


Q75. - (Topic 4) 

You are developing an Azure worker role. You enable crash dump collection for the role. 

When the role starts, an external application stops responding. 

You need to download the crash dump to determine why the application stops responding. 

From which two locations can you download the crash dump? Each correct answer presents a complete solution. 

A. Azure Blob storage 

B. the temp folder on the virtual machine that is running the role instance 

C. Azure file storage 

D. the DiagnosticStore local resource folder on the virtual machine that is running the role instance 

Answer: A,D 

Explanation: When you enable collection of crash dumps, the resulting data is written to the CrashDumps directory in the DiagnosticStore local resource that is automatically configured for your role. When crash dump data is transferred to persistent storage, it is stored to the wad-crash-dumps Blob container. 

Reference: CrashDumps.EnableCollection Method 

https://msdn.microsoft.com/library/microsoft.windowsazure.diagnostics.crashdumps.enable collection.aspx 


Q76. - (Topic 4) 

You are preparing for the deployment of an ASP.NET MVC application. You need to generate a deployment manifest. 

Which command-line tool should you use? 

A. Mage.exe 

B. Ngen.exe 

C. ALexe 

D. Resgen.exe 

Answer:

Explanation: Al.exe generates a file with an assembly manifest from one or more files that are either resource files or Microsoft intermediate language (MSIL) files. 


Q77. - (Topic 4) 

You are designing a localized ASP.NET application to support multiple cultures. You need to ensure that the application can be displayed in several languages. How should you implement this feature? 

A. Use a resource (.resx) file. 

B. Include language-specific content in the assembly manifest. 

C. Use Systems.Collections.Generics.Dictionary to store alternative translations. 

D. Ensure that all strings are marked internal. 

Answer:


Q78. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC 4 application. You are using IntelliTrace to debug the application. You configure IntelliTrace as shown in the screenshot below. 

To answer, make the appropriate selections in the answer area. 

Answer: 


Q79. - (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:


Q80. DRAG DROP - (Topic 4) 

You are developing an ASP.NET web application that uses health monitoring to log events to the Windows Event Log. The application contains a custom event that is defined in the following code segment. Line numbers are included for reference only. 

You need to ensure that the event is correctly added to the Windows event log. 

How should you complete the relevant code? To answer, drag the appropriate code segment to the correct location or locations. 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: