Which code segment should you insert at line L036?
###BeginCaseStudy###
Case Study: 2
Scenario 2
Background
You are developing a Windows Store app by using JavaScript. The app is named Getting
Around. The app will use geo-location to provide location-aware assistance to people who are
traveling. Users will record audio information about locations.
Full and trial versions of the app will be available from the Windows Store. The feature name
of the full version will be gettingAround. The trial version will be valid for 30 days.
Business Requirements
The Getting Around app must meet the following business requirements:
• Track the user’s current location in accordance with the Windows Certification
guidelines for devices and sensors.
• Notify the user about upcoming obstacles.
• Ensure that the user can play, pause, and stop audio recordings.
• Ensure that the user can listen to recordings on Digital Living Network Alliance
(DLNA)-compatible headphones.
Technical Requirements
The Getting Around app must meet the following technical requirements:
• Connect to the Internet.
• Use the device’s sensors to detect the user’s location.
• Every 15 minutes, poll an obstacles database that is stored in the cloud.
• Send messages about upcoming obstacles to the lock screen of the
user’s device as soon as an obstacle is detected.
• Enable the user to save the most recently recorded location information
on the device by using a DataCompositeValue object.
• Enable retrieval of audio recordings from a cloud server.
• Headphones, when connected, must use the Play To technology. The
PlayTo control that is used for streaming is named aplayer and is in the
HTML file that is used by the player.js file.
To assist with diagnostics and monitoring, the app must do the following:
• Place an audit log that will track touch events on the user’s device.
• Store the audit log in the user’s localSettings object.
• Ensure that the audit log can be sent by email to the support desk if the
user is having problems.
The app must support the following hardware requirements:
• Windows 8
• Microphone and speakers
• Internet connection
• DLNA-compatible hearing device (optional)
While testing the app, you establish the following:
• The app fails to detect the location on some devices.
• When connectivity is lost, access to the obstacle data is not available.
###EndCaseStudy###
You need to enable the user to save coordinates as specified in the requirements.
Which code segment should you insert at line L036?
Which code segment should you insert at line PL27?
###BeginCaseStudy###
Case Study: 2
Scenario 2
Background
You are developing a Windows Store app by using JavaScript. The app is named Getting
Around. The app will use geo-location to provide location-aware assistance to people who are
traveling. Users will record audio information about locations.
Full and trial versions of the app will be available from the Windows Store. The feature name
of the full version will be gettingAround. The trial version will be valid for 30 days.
Business Requirements
The Getting Around app must meet the following business requirements:
• Track the user’s current location in accordance with the Windows Certification
guidelines for devices and sensors.
• Notify the user about upcoming obstacles.
• Ensure that the user can play, pause, and stop audio recordings.
• Ensure that the user can listen to recordings on Digital Living Network Alliance
(DLNA)-compatible headphones.
Technical Requirements
The Getting Around app must meet the following technical requirements:
• Connect to the Internet.
• Use the device’s sensors to detect the user’s location.
• Every 15 minutes, poll an obstacles database that is stored in the cloud.
• Send messages about upcoming obstacles to the lock screen of the
user’s device as soon as an obstacle is detected.
• Enable the user to save the most recently recorded location information
on the device by using a DataCompositeValue object.
• Enable retrieval of audio recordings from a cloud server.
• Headphones, when connected, must use the Play To technology. The
PlayTo control that is used for streaming is named aplayer and is in the
HTML file that is used by the player.js file.
To assist with diagnostics and monitoring, the app must do the following:
• Place an audit log that will track touch events on the user’s device.
• Store the audit log in the user’s localSettings object.
• Ensure that the audit log can be sent by email to the support desk if the
user is having problems.
The app must support the following hardware requirements:
• Windows 8
• Microphone and speakers
• Internet connection
• DLNA-compatible hearing device (optional)
While testing the app, you establish the following:
• The app fails to detect the location on some devices.
• When connectivity is lost, access to the obstacle data is not available.
###EndCaseStudy###
You need to assign the audio stream to the controller declared at line PL20 according to the
requirements.
Which code segment should you insert at line PL27?
Which property should you check in the app startup code?
###BeginCaseStudy###
Case Study: 2
Scenario 2
Background
You are developing a Windows Store app by using JavaScript. The app is named Getting
Around. The app will use geo-location to provide location-aware assistance to people who are
traveling. Users will record audio information about locations.
Full and trial versions of the app will be available from the Windows Store. The feature name
of the full version will be gettingAround. The trial version will be valid for 30 days.
Business Requirements
The Getting Around app must meet the following business requirements:
• Track the user’s current location in accordance with the Windows Certification
guidelines for devices and sensors.
• Notify the user about upcoming obstacles.
• Ensure that the user can play, pause, and stop audio recordings.
• Ensure that the user can listen to recordings on Digital Living Network Alliance
(DLNA)-compatible headphones.
Technical Requirements
The Getting Around app must meet the following technical requirements:
• Connect to the Internet.
• Use the device’s sensors to detect the user’s location.
• Every 15 minutes, poll an obstacles database that is stored in the cloud.
• Send messages about upcoming obstacles to the lock screen of the
user’s device as soon as an obstacle is detected.
• Enable the user to save the most recently recorded location information
on the device by using a DataCompositeValue object.
• Enable retrieval of audio recordings from a cloud server.
• Headphones, when connected, must use the Play To technology. The
PlayTo control that is used for streaming is named aplayer and is in the
HTML file that is used by the player.js file.
To assist with diagnostics and monitoring, the app must do the following:
• Place an audit log that will track touch events on the user’s device.
• Store the audit log in the user’s localSettings object.
• Ensure that the audit log can be sent by email to the support desk if the
user is having problems.
The app must support the following hardware requirements:
• Windows 8
• Microphone and speakers
• Internet connection
• DLNA-compatible hearing device (optional)
While testing the app, you establish the following:
• The app fails to detect the location on some devices.
• When connectivity is lost, access to the obstacle data is not available.
###EndCaseStudy###
You need to find out whether the app is still in trial mode.
Which property should you check in the app startup code?
Which code segment should you insert in the default.js file?
###BeginCaseStudy###
Case Study: 2
Scenario 2
Background
You are developing a Windows Store app by using JavaScript. The app is named Getting
Around. The app will use geo-location to provide location-aware assistance to people who are
traveling. Users will record audio information about locations.
Full and trial versions of the app will be available from the Windows Store. The feature name
of the full version will be gettingAround. The trial version will be valid for 30 days.
Business Requirements
The Getting Around app must meet the following business requirements:
• Track the user’s current location in accordance with the Windows Certification
guidelines for devices and sensors.
• Notify the user about upcoming obstacles.
• Ensure that the user can play, pause, and stop audio recordings.
• Ensure that the user can listen to recordings on Digital Living Network Alliance
(DLNA)-compatible headphones.
Technical Requirements
The Getting Around app must meet the following technical requirements:
• Connect to the Internet.
• Use the device’s sensors to detect the user’s location.
• Every 15 minutes, poll an obstacles database that is stored in the cloud.
• Send messages about upcoming obstacles to the lock screen of the
user’s device as soon as an obstacle is detected.
• Enable the user to save the most recently recorded location information
on the device by using a DataCompositeValue object.
• Enable retrieval of audio recordings from a cloud server.
• Headphones, when connected, must use the Play To technology. The
PlayTo control that is used for streaming is named aplayer and is in the
HTML file that is used by the player.js file.
To assist with diagnostics and monitoring, the app must do the following:
• Place an audit log that will track touch events on the user’s device.
• Store the audit log in the user’s localSettings object.
• Ensure that the audit log can be sent by email to the support desk if the
user is having problems.
The app must support the following hardware requirements:
• Windows 8
• Microphone and speakers
• Internet connection
• DLNA-compatible hearing device (optional)
While testing the app, you establish the following:
• The app fails to detect the location on some devices.
• When connectivity is lost, access to the obstacle data is not available.
###EndCaseStudy###
You need to find out whether the user has purchased the app.
Which code segment should you insert in the default.js file?
You need to implement the file security policy
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the file security policy.
What should you do?
You need to implement the file storage solution for equipment drivers and updates
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the file storage solution for equipment drivers and updates.
What should you do?
Which two actions should you perform?
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the secondary schedule functionality for inspectors.
Which two actions should you perform? Each correct answer presents part of the solution.
You need to implement the Search features for the app
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the Search features for the app.
What should you do?
What is the best approach to achieve the goal?
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the activities that must occur when an inspector signs in.
What is the best approach to achieve the goal? More than one answer choice may achieve
the goal. Select the BEST answer.
Which code segment should you insert at line PF12?
###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
A Datum Corporation manufactures electronic measuring equipment that is sold worldwide.
The equipment requires periodic inspection and calibration by a team of inspectors. The
equipment supports near field communication (NFC).
Inspectors currently receive daily email messages that list the locations they must visit that
day and the equipment they must inspect, calibrate, or update. To request schedule changes,
inspectors must call, fax, or email a support center.
A Datum plans to develop a Windows Store app that connects to a scheduling application
hosted in Windows Azure. The app will allow inspectors to view client information,
equipment information, and other documentation. Inspectors will use the app to report
inspection results back to the company’s Windows Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
• Gather information about each piece of equipment during inspections.
• Update equipment software and firmware during inspections.
• Identify missing and outdated equipment.
• Submit orders for replacement equipment to the customer support team.
The app must support the following scheduling requirements:
• When an inspector signs in to the app, daily schedule and task information
must automatically download to the inspector’s Windows device. The
information must include client locations, equipment inventory at each
location, and equipment settings. The files contain sensitive and proprietary
information.
• Inspectors must be able to request a list of other clients within a specified
search distance who might require equipment inspection.
• Inspectors must be able to refuse a task and remove it from their schedule.
Technical Requirements
File Download, Storage, and Security
• When an inspector connects the app to a piece of equipment, the current
equipment software, firmware, drivers, and updates must be copied to the
inspector’s Microsoft SkyDrive folder.
• Inspectors must be able to search for equipment software and firmware
updates stored in their SkyDrive folders.
• Downloaded files must be enrolled in selective wipe and made unavailable
eight hours after download.
• The app must use background tasks to download files to the users’ devices.
• All content files downloaded for the inspector’s use must be available for
searching in the app.
• All data transferred by the app between the Windows devices and the
Windows Azure application must be secured and encrypted.
Equipment Interface and Connections
• While the app is connected to a piece of equipment, inspectors must be able to
simultaneously display the app and the content of their SkyDrive folders.
• The user interface must include a slide control that allows the inspector to
specify a search range for nearby clients.
• Inspectors must connect the app to any piece of equipment by using a tap
connection.
File – Geofencing.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 – ProtectFile.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 – BackgroundTask.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.
###EndCaseStudy###
You need to implement the storage policy for secure documents.
Which code segment should you insert at line PF12?