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?
What should you include in the application code?
You are developing an application that uses a .config file.
The relevant portion of the .config file is shown as follows:
You need to ensure that diagnostic data for the application writes to the event log by using
the configuration specified in the .config file. What should you include in the application code?
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 code segment should you use?
You are developing an application that includes a class named Employee and a generic list
of employees. The following code segment declares the list of employees:
List<Employee> employeesList = new List<Employee>();
You populate the employeesList object with several hundred Employee objects.
The application must display the data for five Employee objects at a time.
You need to create a method that will return the correct number of Employee objects.
Which code segment should you use?
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.
Which code segment should you use?
You need to ensure that the method meets the following requirements:
DRAG DROP
You have a method that will evaluate a parameter of type Int32 named Status.
You need to ensure that the method meets the following requirements:
If Status is set to Active, the method must return 1.
If Status is set to Inactive, the method must return 0.
If Status is any other value, the method must return -1.
What should you do? (To answer, drag the appropriate statement to the correct location in
the answer area. Each statement 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.)
You need to display the third page
You need to ensure that after Proc1 executes, the database is left in a consistent state
DRAG DROP
You have an application that accesses a Microsoft SQL Server database.
The database contains a stored procedure named Proc1. Procl accesses several rows of
data across multiple tables.
You need to ensure that after Proc1 executes, the database is left in a consistent state.
While Proc1 executes, no other operation can modify data already read or changed by
Proc1. (Develop the solution by selecting and ordering the required code snippets.
You may not need all of the code snippets.)
Which commands should you run?
DRAG DROP
You create an assembly named Assembly1.dll.
You need to ensure that Assembly1.dll can be deployed to the global assembly cache (GAC).
Which commands should you run? (To answer, drag the appropriate programs to the correct
locations. Each program 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.)