PrepAway - Latest Free Exam Questions & Answers

Tag: Briefing 70-532 (update January 12th, 2018)

Briefing 70-532: Developing Microsoft Azure Solutions (update January 12th, 2018)

Which four actions should you perform in sequence?

DRAG DROP
You develop a Web App that uploads files from a browser and then compresses the files. You observe that compression is not working according to specification.
You need to debug the compression code to resolve the problem.
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:

Which set of tokenizers should you enable?

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: “/
<parent comment id> / <child comment id>”
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.
Interaction agents:
Interaction agents are parts of the system that interact with comment threads. The main purpose is to modify a comment’s body based on the contents of the comment. For example, one of the agents is WikiAgent, which adds links to Wikipedia articles when it sees text in the comment body that exactly matches a Wikipedia article title. Interaction Agents are implemented in Service Fabric.
Interaction agents must meet the following requirements:
Only successfully process each comment once
Any errors encountered during the processing of a comment should be retried
Must run on systems that allow for custom applications to be installed
Must run in a VNet or private network space
Must be run on a system that can scale up and down based on demand
A single user’s usage of Interaction Agents must not impact other users’ usage of Interaction Agents
Technical requirements
Authentication:
ProseWare Inc. allows for user authentication through Azure AD and Twitter.
Storage:
The application runs as a Web App on Azure. Comments are stored in an Azure DocumentDB databasenamed “Proseware”.
Performance:
The product includes a service level agreement (SLA) for individual method performance. All data retrieval methods must return within 100ms 99% of the time.
API:
The ProseWare Inc. API is made available to public callers using an Azure API App. Azure AD and Twitter are the Authentication Providers.
Application structure
CommentController.cs:


cleaner.csx:

ICommentAgent.cs:

WikiAgent.cs:

Comment.cs:

DataStore.cs:

MainPage.xaml.cs:

You need to create the index for comment search.
Which set of tokenizers should you enable?

How should you complete the relevant code segment?

HOTSPOT
Background
You are a developer working for Fourth Coffee, a company that sells coffee and coffee accessories through anAzure-based website and retail locations. Features of the website include the ability to write product reviews, comment on reviews and find whether a particular product is available at a specific retail location.
Fourth Coffee licenses a product from Contoso, Ltd, that provides an Azure-based website for users in Japan.
The website includes reviews and comments. All comments and product reviews are shared between Fourth
Coffee’s website and the Japanese website.
Business Requirements
Product Reviews
User-submitted product reviews are provided by Contoso and are stored in the Japanese language in an HTML file format. When a review is submitted, you must remove specific keywords from the review and translate the review to the English language before you load the review onto the Fourth Coffee website. Translation processing and migration must occur with a minimum delay.
Product reviews can be loaded by third party websites, but only after they are processed and reviewed by
Fourth Coffee employees. Reviews can be loaded up to one year after they are made public on the Fourth
Coffee website.
Comments
Users can post comments about product reviews. After a comment is posted, all other users who comment on that product receive a notification on their Android or Windows Phone device.
Technical Requirements
Product Reviews
The product reviews from Contoso are stored as HTML files in BLOB storage with the format “/reviews/
<guid>html”.
Fourth Coffee stores reviews in BLOB storage, with the format “/users/reviews/<guid>.md” where <guid> matches the file name of the review. After a Fourth Coffee employee approves the review, a metadata property named Reviewed with the value true is set on the BLOB.
Some product reviews contain language-specific terms that require additional processing. The additional processing is done by a python script named cleanup.py. The script relies on a data file names term.data that contains terms and their replacement values. All running instances of the script must use the same instance of the data file.
Security
To simplify the security configuration, Contoso and Fourth Coffee agree to configure the website and services to allow for communication between the services without the traffic being visible on the public Internet.
To prevent third parties from harvesting review data, whenever the system returns public reviews, it records the
IP address of the request and increments a count of the times that data is retrieved from a particular IP address. If an IP address makes more than 10 requests a minute, the client must be redirected to a static page named ratelimit.html.
Azure
The Fourth Coffee website and related services that run on Azure are located in the US West region and are on a single virtual network named Main with the address 10.1.0.0/16.
The Contoso website and related services that run on Azure are located in the Japan West region and are on a single virtual network named CT with the address 10.2.0.0/24.
Comments
Product review comments must be processed, at most, one time. When a comment is posted, it must be associated with the identity of the user who posted the comment. Product review comments are indexed by a web service that accepts the body of the comment in an HTTP POST. When comments are ported, they must be indexed for search within 15 minutes. Each comment must be indexed exactly once. All mobile device notifications are sent by using the Azure Notification Hub service.Application Structure
CommentIndexer.cs
Relevant portions of the CommentIndexer.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

