You are developing a web-based solution that students and teachers….

Background: You are developing a web-based solution that students and teachers can use to collaborate on written assignments. Teachers can also use the solution to detect potential plagiarism, and they can manage assignments and data by using locally accessible network shares.

Business Requirements: The solution consists of three parts: a website where students work on assignments and where teachers view and grade assignments, the plagiarism detection service, and a connector service to manage data by using a network share.
The system availability agreement states that operating hours are weekdays between midnight on Sunday and midnight on Friday.

Plagiarism Service: The plagiarism detection portion of the solution compares a new work against a repository of existing works. The initial dataset contains a large database of existing works. Teachers upload additional works. In addition, the service itself searches for other works and adds those works to the repository.

Technical Requirements Website: The website for the solution must run on an Azure web role.

Plagiarism Service: The plagiarism detection service runs on an Azure worker role. The computation uses a random number generator. Certain values can result in an infinite loop, so if a particular work item takes longer than one hour to process, other instances of the service must be able to process the work item. Computation results are cached in local storage resources to reduce computation time.

Repository of Existing Works: The plagiarism detection service works by comparing student submissions against a repository of existing works by using a custom matching algorithm. The master copies of the works are stored in Azure blob storage.

A daily process synchronizes files between blob storage and a file share on a virtual machine (VM). As part of this synchronization, the Existing Work Repository object adds the files to Azure Cache to improve the display performance of the website. If a student’s submission is overdue, the Late property is set to the number of days that the work is overdue. Work files can be downloaded by using the Work action of the Teacher Controller object

Network Connector: Clients can interact with files that are stored on the VM by using a network share. The network permissions are configured in a startup task in the plagiarism detection service.

Service Monitoring: The CPU of the system on which the plagiarism detection service runs usually limits the plagiarism detection service. However, certain combinations of input can cause memory issues, which results in decreased performance. The average time for a given computation is 45 seconds. Unexpected results during computations might cause a memory dump. Memory dump files are stored in the Windows temporary folder on the VM that hosts the worker role.

Security: Only valid users of the solution must be able to view content that users submit. Privacy regulations require that all content that users submit must be retained only in Azure Storage. All documents that students upload must be signed by using a certificate named DocCert that is installed in both the worker role and the web role.

Solution Development: You use Microsoft Visual Studio 2013 and the Azure emulator to develop and test both the compute component and the storage component. New versions of the solution must undergo testing by using production data.

Scaling: During non-operating hours, the plagiarism detection service should not use more than 40 CPU cores. During operating hours, the plagiarism detection service should automatically scale when 500 work items are waiting to be processed. To facilitate maintenance of the system, no plagiarism detection work should occur during non-operating hours. All ASP.NET MVC actions must support files that are up to 2 GB in size.

Biographical Information: Biographical information about students and teachers is stored in a Microsoft Azure SQL database. All services run in the US West region. The plagiarism detection service runs on Extra Large instances. The Azure worker role must fully utilize all available CPU cores.

Solution Structure: Relevant portions of the solution files are shown in the following code segments. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which the line belongs.







HOTSPOT
The Compute method in the Plagiarism Calculation class takes a significant amount of time to load existing works from blob storage. To improve performance, the service must load existing works from the cache.
You need to modify the Compute method in the class Plagiarism Calculation.
How should you modify the method? To answer, select the appropriate option or options in the answer area.

Hot Area:

Continue reading “You are developing a web-based solution that students and teachers….”

You manage API management policies in Azure

You manage API management policies in Azure. You attempt to add a policy that is marked as unavailable. You need to ensure that you can add the desired policy.
What should you do?
A. Modify the API Management policy definition.
B. Enable custom caching for the API Management service.
C. Modify the scope of the API policy.
D. Integrate the API Management service with the Azure Event Hub service.

You are a developer for ProseWare Inc.,

Background: You are a developer for ProseWare Inc., a software-as-a-service (SaaS) company that provides a comment system that websites use to allow for end users to post comments associated with a webpage or topic on a customer’s website.

Business requirements Moderation:
The moderation of comments is a feature of the software, and usually involves the editing of a comment. Only users who have accounts in a group in Azure Active Directory (Azure AD) have the ability moderate. External users can also become moderators, but only by explicit invitation. Any moderation action must include the name of the moderator.

Comment navigation: Each comment is identified by a unique string consisting of a random string of characters. Within the body of a comment, internal links to other comment threads can be specified using the link format: “/ /

Comment search:
Comments can be searched using Azure Search.

Searches must do the following: Searching for email addresses must match email addresses in comments. Searching must work for the client’s language. Internal links to other comments using the link format should be searched.
Content screening: Comment content is screened for inappropriate language, length, and topic using content analysis. Content must be screened, but can appear prior to be screened.

