70-490 Premium Bundle

70-490 Premium Bundle

Recertification for MCSD: Windows Store Apps using HTML5 Certification Exam

4.5 
(17310 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-490 Free Practice Questions

Q1. - (Topic 5) 

You need to implement the code to meet the requirements regarding the display of the newsPage.html page. 

Which HTML element should you insert at line NH06? 

A. <h2 class ="news-item-title win-type-ellipses" data-win-bind="textContent: title"></ h2> 

B. <h2 class="news-item-title win-type-large" data-win-bind="textContent: title"></h2> 

C. <h2 class="news-item-titlewin-type-xx-large" data-win-bind="textContent: title"></ h2> 

D. <h2 class="news-item-title win-type-x-large" data-win-bind="textContent: title"></ h2> 

Answer:

Explanation: WinJS CSS classes for typography (Windows) ListView.itemTemplate property (Windows) 

Q2. - (Topic 5) 

You need to implement the code to meet the search requirements. Which code segment should you insert at line NP11? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.search.searchsuggestioncollection.asp 

Q3. HOTSPOT - (Topic 7) 

You are developing a Windows Store app by using JavaScript. 

You plan to add an animation to the navigation button. The animation must do the following: 

. Show motion when tapped. 

. Move to the next app screen after completing the animation sequence. 

You need to add the animation to the button. 

How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.) 

Answer:  

Q4. - (Topic 3) 

You need to implement the file security policy. 

What should you do? 

A. Implement the Windows.Security.Cryptography.CryptographicBuffer class. 

B. Use SSL for all file transfers. 

C. Implement a Secure object by using the WinJS.System class. 

D. Add a certificate server to the network. 

Answer:

Q5. - (Topic 7) 

You are developing a newsreader app that provides users with daily aggregated articles from popular news sites. 

You must allow users to share the URI of the articles. 

The app must allow at least one of the following ways to share the URI: 

. With another Windows Store app 

. With the user's default web browser 

You need to implement the sharing functionality. 

Which property of the StandardDataFormats class should you use? 

A. Rtf 

B. WebLink 

C. Html 

D. ContentSourceApplication Link 

Answer:

Q6. - (Topic 3) 

You need to implement the secondary schedule functionality for inspectors. 

Which two actions should you perform? Each correct answer presents part of the solution. 

A. Browse through the client database to find all clients with the same postal code. 

B. Define a geofence by using the location capabilities of the device. 

C. Specify the maximum distance of nearby equipment. 

D. Ascertain the proximity of the nearest piece of client-owned equipment. 

Answer: B,C 

Explanation: * From scenario, the secondary scheduling requirement is: 

Inspectors must be able to request a list of other clients within a specified search distance 

who might require equipment inspection. 

* Geofence / A geo-fence is a virtual perimeter for a real-world geographic areas. A geo-fence could be dynamically generated—as in a radius around a store or point location. / Geofence class Contains the information to define a geofence, an area of interest, to monitor. 

Q7. DRAG DROP - (Topic 7) 

You develop a Windows Store app. 

You need to implement a testing strategy for the app. 

Which actions should you perform? To answer, drag the appropriate actions to the correct targets. Each answer 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:  

Q8. DRAG DROP - (Topic 7) 

You are developing a Windows Store style app that uses RESTful services. 

You need to ensure that the RESTful web service sends form information to the remote server. You have the following code: 

Which HTTP verb and HTTP header should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate verb and header to the correct targets in the answer area. 

Each verb and header 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:  

Q9. - (Topic 1) 

You need to complete the code to start the background task. 

Which code segment should you insert at line BG07? 

A. Windows.ApplicationModel.Background.SystemTriggerType.servicingComplete.true 

B. Windows.ApplicationModel.Background.SystemTriggerType.userPresent.true 

C. Windows.ApplicationModel.Background.SystemTriggerType.internetAvailable.false 

D. Windows.ApplicationModel.Background.SystemTriggerType.userAway.false 

Answer:

Topic 2, Scenario 2 

Background 

You are developing an app for an automotive manufacturer. The app will display information about the vehicle, the vehicle owner's manual, and the maintenance schedule. The app will be available to install from the Windows Store. 

Business Requirements 

The app must meet the following business requirements: . Display the company logo on the Main screen, Owner's Manual screen, and Service Record screen of the app. . Allow users to store their vehicle information to identify the correct information to display within the app. . Prominently display a stock image of the user's vehicle on the Main screen at the full height of the app. . Send notifications by using tile updates when a scheduled maintenance is approaching or past due. . Insert service data in the appropriate locations, and update the Service Record screen with data received from a cloud service. . Display related media within the app. 

Technical Requirements 

The app must meet the following technical requirements. 

User Experience 