ReviewController.cs
Relevant portions of the ReviewController.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

TranslateJob.cs
Relevant portions of the TranslateJob.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

AccessRateFilter.cs
Relevant portions of the AccessRateFilter.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

You need to add code after line RC06 to complete the implementation of the AddComment method.
How should you complete the relevant code segment? To answer, select the appropriate code segment from each list in the answer area.
Hot Area:

You need to create a web job that performs post process…

Background
You are a developer working for Fourth Coffee, a company that sells coffee and coffee accessories through an
Azure-based website and retail locations. Features of the website include the ability to write product reviews, comment on reviews and find whether a particular product is available at a specific retail location.
Fourth Coffee licenses a product from Contoso, Ltd, that provides an Azure-based website for users in Japan.
The website includes reviews and comments. All comments and product reviews are shared between Fourth
Coffee’s website and the Japanese website.
Business RequirementsProduct Reviews
User-submitted product reviews are provided by Contoso and are stored in the Japanese language in an HTML file format. When a review is submitted, you must remove specific keywords from the review and translate the review to the English language before you load the review onto the Fourth Coffee website. Translation processing and migration must occur with a minimum delay.
Product reviews can be loaded by third party websites, but only after they are processed and reviewed by
Fourth Coffee employees. Reviews can be loaded up to one year after they are made public on the Fourth
Coffee website.
Comments
Users can post comments about product reviews. After a comment is posted, all other users who comment on that product receive a notification on their Android or Windows Phone device.
Technical Requirements
Product Reviews
The product reviews from Contoso are stored as HTML files in BLOB storage with the format “/reviews/
<guid>html”.
Fourth Coffee stores reviews in BLOB storage, with the format “/users/reviews/<guid>.md” where <guid> matches the file name of the review. After a Fourth Coffee employee approves the review, a metadata property named Reviewed with the value true is set on the BLOB.
Some product reviews contain language-specific terms that require additional processing. The additional processing is done by a python script named cleanup.py. The script relies on a data file names term.data that contains terms and their replacement values. All running instances of the script must use the same instance of the data file.
Security
To simplify the security configuration, Contoso and Fourth Coffee agree to configure the website and services to allow for communication between the services without the traffic being visible on the public Internet.
To prevent third parties from harvesting review data, whenever the system returns public reviews, it records the
IP address of the request and increments a count of the times that data is retrieved from a particular IP address. If an IP address makes more than 10 requests a minute, the client must be redirected to a static page named ratelimit.html.
Azure
The Fourth Coffee website and related services that run on Azure are located in the US West region and are on a single virtual network named Main with the address 10.1.0.0/16.
The Contoso website and related services that run on Azure are located in the Japan West region and are on a single virtual network named CT with the address 10.2.0.0/24.
Comments
Product review comments must be processed, at most, one time. When a comment is posted, it must be associated with the identity of the user who posted the comment. Product review comments are indexed by a web service that accepts the body of the comment in an HTTP POST. When comments are ported, they must be indexed for search within 15 minutes. Each comment must be indexed exactly once. All mobile device notifications are sent by using the Azure Notification Hub service.
Application Structure
CommentIndexer.cs
Relevant portions of the CommentIndexer.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

