PrepAway - Latest Free Exam Questions & Answers

Author: admin

Does the solution meet the goal?

You are developing an application that will run as an Azure API App. The application tracks flights between airports, including duration of flight, if the flight was on time, the capacity of the airplane, and the number of seats sold. Queries can be performed to show multiple routes, multi-leg journeys, and filtering based on theattributes of the flight.
Flight information will be used by customers to perform data mining, drive interactive display, perform airspace tracking, and other applications.
Customers require that the response time of the API be as low as possible, both for retrieving information for a single flight, and for queries across flights. To achieve the required level of performance, each API invocation must be satisfied by a single operation against the data store containing flight information.
You need to implement the data store for this application.
Solution: You use Cosmos DB.
Does the solution meet the goal?

Does the solution meet the goal?

You are developing an application that will run as an Azure API App. The application tracks flights between airports, including duration of flight, if the flight was on time, the capacity of the airplane, and the number of seats sold. Queries can be performed to show multiple routes, multi-leg journeys, and filtering based on the attributes of the flight.
Flight information will be used by customers to perform data mining, drive interactive display, perform airspace tracking, and other applications.
Customers require that the response time of the API be as low as possible, both for retrieving information for a single flight, and for queries across flights. To achieve the required level of performance, each API invocation must be satisfied by a single operation against the data store containing flight information.
You need to implement the data store for this application.
Solution: You use Azure Blob Storage.
Does the solution meet the goal?

How should you complete the JSON code segment?

DRAG DROP
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 database named “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 arethe Authentication Providers.
Application structure
CommentController.cs:


cleaner.csx:

ICommentAgent.cs:

WikiAgent.cs:

Comment.cs:

DataStore.cs:

MainPage.xaml.cs:

You need to add JSON code to the bindings file to ensure that comments are screened.
How should you complete the JSON code segment? To answer, drag the appropriate JSON segments to the correct locations. Each JSON 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:

Solution: You use Azure Search.Does the solution meet t…

You are developing an application that will run as an Azure API App. The application tracks flights between airports, including duration of flight, if the flight was on time, the capacity of the airplane, and the number of seats sold. Queries can be performed to show multiple routes, multi-leg journeys, and filtering based on the attributes of the flight.
Flight information will be used by customers to perform data mining, drive interactive display, perform airspace tracking, and other applications.
Customers require that the response time of the API be as low as possible, both for retrieving information for a single flight, and for queries across flights. To achieve the required level of performance, each API invocation must be satisfied by a single operation against the data store containing flight information.
You need to implement the data store for this application.
Solution: You use Azure Search.Does the solution meet the goal?

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:


Page 505 of 1,478« First...102030...503504505506507...510520530...Last »