. The app user interface must follow Microsoft design guidelines. 

. The user must be able to insert or update service records. 

. The user must be able to filter service records by date or service type. 

. The user must be able to navigate between various Darts of the app including but 

not limited to the Mainscreen, Service Record screen, and Owner's Manual 

screen. 

. The user cannot switch between categories by using the Back button. 

. The data from the cloud service must automatically populate the Service Record 

screen. 

. The Main screen must have a dark background. All other screens must have a light background with contrasting colored text. 

. All multimedia must provide a full-screen mode that can be activated by the end user. 

. All media items must start when the user interacts with them and stop immediately when a video ends. 

. The app must accept and display tile messages and notification messages from the cloud service. 

. The navigational icons must not be displayed if the content of the screen does not require such display. 

. Any page of the owner's manual must be able to be pinned to the Windows Start screen. 

. When the app is pinned to the Windows Start screen all live tile sizes must be available to the users. 

. When a specific app page is pinned to the Windows Start screen, the page tile cannot be wider or taller than the dimensions of a wide tile. 

. Short names and display names must not be displayed on square tiles. 

Development . The app must use Microsoft Visual Studio preconfigured templates with built-in data structures. . External notifications must be delivered by using Windows Push Notification Services (WNS). . The app must be able to receive push notifications from a Microsoft Azure Mobile Services endpoint. . Each HTML file must be supported by similarly named JavaScript and CSS files (for example, myFile.html, myFile.js myFile.css). 

File: main.html 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

File: main.js 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

File: manual.html 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

File: manual.js 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

File: service.html 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

File: service.js 

Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong. 

Q10. - (Topic 7) 

You are developing a Windows Store text editor app by using HTML5 and JavaScript. 

Users must be able to select text within the app and then cut the text. 

You need to enable the Cut feature. 

Which code segments 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,B 

Explanation: UICommand.UICommand constructors (Windows) 

Q11. - (Topic 7) 

You develop a Windows Store app. 

You need to ensure that the app will pass certification and successfully run on Windows RT devices. 

What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer. 

A. Test the app on an x86 development device in emulated mode by using Windows App Certification Kit for Windows RT. 

B. Test the app on a Windows RT device by using the Windows App Certification Kit for Windows RT. 

C. Register the app in the Windows Store and run the Application Verifier for Windows on the uploaded app. 

D. Test the app on an x86 development device by using the Windows App Certification Kit. 

Answer:

Q12. - (Topic 7) 

You are developing a Windows Store app. 

The app must provide single sign-on (SSO) to a Microsoft account and to social networks. The SSO feature must be accessible from any device. 

You need to implement SSO. 

Which authentication strategy should you use? 

A. Fingerprint authentication 

B. Credential Locker 

C. Smart card authentication 

D. Credential Picker 

Answer:

Reference: 

http://msdn.microsoft.com/en-us/library/windows/apps/dn448918.aspx 

Q13. - (Topic 7) 

You are developing two Windows Store apps by using JavaScript. A Source app will store sensitive customer information. A Target app will retrieve the stored information for validation and further processing. 

The Source app must secure data by using a private-public key pair. Only the Target app must be able to consume data that has been secured by the Source app. 

You need to ensure that the security of the data is not compromised. 

What should you do? 

A. Encrypt and decrypt data by using an asymmetric algorithm. 

B. Encrypt and decrypt data by using a symmetric algorithm. 

C. Encrypt data by using an asymmetric algorithm. Decrypt data by using a symmetric algorithm. 

D. Encode data to and decode data from a Base64 string. 

Answer:

Q14. DRAG DROP - (Topic 7) 

You develop a Windows Store app that plays videos. 

The videos include subtitles that are stored in Video Text Track (.vtt) files. 

The app interface must include a button that displays the subtitles, and another button that hides the subtitles. 

How should you complete the relevant code? 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:  

Q15. - (Topic 7) 

You are developing a Windows Store app. The app will allow users to upload and share 

text messages. 

The app must upload each message to a Windows Azure back-end database. The stored 

data must be encrypted by using public/private key encryption. 

You need to implement data encryption for the app. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Reference: http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.asymmetrickeyalgorithmprovi der.openalgorithm.ASPx 

Q16. - (Topic 7) 

You are developing a Windows Store app that will support the Play To feature. 

You need to implement the user interface for the Play To feature. 

What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer. 

A. Enable the user to invoke the Play To feature by swiping to display the Devices charm flyout. 

B. Enable the operating system to handle the Play To feature asynchronously without requiring user interaction. 

C. Provide a standard Play To glyph in the user interface that programmatically invokes the Devices charm flyout. 

D. Provide an HTML button control in the user interface that programmatically invokes the Devices charm flyout. 

Answer:

START 70-490 EXAM