ReviewController.cs
Relevant portions of the ReviewController.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

TranslateJob.cs
Relevant portions of the TranslateJob.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

AccessRateFilter.cs
Relevant portions of the AccessRateFilter.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

You need to create a web job that performs post processing for reviews.
What should you do? processing is done by a python script named cleanup.py. The script relies on a data file names term.data that contains terms and their replacement values. All running instances of the script must use the same instance of the data file.

How should you complete the relevant code?

DRAG DROP
Background
You are a developer working for Fourth Coffee, a company that sells coffee and coffee accessories through an
Azure-based website and retail locations. Features of the website include the ability to write product reviews, comment on reviews and find whether a particular product is available at a specific retail location.
Fourth Coffee licenses a product from Contoso, Ltd, that provides an Azure-based website for users in Japan.
The website includes reviews and comments. All comments and product reviews are shared between Fourth
Coffee’s website and the Japanese website.
Business Requirements
Product Reviews
User-submitted product reviews are provided by Contoso and are stored in the Japanese language in an HTML file format. When a review is submitted, you must remove specific keywords from the review and translate the review to the English language before you load the review onto the Fourth Coffee website. Translation processing and migration must occur with a minimum delay.Product reviews can be loaded by third party websites, but only after they are processed and reviewed by
Fourth Coffee employees. Reviews can be loaded up to one year after they are made public on the Fourth
Coffee website.
Comments
Users can post comments about product reviews. After a comment is posted, all other users who comment on that product receive a notification on their Android or Windows Phone device.
Technical Requirements
Product Reviews
The product reviews from Contoso are stored as HTML files in BLOB storage with the format “/reviews/
<guid>html”.
Fourth Coffee stores reviews in BLOB storage, with the format “/users/reviews/<guid>.md” where <guid> matches the file name of the review. After a Fourth Coffee employee approves the review, a metadata property named Reviewed with the value true is set on the BLOB.
Some product reviews contain language-specific terms that require additional processing. The additional processing is done by a python script named cleanup.py. The script relies on a data file names term.data that contains terms and their replacement values. All running instances of the script must use the same instance of the data file.
Security
To simplify the security configuration, Contoso and Fourth Coffee agree to configure the website and services to allow for communication between the services without the traffic being visible on the public Internet.
To prevent third parties from harvesting review data, whenever the system returns public reviews, it records the
IP address of the request and increments a count of the times that data is retrieved from a particular IP address. If an IP address makes more than 10 requests a minute, the client must be redirected to a static page named ratelimit.html.
Azure
The Fourth Coffee website and related services that run on Azure are located in the US West region and are on a single virtual network named Main with the address 10.1.0.0/16.
The Contoso website and related services that run on Azure are located in the Japan West region and are on a single virtual network named CT with the address 10.2.0.0/24.
Comments
Product review comments must be processed, at most, one time. When a comment is posted, it must be associated with the identity of the user who posted the comment. Product review comments are indexed by a web service that accepts the body of the comment in an HTTP POST. When comments are ported, they must be indexed for search within 15 minutes. Each comment must be indexed exactly once. All mobile device notifications are sent by using the Azure Notification Hub service.
Application Structure
CommentIndexer.cs
Relevant portions of the CommentIndexer.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

ReviewController.cs
Relevant portions of the ReviewController.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

TranslateJob.cs
Relevant portions of the TranslateJob.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

AccessRateFilter.cs
Relevant portions of the AccessRateFilter.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

You need to implement the translation web job.
How should you complete the relevant code? To answer, drag the appropriate code segment to the correct location. Each code segment 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.
NOTE: Each correct selection is worth one point.
Select and Place:

How should you complete the relevant code segment?