Mobile App: The moderation functionality can be accessed using a Universal Windows Platform (UWP) app named ProsewareApp. The app includes functionality that notifies moderators when changes are made to a comment they modified.

Export:
Customers can perform an export of all comments to a customer supplied Microsoft OneDrive folder on demand. The export functionality is implemented as an Azure Logic App, and it must be able to be triggered by the customer from their local network. Continue reading “You are a developer for ProseWare Inc.,”

You need to implement exception handling for the ModifyCommentText method in the WikiAgent class

You need to implement exception handling for the ModifyCommentText method in the WikiAgent class. How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth point.
Exception handling for the modifycommenttext

You are developing a new Azure Logic App. The Logic App requires a custom action to evaluate data from an internal

– You are developing a new Azure Logic App. The Logic App requires a custom action to evaluate data from an internal, proprietary system.
– You create a custom ASP.NET Web API to retrieve data from the system and update the Logic App to use the API.
– The Logic App generates a timeout error when it requests data from the API.
– You need to eliminate the timeout error and allow the Logic App to retrieve data by using the API.
What should you do?
A. Update the API to immediately return an HTTP ‘102 PROCESSING’ response when a request is received and an HTTP ‘205 RESET CONTENT’ response when the data is returned from the system.
B. Update the Logic App to use a new HTTP Web hook trigger to call out to the API’s newly-created subscribe and unsubscribe methods.
C. Update the API to immediately return an HTTP ‘202 ACCEPTED’ response when a request is received and a ‘200 OK’ response when the data is returned from the system.
D. Update the Logic App adding a wait action to include the interval object’s unit and count properties set to valid values.

You are developing a business-to-business (B2B) solution by using an Azure Logic App

– You are developing a business-to-business (B2B) solution by using an Azure Logic App.
– You plan to use the Enterprise Integration Pack to allow the exchange of the X12 industry standard message format within your Logic App workflow.
– You start by creating a new Azure Resource Manager (ARM) resource group and Azure App Service plan.
– You need to create the B2B solution.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
You are developing a business-to business(B2B)

A company is developing a website that supports mortgage loan processing….

Background: A company is developing a website that supports mortgage loan processing. You use the Azure management portal to create a website. You initially configure the website to use the Basic hosting plan. You register a custom domain for the website with a valid registrar.
Customers complete mortgage applications and upload supporting documents to the website. A custom executable named FileProcessor.exe processes all of the information received. An on-premises server that runs Windows Server hosts the executable.
You create a virtual hard disk (VHD) image of the on-premises server. You plan to use this VHD to replace the on-premises server with a new virtual machine (VM) that is hosted in Azure.
Business Requirements: Business stakeholders have identified the following requirements for the mortgage loan processing website: The website must provide a secure mortgage application process for the customer.
Business users must validate new versions of the website before you publish them to the production site.
You must be able to revert to the previous version easily when issues arise.
The website must remain available to users while new features and bug fixes are deployed.
Network traffic must be monitored on all ports that the website uses.
Technical Requirements General: You must develop the website by using Microsoft Visual Studio 2013.
The website must be stateless. Subsequent requests from a user might or might not be routed back to the website instance that the user initially connected to.
Security: You must secure the custom domain and all subdomains by using SSL.
Storage: The custom executable must use native file system APIs to share data between different parts of the website.
The custom executable must continue to use a network file share to access files.
Monitoring: The website must use port 6000 with UDP to submit information to another process. This port must be actively monitored by using the same external port number.
Deployment: You must deploy the VM and the associated VHD. You will need to move this VM to a different Azure subscription after deployment.
You must establish a continuous deployment process that uses staged publishing.
The custom domain must handle requests for multiple subdomains.
The custom domain must use a www CNAME record that points to the domain’s @ A record.
The custom executable must run continuously and must be deployed as an Azure web job named
File Processor: Application Request Routing (ARR) affinity must be disabled for the website.
Solution Structure: The solution structure for the website is shown in the following exhibit.

You need to choose an Azure storage service solution.
Which solution should you choose?
A. Queue storage
B. Blob storage
C. File storage
D. Table storage
Continue reading “A company is developing a website that supports mortgage loan processing….”

You are developing a multitenant application that uses Azure Search services

You are developing a multitenant application that uses Azure Search services.
You have the following tenants:
111
You must minimize costs associated with implementing any solution. The cost model must be predictable. You need to design the search experience for the application. Which Azure Search pattern should you use for each tenant? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point. Continue reading “You are developing a multitenant application that uses Azure Search services”