Realistic of 70-490 exam question materials and preparation exams for Microsoft certification for IT candidates, Real Success Guaranteed with Updated 70-490 pdf dumps vce Materials. 100% PASS Recertification for MCSD: Windows Store Apps using HTML5 exam Today!
Q21. DRAG DROP - (Topic 7)
You are developing a Windows Store app that uses a CredentialPicker control to collect the user's user name and password credentials.
The CredentialPicker control has the following requirements:
..
The Remember my credentials check box must be selected by default.
The text "Enter user name and password" must be displayed in the message
header of the dialog box.
You need to ensure that the requirements are met.
Which properties should you use? (To answer, drag the appropriate properties to the correct locations in the answer area. Each property 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:
Q22. HOTSPOT - (Topic 7)
You are developing 3 Windows Store app that uses a canvas object.
When the page loads, a blue rectangle must move across the canvas from left to right.
The following code calls the function to perform the animation:
You need to create the animateShape function.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Answer:
67. HOTSPOT - (Topic 7)
You have a Windows Store app. You are reviewing code that caches data.
The code includes the following segment. Line numbers are included for reference only.
01 function setLocaiStorage(value) {
02 var storage = window.localStorage;
03 var value = document.getElement3yId('textToAdd').text;
04 storage.name = 'John'
05 storage.phone = ' 555-555-0100'
06 storage.message = value;
07 }
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Answer:
Q23. HOTSPOT - (Topic 6)
You need to ensure that the Printer Survey task populates the map pinpoints according to the requirements.
What code should you insert at line PM31? (To answer, select the correct code segment from each dropdown list in the answer area.)
Answer:
Topic 7, Mix Questions
31. HOTSPOT - (Topic 7)
You are developing a Windows Store app.
You have the following requirements.
. Ensure that the app complies with the Windows Store requirements before deploying the app to the Windows Store. . Minimize the number of components that you must install from the Windows Store Software Development Kit (SDK).
You need to install the SDK components.
Which features should you install? To answer, select or clear the appropriate check boxes in the answer area.
Answer:
Q24. - (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: A
Q25. - (Topic 7)
You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture video with the built-in camera and then
process the resulting file.
Which code segment should you use?
A. Option A
B. Option B
C. Option C D. Option D
Answer: A
Q26. HOTSPOT - (Topic 3)
You need to enable the connection to the equipment.
Which app capability should you declare? To answer, select the appropriate check box in the dialog box in the answer area.
Answer:
Topic 4, Scenario 4
Background
You are developing a Windows Store app by using HTML5, JavaScript, and CSS3. The app will be used to access details about products that your company sells.
Business Requirements
The app must do all of the following: Be available to customers in many different countries. Display a list of product categories. Display the products for a selected category. Display details of a selected product. Display images of each product one at a time in a vertical presentation. Provide a link to an About section in the Settings pane. Update product data on a daily basis. Allow the user to view the last selected product while the app is offline. Be deployed in the Windows Store.
Technical Requirements
.........
General
. ..
When the user restarts the app, the app must start in the state it was in when it
was last used.
App settings controls must be 346 pixels wide.
The app must optimize bandwidth use and performance.
Security
....
The app must use an enterprise certificate.
The user must provide valid credentials to access the app.
After user authentication, the app must use stored credentials.
User accounts will be validated against a pre-existing enterprise service.
App Architecture
Service calls must be separated from the user interface.
The app must follow the MVC design pattern.
Service classes can be written in C++, C#, VB, or JavaScript.
The app must communicate with pre-existing enterprise services.
Application Structure
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.)
Default.js
CredentialManager.js
About.html
Q27. - (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: C
Q28. - (Topic 5)
You need to implement the code to retrieve news items according to the requirements. Which code segment should you add to newsPage.js?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation: WinJS.xhr function (Windows)
Topic 6, Scenario 6
Application Information
You are developing a Windows Store app by using JavaScript. The app is named Print
Near Me. The app will allow mobile users to find printers in their local area that subscribe to the Print Near Me network.
The Print Near Me app collects status data from subscribed networks, coordinates this data with the status of printers that are listed in the central Print Near Me service, and displays the closest locations that meet a user's printing requirements. The locations are identified by pinpoints on a map. The app uses a Printer Survey background task to populate the map.
The Print Here feature communicates with the central Print Near Me web server and nearby printers, and generates custom printer interfaces based on the available printers. The printer interfaces require complex calculations that involve repeated communications between the app and the central web server, and may result in high memory usage.
Printer providers may indicate whether a subscribed printer is available to the network or unavailable at any time.
Business Requirements
You have the following business requirements:
. . .. ...
Printer providers must have the option to approve users for each printer through
instant messaging or email.
When a user launches the Print Near Me app, the Printer Survey task must initiate
communication between the app and the central web server to populate the map.
Map pinpoints must be displayed as follows:
If the printer is available and does not require permission to print, display a green
pinpoint.
If the printer is available and requires permission to print, display a yellow pinpoint.
If there is a printer or network status error, display a red pinpoint.
Users must be able to initiate printing to a nearby printer by clicking or tapping the
printer's pinpoint and then clicking Print Here.
Technical Requirements
You have the following technical requirements:
.... .. .
The Print Here feature must run in a background process.
The Printer Support feature must log and dispatch error messages.
Log error messages locally.
When the network is available, synchronize data with the central Print Near Me
web server.
Background task events must be logged locally.
The printer interface calculations must use the Printer Survey task for
communication to all sources.
The Printer Survey task must push data to the app when the app is available.
Testing Requirements
You have the following testing requirements: . Simulate user interactions in the app as part of the tests. . Test the app performance on a variety of devices that have different capabilities, such as processing speed and screen resolution. . Generate a file on each device for analysis in Microsoft Visual Studio. (Devices will not have Visual Studio installed.) . Generate a file on each device for analysis in Microsoft Visual Studio. {Devices will not have Visual Studio installed.) . Identify the app components that are called most frequently and that use the most CPU resources. . Ensure that the app detects the location of all printers and consistently reports loss of connection.
printNearMe.js
printerSurvey.js
printDriver.js
27. - (Topic 6)
You need to test connection reliability.
What should you do?
A. Display the status of the tap gesture after the Start event. Test wireless connections by calling the ConnectAsync method.
B. Display the status of the tap gesture after the Start event. Test wireless connections by calling the FindAllPeersAsync method.
C. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the ConnectAsync method.
D. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the FindAllPeersAsync method.
Answer: D
Q29. - (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: B
Q30. - (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: C