You can use as much exam time as you would like to complete…..

Case Study: this is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam.

You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study.

Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study to display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions.

Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background
you are a developer for Fabrikam, a company that specializes in payment processing. Fabrikam is developing a solution to process payments for various events, such as music concerts. You develop an ASP.NET MVC website that is hosted in Azure to support an upcoming music concert. The music concert is expected to generate a large volume of ticket sales in a short amount of time.

The website uploads information to an Azure storage queue. A worker role in Azure retrieves information from the queue and generates the concert tickets in a PDF file format after the financial transaction is approved.

You observe a delay between the time the website adds a message to a queue and the time it becomes available to read from the queue. After examining the queue, you determine that no queue messages have a Dequeue Count value greater than zero. The website does not throw any errors.

Business Requirements Payments: the music concert website must be able to submit event payment information for processing. The website must remain responsive while submitting payment information. Customers must be able to add notes about their orders to a free-form control on the website. These notes must be submitted with the payment when the customer submits an order. Customers often enter notes that exceed 7 KB in size.

Technical Requirements Payment Submission and Processing:Event payment information must be sent from the website to a Windows Communication Foundation (WCF)service worker role. The worker role must submit the information to the payment processor in JSON format.

Payment processing :you have the following payment processing requirements: If the number of messages in a queue goes above or below a specified threshold, worker role instances must be created or deleted as needed. This process must be completed by using the least amount of effort. It must be easy to reconfigure role instance thresholds.Payments must be retrieved from the queue in the maximum batch sizes that are allowed by the queue and pulled from the queue for 5 minutes.

The payment queue must not be re-created when processing payments.During single Payment processing, the number of tickets available for an event must be updated. The update operation must be retried for 30 seconds or 5 retry attempts, whichever occurs first. Each retry should pause for at least two seconds and for one second longer than the previous attempt. If the update fails, the payment should be placed in the poison queue.

Storage: you have the following storage requirements: Payment information must be stored by using Azure Queue storage. Connection to the Azure storage account has been established in a configured setting named StorageConnectionString, which is configured for the web and worker roles.

A payment processing queue and a poison payment queue must be used when processing payments. Azure Queue message content must be XML-safe and UTF-8 encoded.An Azure storage account must be established for diagnostic information in a configured setting named DiagnosticsStorageConnectionString, which is configured for both the web and worker roles.

Security and Monitoring:
Security :
The web role must be secured by using HTTPS.
Monitoring:
you must collect diagnostic data for both the web and worker roles by using the Diagnostics module.

Diagnostics configuration changes must not require the code of the roles to be rebuilt. The diagnostic data is used for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.Performance testing must evaluate the roles under normal and stress conditions without incurring changes for running Azure. Memory allocation, function time, and multithreading concurrency issues must be evaluated.

Deployment: you purchase a custom domain name fabrikamfunding.com to host the website, web role, and worker roles.

You must deploy an HTTPS certificate with the web role, and you must update associated configuration files accordingly.

Web role and worker role instance sizes must be specified as Medium. You must deploy one web role instance named Fabrikam Funding Payment Generator, and worker role instances named Fabrikam Funding Payment Processor.

Application Structure: Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to while they belong.


You need to implement the SendMessagesAsync method on the QueueManager class.How should you complete the relevant code? To answer, select the appropriate code segment from each list in the answer area.

Continue reading “You can use as much exam time as you would like to complete…..”

You can use as much exam time as you would like to complete……

Case Study: this is a case study. Case studies are not timed separately. You can use as much exam time as you would liketo complete each case. However, there may be additional case studies and sections on this exam.

You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.To answer the questions included in a case study, you will need to reference information that is provided in the case study.

Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.To start the case study to display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements.

If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background:
you are a developer for Fabrikam, a company that specializes in payment processing. Fabrikam is developinga solution to process payments for various events, such as music concerts. You develop an ASP.NET MVC website that is hosted in Azure to support an upcoming music concert. The music concert is expected to generate a large volume of ticket sales in a short amount of time.

The website uploads information to an Azure storage queue. A worker role in Azure retrieves information from the queue and generates the concert tickets in a PDF file format after the financial transaction is approved.

You observe a delay between the time the website adds a message to a queue and the time it becomes available to read from the queue. After examining the queue, you determine that no queue messages have a Dequeue Count value greater than zero. The website does not throw any errors.

Business Requirements Payments
:the music concert website must be able to submit event payment information for processing. The website must remain responsive while submitting payment information. Customers must be able to add notes about their orders to a free-form control on the website. These notes must be submitted with the payment when the customer submits an order. Customers often enter notes that exceed 7 KB in size.

