70-490 | The Secret of Microsoft 70-490 practice test


Q21. - (Topic 7) 

You are developing a Windows Store app. 

You need to adjust the size of the on-screen text based on the current app window size by using media queries. 

What media query feature should you listen for? 

A. Device-width 

B. Width 

C. Resolution 

D. Aspect-ratio 

Answer:

Q22. DRAG DROP - (Topic 4) 

You need to ensure that product images are displayed according to the requirements. 

Which attributes should you use? (To answer, drag the appropriate attributes to the correct locations in the answer area. Each attribute 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: 

Q23. - (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 

Q24. DRAG DROP - (Topic 7) 

You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3. 

You need to use testing strategies that validate for the best performance. 

Which testing strategies should you select? (To answer, drag the appropriate actions to the correct locations in the answer area. Each action 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: 

Q25. - (Topic 1) 

You need to set the default storage location for the client profiles. Which code segment should you insert at line CD04? 

A. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documents Library; 

B. fop.defaultFolder = Windows.Storage.Piekers.PickerLocationId.documents Library; 

C. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.videosLibrary; 

D. fop.suggestedStartLocation = "%AppData%"; 

Answer:

Q26. - (Topic 7) 

You are developing a Windows Store app that will allow users to take photos by using the built-in device camera. The app will immediately open the photo for editing. 

You need to programmatically specify the location from which to open the most recent photo taken by the app. 

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

A. KnownFolders.pictureslibrary 

B. SkyDrive.Pictures 

C. KnownFolders.savedPictures 

D. KnownFolders.cameraRoll 

Answer:

Q27. - (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) 

Q28. - (Topic 7) 

You are developing an app that plays one audio file named myAudio.mp3 and two video files named myVideol.mp4 and myVideo2.mp4. 

You have the following requirements: . The audio file must NOT have access to the Play To feature. . The video files must be able to use the Play To feature. You need to configure the app to meet the requirements. 

Which code or markup segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q29. HOTSPOT - (Topic 7) 

You are developing a Windows Store app. 

You plan to use Windows Push Notification Services (WNS) in the app. 

You need to identify whether the system has disabled notifications globally. 

How should you complete the relevant code? (To answer, select the correct code segment 

from each drop-down list in the answer area.) 

Answer: 

Q30. DRAG DROP - (Topic 7) 

You are developing a Windows Store app. The app displays text-based toast notifications. The toast notification must resemble the sample shown in the following image. 

The app must play an audio file until the user dismisses the toast notification. 

You need to implement the toast notification. 

Develop the solution by selecting and arranging the required code segments in the correct 

order. 

You may not need all of the code segments. 

Answer: