PrepAway - Latest Free Exam Questions & Answers

Category: 70-484

Exam 70-484: Essentials of Developing Windows Store Apps using C#

which four code segments in sequence should you replace line AX23?

Scenario 1
Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to update the app tile images.
With which four code segments in sequence should you replace line AX23?

Which class should you use?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to identify the class to use as the data context for the image list box. Which class should you use?

Which method should you use?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to choose the appropriate data binding strategy for the image list box.
Which method should you use?

which ApplicationExecutionState enumeration should you configure the user interface state?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to ensure that launching the app displays the required information.
From which ApplicationExecutionState enumeration should you configure the user interface state?

Which method should you use?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to save cached image data. Which method should you use?

Which data storage methods should you use?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to access the remote image data according to the requirements.
Which data storage methods should you use?

Which actions should you perform?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to ensure that only the correct information is preserved when the user switches to another app.
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.

Which code segments should you insert at line AX24?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to correctly display notifications on the app tile.
Which code segments should you insert at line AX24?(Each correct answer presents part of the solution.
Choose all that apply.)

Which code segment should you use?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to configure toast notifications for the photo competition.
Which code segment should you use?

Which four code segments in sequence should you insert at line AX28?

Background
You are developing a Windows Store app by using C# and XAML. The app will allow users to share and rate
photos. The app will also provide information to users about photo competitions.
Application Structure
The app stores data by using a class that is derived from the DataStoreBase class.
The app coordinates content between users by makingcalls to a centralized RESTful web service.
The app has a reminder system that displays toast notifications when a photo competition is almost over.
The app gets the competition schedule data from theweb service.
The app displays a list of images that are available for viewing in a data-bound list box.
The image file list stores paths to the image files.
The app downloads new images from the web service on a regular basis.
Relevant portions of the app files are shown. (Linenumbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Business Requirements
The app must allow users to do the following:
– Run the app on a variety of devices, including devices that have limited bandwidth connections.
– Share and synchronize high resolution photographsthat are greater than 1 MB in size.
– Rate each photo on a scale from 1 through 5.
Technical Requirements
The app must meet the following technical requirements:
– Retain state for each user and each device.
– Restore previously saved state each time the app is launched.
– Preserve user state and photo edits when switching between this app and other apps.
– When the app resumes after a period of suspension, refresh the user interface, tile images, and datawith
current information from the web service.
– Update the image list box as new images are addedto the image file list.
– Convert the image paths into images when binding the image file list to the list box.
The app must store cached images on the device only, and must display images or notifications on the app tile
to meet the following requirements:
– Regularly update the app tile with random images from the user’s collection displayed one at a time.
– When a photo is displayed on the tile, one of thefollowing badges must be displayed:
– If the photo has a user rating, the tile must display the average user rating as a badge.
– If the photo does not have a rating, the tile must display the Unavailable glyph as a badge.
– Update the app tile in real time when the app receives a notification.
– Display only the most recent notification on the app tile.
The app must display toast notifications to signal the end of a photo competition.
The toast notifications must meet the following requirements:
– Display toast notifications based on the schedulethat is received from the web service.
– Display toast notifications for as long as possible.
– Display toast notifications regardless of whetherthe app is running.
– When a user clicks a toast notification that indicates the end of the photo competition, the app must display
the details of the photo competition that triggeredthe toast notification.



*********************************************************************
You need to display the appropriate app tile badge for each image.
Which four code segments in sequence should you insert at line AX28? (To answer, move the appropriate code
segments from the list of code segments to the answer area and arrange them in the correct order.)


Page 1 of 712345...Last »