Technical RequirementsPayment Submission and Processing
:Event payment information must be sent from the website to a Windows Communication Foundation (WCF)service worker role. The worker role must submit the information to the payment processor in JSON format.

Payment Processing: You have the following payment processing requirements:If the number of messages in a queue goes above or below a specified threshold, worker role instances must be created or deleted as needed. This process must be completed by using the least amount of effort. It must be easy to reconfigure role instance thresholds.
Payments must be retrieved from the queue in the maximum batch sizes that are allowed by the queue andpulled from the queue for 5 minutes.
The payment queue must not be re-created when processing payments.During single Payment processing, the number of tickets available for an event must be updated. The update operation must be retried for 30 seconds or 5 retry attempts, whichever occurs first. Each retry should pause for at least two seconds and for one second longer than the previous attempt. If the updatefails, the payment should be placed in the poison queue.

Storage you have the following storage requirements: Payment information must be stored by using Azure Queue storage. Connection to the Azure storage account has been established in a configured setting named Storage ConnectionString, which is configured for the web and worker roles.

A payment processing queue and a poison payment queue must be used when processing payments. Azure Queue message content must be XML-safe and UTF-8 encoded.An Azure storage account must be established for diagnostic information in a configured setting named Diagnostics Storage ConnectionString, which is configured for both the web and worker roles.
Security and Monitoring Security :The web role must be secured by using HTTPS. Monitoring you must collect diagnostic data for both the web and worker roles by using the Diagnostics module.

Diagnostics configuration changes must not require the code of the roles to be rebuilt. The diagnostic data is used for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing. Performance testing must evaluate the roles under normal and stress conditions without incurring changes for running Azure. Memory allocation, function time, and multithreading concurrency issues must be evaluated.

Deployment :you purchase a custom domain name fabrikamfunding.com to host the website, web role, and worker roles.
You must deploy an HTTPS certificate with the web role, and you must update associated configuration files accordingly.
Web role and worker role instance sizes must be specified as Medium. You must deploy one web role instance named FabrikamFundingPaymentGenerator, and worker role instances named FabrikamFundingPaymentProcessor.
Application Structure: Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to while they belong.



The SendMessage Async method of the QueueManager class occasionally throws errors.You need to correct the errors.What should you do?
A. Update the Queue Manager to use the Put Message operation of the Queue Service REST API. Use HTTP compression for all calls made to the REST API.
B. Update the QueueManager to call the CloudQueueClient. SetServicePropertiesAsync method by using a configured Service Properties object.
C. Update the notes field to a byte array. Binary encode and decode the notes content when sending or receiving an EventPayment class.
D. Update the SendMessageAsync method of the QueueManager class to store the notes field in BLOB storage. Update the EventPayment class to store the BLOB uniform resource identifier (URI). Extract the notes BLOB information by using the BLOB URI in the ProcessMessagesAsync method of the QueueManager class.
Continue reading “You can use as much exam time as you would like to complete……”

You can use as much exam time as you would liketo complete ….

Case Study: this is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam.
You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study.

Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study to display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions.

Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background: you are a developer for Fabrikam, a company that specializes in payment processing. Fabrikam is developing a solution to process payments for various events, such as music concerts.
You develop an ASP.NET MVC website that is hosted in Azure to support an upcoming music concert. The music concert is expected to generate a large volume of ticket sales in a short amount of time.

The website uploads information to an Azure storage queue. A worker role in Azure retrieves information from the queue and generates the concert tickets in a PDF file format after the financial transaction is approved.
You observe a delay between the time the website adds a message to a queue and the time it becomes available to read from the queue. After examining the queue, you determine that no queue messages have a Dequeue Count value greater than zero. The website does not throw any errors.

Business Requirements Payments: the music concert website must be able to submit event payment information for processing. The website must remain responsive while submitting payment information. Customers must be able to add notes about their orders to a free-form control on the website. These notes must be submitted with the payment when the customer submits an order. Customers often enter notes that exceed 7 KB in size.

Technical Requirements: Payment Submission and Processing Event payment information must be sent from the website to a Windows Communication Foundation (WCF)service worker role. The worker role must submit the information to the payment processor in JSON format.Payment Processing You have the following payment processing requirements:If the number of messages in a queue goes above or below a specified threshold, worker role instances must be created or deleted as needed. This process must be completed by using the least amount of effort.
It must be easy to reconfigure role instance thresholds.
Payments must be retrieved from the queue in the maximum batch sizes that are allowed by the queue and pulled from the queue for 5 minutes.The payment queue must not be re-created when processing payments.
During single Payment processing, the number of tickets available for an event must be updated. The update operation must be retried for 30 seconds or 5 retry attempts, whichever occurs first. Each retry should pause for at least two seconds and for one second longer than the previous attempt. If the update fails, the payment should be placed in the poison queue.