HOTSPOTBackground
You are a developer working for Fourth Coffee, a company that sells coffee and coffee accessories through an
Azure-based website and retail locations. Features of the website include the ability to write product reviews, comment on reviews and find whether a particular product is available at a specific retail location.
Fourth Coffee licenses a product from Contoso, Ltd, that provides an Azure-based website for users in Japan.
The website includes reviews and comments. All comments and product reviews are shared between Fourth
Coffee’s website and the Japanese website.
Business Requirements
Product Reviews
User-submitted product reviews are provided by Contoso and are stored in the Japanese language in an HTML file format. When a review is submitted, you must remove specific keywords from the review and translate the review to the English language before you load the review onto the Fourth Coffee website. Translation processing and migration must occur with a minimum delay.
Product reviews can be loaded by third party websites, but only after they are processed and reviewed by
Fourth Coffee employees. Reviews can be loaded up to one year after they are made public on the Fourth
Coffee website.
Comments
Users can post comments about product reviews. After a comment is posted, all other users who comment on that product receive a notification on their Android or Windows Phone device.
Technical Requirements
Product Reviews
The product reviews from Contoso are stored as HTML files in BLOB storage with the format “/reviews/
<guid>html”.
Fourth Coffee stores reviews in BLOB storage, with the format “/users/reviews/<guid>.md” where <guid> matches the file name of the review. After a Fourth Coffee employee approves the review, a metadata property named Reviewed with the value true is set on the BLOB.
Some product reviews contain language-specific terms that require additional processing. The additional processing is done by a python script named cleanup.py. The script relies on a data file names term.data that contains terms and their replacement values. All running instances of the script must use the same instance of the data file.
Security
To simplify the security configuration, Contoso and Fourth Coffee agree to configure the website and services to allow for communication between the services without the traffic being visible on the public Internet.
To prevent third parties from harvesting review data, whenever the system returns public reviews, it records the
IP address of the request and increments a count of the times that data is retrieved from a particular IP address. If an IP address makes more than 10 requests a minute, the client must be redirected to a static page named ratelimit.html.
Azure
The Fourth Coffee website and related services that run on Azure are located in the US West region and are on a single virtual network named Main with the address 10.1.0.0/16.
The Contoso website and related services that run on Azure are located in the Japan West region and are on a single virtual network named CT with the address 10.2.0.0/24.
Comments
Product review comments must be processed, at most, one time. When a comment is posted, it must be associated with the identity of the user who posted the comment. Product review comments are indexed by aweb service that accepts the body of the comment in an HTTP POST. When comments are ported, they must be indexed for search within 15 minutes. Each comment must be indexed exactly once. All mobile device notifications are sent by using the Azure Notification Hub service.
Application Structure
CommentIndexer.cs
Relevant portions of the CommentIndexer.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

ReviewController.cs
Relevant portions of the ReviewController.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

TranslateJob.cs
Relevant portions of the TranslateJob.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

AccessRateFilter.cs
Relevant portions of the AccessRateFilter.cs file are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which the code belongs.

You need to implement the OnActionExecuting method of the AccessRateFilter class.
How should you complete the relevant code segment? To answer, select the appropriate code segment from each list in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Which solution should you use?

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
FileProcessor
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 select an Azure storage service solution for completed mortgage applications and supporting documents.
Which solution should you use?

Which two types of Logic App triggers can you use?

You are developing an Azure Logic App that summarizes and translates Microsoft Word documents. Clients upload Word documents to an Azure File share, and all documents are processed once per day.
Each document takes more than 10 minutes to process, and each client processes thousands of documents per day.
You need to ensure that customers can process documents on demand while minimizing costs.
Which two types of Logic App triggers can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

You need to reduce the recurring monthly Azure costs wi…

You administer an Azure environment that includes six Azure Resource Manager (ARM) virtual machines
(VMs) that support development. The development team uses Azure SQL databases and Azure Queues for application storage. All Azure resources are grouped within a single subscription and resource group.You need to reduce the recurring monthly Azure costs without degrading server performance. You must minimize the administrative effort involved.
What should you do?


Page 2 of 2612345...1020...Last »