PrepAway - Latest Free Exam Questions & Answers

Category: 70-481

Exam 70-481: Essentials of Developing Windows Store Apps using HTML5 and JavaScript

You need to configure the deployment package settings for both apps to ensure that the requirements are met

You are developing two Windows Store apps named CameraApp and PhotoAlbum. The apps must meet the
following requirements:
CameraApp must have access to images on the localcomputer on which CameraApp is running.
PhotoAlbum must be able to access the images fromCameraApp. You need to configure the deployment
package settings for both apps to ensure that the requirements are met. What should you do?

Which code segment should you insert at line 05?

You are developing a Windows Store app. The app includes a handler for the datarequested event. A portion
of the code for the event handler is shown in the following code segment:

The app must meet the following requirements:
The app must share an order tracking link with target apps.
The app must share URI-type data only.
You need to ensure that the app meets the requirements. Which code segment should you insert at line 05?

Which code segments should you use?

HOTSPOT
You are developing a Windows Store app. The app allows users to browse contacts from a social networking
site. The app has the following requirements:
The user must be able to select more than one contact at a time. The app must display all of the details for
the selected contacts. You need to ensure that the requirements are met. Which code segments should you
use? (To answer, drag the appropriate code segmentsto the correct locations in the answer area. Each code
segment may be used once, more than once, or not atall. You may need to drag the split bar between panes
or scroll to view content.)

Which data access strategies should you use?

HOTSPOT
You are developing a Windows Store app for purchasing school supplies. The app has the following storage
requirements:
Inventory data must be accessible to the app and over the Internet to external suppliers. Suppliers will access
the data over HTTP by using OData. App storage for the high volume sales periods must be able to scale
rapidly, but at the lowest possible cost.
Color preferences for the user must be stored on the host device. You need to choose the appropriatedata
access strategy for each requirement. Which data access strategies should you use? (To answer, select the
correct option from each drop-down list in the answer area.)

Which code segment should you add?

You are developing a Windows Store app. The app will format a paragraph of text to resemble the following
image.

The app must format the paragraph to meet the following requirements:
The paragraph must be divided among three columns. Columns must be separated by vertical lines that are
one pixel wide. You need to ensure that the format of the paragraph meets the requirements. Which code
segment should you add?

Which code segment should you insert at line GC04?

Case Study: 1, Scenario 1
Background
Southbridge Video rents and sells video games, movies, and other multimedia content. The company is
currently expanding its operations. Southbridge video is developing a Windows Store news reader and social
media app. Users will be able to view and interact with news stories that are related to the video game,
entertainment, and related industries. Southbridge Video employees will also use the app to manage sales
leads, order fulfillment, and customer-service related activities.
Business Requirements
The app has the following requirements.
Email
Users must be able to email news items to their contacts.
Navigation
Easy navigation access must be available to move to the next and previous pages.
Users searching for specific news items must be able to navigate directly to an item from the searchresults
pane.
News items
When a user selects a news item on newsPage.html,the news item should be displayed in the newsltem.html
page.
The app must periodically retrieve new news itemson the newsPage.html page.
The app must allow the user to save annotated news.
The app must display a short title for each news item.
Search capabilities
The app must allow users to search within available news items to locate articles of interest.
The app must provide search suggestions for users.
Authentication
Employees must be able to view the sales leads, order fulfillment, and customer-service related pages.
Authenticated users must be able to save news items to read at a later time.
Authenticated users must be able to add and save handwritten notes to the news items.
The app must allow users to choose whether their credentials will be saved after they first log in. User
credentials must be saved by default.
Technical Requirements
Email
When a user clicks the To button to email news items, only contacts that have email addresses shouldbe
displayed.
When multiple contacts are selected, the email addresses must be displayed in the To text box as a semi-colon-delimited string.
News items
The app must periodically retrieve new items from aweb service. The app must display a progress indicator
while retrieving new items.
The news feed service must respond to all requests within 15 seconds. The app must not throw an error if the
service does not respond within the allotted time.
Titles for news items must not overflow into other elements on the page.
Authenticated users must be able to add handwrittennotes to the news items by using a stylus or the mouse.
The app must support saving annotations along with the news item. The app must cancel the navigation from
newsltem.html to newsPage.html if there are unsavedchanges in the annotations area.
Search capabilities
The app must retrieve a list of phrases from the news service and provide them as search suggestions to
users.
Authentication
Users connected to the corporate network must authenticate against an Active Directory server.
Users outside of the corporate network must authenticate by using forms-based authentication.
User credentials must not be transmitted in plaintext.
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.)




You need to configure the CredentialPicker object to meet the requirements. Which code segment should you
insert at line GC04?


Page 4 of 7« First...23456...Last »