Storage :you have the following storage requirements: Payment information must be stored by using Azure Queue storage. Connection to the Azure storage account has been established in a configured setting named Storage ConnectionString, which is configured for the web and worker roles.
A payment processing queue and a poison payment queue must be used when processing payments.

Azure Queue message content must be XML-safe and UTF-8 encoded.An Azure storage account must be established for diagnostic information in a configured setting namedDiagnosticsStorageConnectionString, which is configured for both the web and worker roles.

Security and Monitoring Security :The web role must be secured by using HTTPS. Monitoring you must collect diagnostic data for both the web and worker roles by using the Diagnostics module.Diagnostics configuration changes must not require the code of the roles to be rebuilt. The diagnostic data is used for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.

Performance testing must evaluate the roles under normal and stress conditions without incurring changes forrunning Azure. Memory allocation, function time, and multithreading concurrency issues must be evaluated. Deployment: you purchase a custom domain name fabrikamfunding.com to host the website, web role, and worker roles.

You must deploy an HTTPS certificate with the web role, and you must update associated configuration files accordingly.
Web role and worker role instance sizes must be specified as Medium. You must deploy one web role instance named FabrikamFundingPaymentGenerator, and worker role instances namedFabrikamFundingPaymentProcessor.
Application Structure :Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to while they belong.



You need to implement the ProcessPaymentAsync method in the QueueManager class. Develop the solution by selecting and arranging the required code blocks in the correct order.NOTE: You will not need all of the code segments.

Continue reading “You can use as much exam time as you would liketo complete ….”

You deploy a cloud service that reads and processes orders……

You deploy a cloud service that reads and processes orders from a queue by using a worker role.
The serviceincludes a C# class named Order Processor.Your organization is moving all Azure resources to use Azure Resource Manager (ARM) templates. You mustmigrate the code to Service Fabric. You establish a new Service Fabric cluster to deploy the updated code.

You migrate all settings from the ServiceConfiguration.cscfg to a new Settings.xml file that each Service Fabricinstance will use. You need to update the code for the Order Processor class. How should you complete the code segment? To answer, select the appropriate options in the answer area.
Continue reading “You deploy a cloud service that reads and processes orders……”

You can use as much exam time as you would like to complete……

Case Study:this is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam.
You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study to display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background: you are a developer for LitWare, Inc., a game development company. You are developing a backend service for an online social gaming platform named GamerData. The game is built around point generators, which are associated with physical landmarks. Players claim point generators which give them a set amount of points per day.

Business Requirements: Mobile App The game itself runs on various mobile devices and is developed by Tailspin Toys, a company that specializes in mobile game development. The mobile app will periodically make calls to the GamerData service to find the five closest point generators that are located less than the specified distance from the player’s current location.
If no point generators are found, the search distance increases until one is found.The mobile app shows all the point generators owned by each player. The mobile app allows for each player to search for claimed point generators by player name. This search does not require exact spelling of names.

The details for each claimed generator is shown in the app.When a player claims a point generator, they should receive an email notification. An Azure Function named Email Player has been developed to email players with details about recently claimed point generators.

Sponsors: the platform allows business to sponsor point generators within a business location.

Reports: A report named Daily Sponsor Report must be generated each day at midnight. The report must contain a section for each sponsor. Each sponsor section must contain two subsections.
The first subsection of the report contains the names of the point generators for that sponsor, ordered by the last time the point generator was claimed. The second subsection contains the current owners for each of the point generators for the sponsor. Generation of reports must not impact the GamerData service.

Technical Requirements: GamerData Service All data for the GamerData service is stored in an Azure DocumentDB instance named GamerData. Business and players interact with the service by using a REST API.

The REST API must:Produce valid Swagger API specifications for non-obsolete actions.Be optimized for loading specific point generators.Follow REST best practices.Include appropriate terms of service.Costs for all Azure services must be minimized.Build and Deployment.The GamerData service will be deployed to Azure in a private VNet.Security

Sponsors have accounts in an Azure Active Directory (Azure AD) with business-to-consumer (B2C) enabled named litwaregamerdata.onmicrosoft.com managed by Litware, Inc. for both GamerData and LitWare, Inc.services.Only Litware, Inc. developers and automated testing tools should be able to directly access the GamerDataservice. All other use of the service must be through Azure API Management. A description of the security practices used during development, available on Microsoft SharePoint, must be available to users of the API under the terms of service.

Reporting Azure Search will be used as the source for running reports. The properties of indexes in Azure Search must match the names of the properties in DocumentDB.

Performance: The Azure DocumentDB must not be used for reporting purposes. All services must perform queries in the data store when possible.

Application StructureStartup.cs: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.)

PointController.cs
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.)

PointGenerator.cs
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.)

You need to write a method to return the email address for a given sponsor.What should you do? 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.

Continue reading “You can use as much exam time as you would like to complete……”

You can use as much exam time as you would like to complete…

Case Study: This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam.

You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.To answer the questions included in a case study, you will need to reference information that is provided in the case study.

Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study to display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Background: You are a developer for LitWare, Inc., a game development company. You are developing a backend service for an online social gaming platform named GamerData. The game is built around point generators, which are associated with physical landmarks. Players claim point generators which give them a set amount of points per day.

Business Requirements Mobile App The game itself runs on various mobile devices and is developed by Tailspin Toys, a company that specializes in mobile game development.

The mobile app will periodically make calls to the GamerData service to find the five closest point generators that are located less than the specified distance from the player’s current location. If no point generators are found, the search distance increases until one is found.

The mobile app shows all the point generators owned by each player. The mobile app allows for each player to search for claimed point generators by player name. This search does not require exact spelling of names. The details for each claimed generator is shown in the app.

When a player claims a point generator, they should receive an email notification. An Azure Function named Email Player has been developed to email players with details about recently claimed point generators.

Sponsors: The platform allows business to sponsor point generators within a business location.

Reports: A report named Daily Sponsor Report must be generated each day at midnight. The report must contain a section for each sponsor. Each sponsor section must contain two subsections.
The first subsection of the report contains the names of the point generators for that sponsor, ordered by the last time the point generator was claimed.

The second subsection contains the current owners for each of the point generators for the sponsor. Generation of reports must not impact the GamerData service.

Technical Requirements Gamer Data Service All data for the Gamer Data service is stored in an Azure DocumentDB instance named Gamer Data. Business and players interact with the service by using a REST API.

The REST API must: Produce valid Swagger API specifications for non-obsolete actions.Be optimized for loading specific point generators.Follow REST best practices.Include appropriate terms of service.Costs for all Azure services must be minimized.

Build and Deployment:The GamerData service will be deployed to Azure in a private VNet.Security
Sponsors have accounts in an Azure Active Directory (Azure AD) with business-to-consumer (B2C) enabled named litwaregamerdata.onmicrosoft.com managed by Litware, Inc. for both GamerData and LitWare, Inc.services.

Only Litware, Inc. developers and automated testing tools should be able to directly access the GamerDataservice. All other use of the service must be through Azure API Management. A description of the security practices used during development, available on Microsoft SharePoint, must be available to users of the API under the terms of service.

Reporting Azure Search will be used as the source for running reports. The properties of indexes in Azure Search must match the names of the properties in DocumentDB.
Performance The Azure DocumentDB must not be used for reporting purposes. All services must perform queries in the data store when possible.

Application StructureStartup.cs: 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.)

PointController.cs
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.)

PointGenerator.cs
Relevant portions of the app files are shown below. (Line numbers in the code segments are included forreference only and include a two-character prefix that denotes the specific file to which they belong.)

You need to trigger the EmailPlayer Azure Function when a point generator is claimed.What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
A. Insert code after line PC35 to create a Queue trigger and send a queue message.
B. Create a trigger based on the primary data store.
C. Create a trigger based on the reporting data store.
D. Insert code after line PC14 to create a Service Bus trigger and send a message.
Continue reading “You can use as much exam time as you would like to complete…”

You need to implement the Start Notify method in MainPage.xaml.cs…..

You need to implement the Start Notify method in MainPage.xaml.cs to enable the receiving of notifications.How should you complete the code? To answer, drag the appropriate code segments to the correct locations.
Each code segment may be used once, more than once, or not at all. You may need to drag the split barbetween panes or scroll to view content.
NOTE: Each correct selection is worth point.

Continue reading “You need to implement the Start Notify method in MainPage.xaml.cs…..”

You are developing an Azure-hosted application that processes…..

– You are developing an Azure-hosted application that processes request messages for multiple office locations.
– You create an Azure Service Bus topic named Requests. The topic has a maximum size of 5 gigabytes (GB)and a default message time to live (TTL) of 5 minutes. You also create subscriptions named Priority Requestand Standard Request and include appropriate logic to route the messages.
– Users report that the application has not processed messages from Priority Request in several days.
– You need to retrieve the number of messages in the Priority Request subscription.
Which metric should you use?
A. Subscription Length
B. Subscription Incoming Requests
C. Topic Incoming Messages
D. Topic Size
Continue reading “You are developing an Azure-hosted application that processes…..”