(AZ-204) A good deck ~ Flashcards

1
Q

<p>You are developing an application that applies a set of governance policies for internal and external services, as well as for applications.<br></br>You develop a stateful ASP.NET Core 2.1 web application named PolicyApp and deploy it to an Azure App Service Web App. The PolicyApp reacts to events from Azure Event Grid and performs policy actions based on those events.<br></br>You have the following requirements:<br></br>Authentication events must be used to monitor users when they sign in and sign out.<br></br>All authentication events must be processed by PolicyApp.<br></br>Sign outs must be processed as fast as possible.<br></br>What should you do?<br></br><br></br>A. Create a new Azure Event Grid subscription for all authentication events. Use the subscription to process sign-out events.<br></br><br></br>B. Create a separate Azure Event Grid handler for sign-in and sign-out events.<br></br><br></br>C. Create separate Azure Event Grid topics and subscriptions for sign-in and sign-out events.<br></br><br></br>D. Add a subject prefix to sign-out events. Create an Azure Event Grid subscription. Configure the subscription to use the subjectBeginsWith filter.</p>

A

<p>D. Add a subject prefix to sign-out events. Create an Azure Event Grid subscription. Configure the subscription to use the subjectBeginsWith filter.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

<p>You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers.<br></br>You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation venues.<br></br>You want the application to list holiday accommodation venues that fall within a specific price range and are within a specified distance to an airport.<br></br>What should you do?<br></br><br></br>A. Configure the SearchMode property of the SearchParameters class.<br></br><br></br>B. Configure the QueryType property of the SearchParameters class.<br></br><br></br>C. Configure the Facets property of the SearchParameters class.<br></br><br></br>D. Configure the Filter property of the SearchParameters class.</p>

A

<p>D. Configure the Filter property of the SearchParameters class.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are developing a solution for a public facing API.<br></br>The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.<br></br>You must configure back-end authentication for the API Management service instance.<br></br>Solution: You configure Client cert gateway credentials for the Azure resource.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are developing a solution for a public facing API.<br></br>The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.<br></br>You must configure back-end authentication for the API Management service instance.<br></br>Solution: You configure Basic gateway credentials for the HTTP(s) endpoint.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are developing a solution for a public facing API.<br></br>The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.<br></br>You must configure back-end authentication for the API Management service instance.<br></br>Solution: You configure Client cert gateway credentials for the HTTP(s) endpoint.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are developing a solution for a public facing API.<br></br>The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.<br></br>You must configure back-end authentication for the API Management service instance.<br></br>Solution: You configure Basic gateway credentials for the Azure resource.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

<p>You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers.<br></br>You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation.<br></br>You want the application to allow customers to search the index by using regular expressions.<br></br>What should you do?<br></br>A. Configure the SearchMode property of the SearchParameters class.<br></br>B. Configure the QueryType property of the SearchParameters class.<br></br>C. Configure the Facets property of the SearchParameters class.<br></br>D. Configure the Filter property of the SearchParameters class.</p>

A

<p>B. Configure the QueryType property of the SearchParameters class.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

<p>Your companyג€™s Azure subscription includes an Azure Log Analytics workspace.<br></br>Your company has a hundred on-premises servers that run either Windows Server 2012 R2 or Windows Server 2016, and is linked to the Azure Log Analytics workspace. The Azure Log Analytics workspace is set up to gather performance counters associated with security from these linked servers.<br></br>You must configure alerts based on the information gathered by the Azure Log Analytics workspace.<br></br>You have to make sure that alert rules allow for dimensions, and that alert creation time should be kept to a minimum. Furthermore, a single alert notification must be created when the alert is created and when the alert is resolved.<br></br>You need to make use of the necessary signal type when creating the alert rules.<br></br>Which of the following is the option you should use?<br></br>A. The Activity log signal type.<br></br>B. The Application Log signal type.<br></br>C. The Metric signal type.<br></br>D. The Audit Log signal type.</p>

A

<p>C. The Metric signal type.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

<p>You develop a Web App on a tier D1 app service plan.<br></br>You notice that page load times increase during periods of peak traffic.<br></br>You want to implement automatic scaling when CPU load is above 80 percent. Your solution must minimize costs.<br></br>What should you do first?<br></br>A. Enable autoscaling on the Web App.<br></br>B. Switch to the Premium App Service tier plan.<br></br>C. Switch to the Standard App Service tier plan.<br></br>D. Switch to the Azure App Services consumption plan.</p>

A

<p>C. Switch to the Standard App Service tier plan.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are configuring a web app that delivers streaming video to users. The application makes use of continuous integration and deployment.<br></br>You need to ensure that the application is highly available and that the usersג€™ streaming experience is constant. You also want to configure the application to store data in a geographic location that is nearest to the user.<br></br>Solution: You include the use of a Storage Area Network (SAN) in your design.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are configuring a web app that delivers streaming video to users. The application makes use of continuous integration and deployment.<br></br>You need to ensure that the application is highly available and that the usersג€™ streaming experience is constant. You also want to configure the application to store data in a geographic location that is nearest to the user.<br></br>Solution: You include the use of an Azure Content Delivery Network (CDN) in your design.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

<p>Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.<br></br>You are configuring a web app that delivers streaming video to users. The application makes use of continuous integration and deployment.<br></br>You need to ensure that the application is highly available and that the usersג€™ streaming experience is constant. You also want to configure the application to store data in a geographic location that is nearest to the user.<br></br>Solution: You include the use of Azure Redis Cache in your design.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

<p>You are developing an application to transfer data between on-premises file servers and Azure Blob storage. The application stores keys, secrets, and certificates in Azure Key Vault and makes use of the Azure Key Vault APIs.<br></br>You want to configure the application to allow recovery of an accidental deletion of the key vault or key vault objects for 90 days after deletion.<br></br>What should you do?<br></br>A. Run the Add-AzKeyVaultKey cmdlet.<br></br>B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.<br></br>C. Implement virtual network service endpoints for Azure Key Vault.<br></br>D. Run the az keyvault update --enable-soft-delete false CLI.</p>

A

<p>B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

<p>You manage an Azure SQL database that allows for Azure AD authentication.<br></br>You need to make sure that database developers can connect to the SQL database via Microsoft SQL Server Management Studio (SSMS). You also need to make sure the developers use their on-premises Active Directory account for authentication. Your strategy should allow for authentication prompts to be kept to a minimum.<br></br>Which of the following should you implement?<br></br>A. Azure AD token.<br></br>B. Azure Multi-Factor authentication.<br></br>C. Active Directory integrated authentication.<br></br>D. OATH software tokens.</p>

A

<p>C. Active Directory integrated authentication.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

<p>Your company has an Azure Active Directory (Azure AD) environment. Users occasionally connect to Azure AD via the Internet.<br></br>You need to ensure that users who connect to Azure AD via the internet using an unidentified IP address, are automatically instructed to change their passwords.<br></br>Solution: You configure the use of Azure AD Privileged Identity Management.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

<p>Your company has an Azure Active Directory (Azure AD) environment. Users occasionally connect to Azure AD via the Internet.<br></br>You need to ensure that users who connect to Azure AD via the internet using an unidentified IP address, are automatically instructed to change their passwords.<br></br>Solution: You configure the use of Azure AD Identity Protection.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

<p>Your company has an Azure Active Directory (Azure AD) environment. Users occasionally connect to Azure AD via the Internet.<br></br>You need to ensure that users who connect to Azure AD via the internet using an unidentified IP address, are automatically instructed to change their passwords.<br></br>Solution: You configure the use of Azure Key Vault.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

<p>You are creating an Azure key vault using PowerShell. Objects deleted from the key vault must be kept for a set period of 90 days.<br></br>Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)<br></br>A. EnabledForDeployment<br></br>B. EnablePurgeProtection<br></br>C. EnabledForTemplateDeployment<br></br>D. EnableSoftDelete</p>

A

<p>B. EnablePurgeProtection<br></br>D. EnableSoftDelete</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

<p>This question requires that you evaluate the underlined text to determine if it is correct.<br></br>Your Azure Active Directory Azure (Azure AD) tenant has an Azure subscription linked to it.<br></br>Your developer has created a mobile application that obtains Azure AD access tokens using the OAuth 2 implicit grant type.<br></br>The mobile application must be registered in Azure AD.<br></br>You require a redirect URI from the developer for registration purposes.<br></br>Instructions: Review the underlined text. If it makes the statement correct, select ג€No change is needed.ג€ If the statement is incorrect, select the answer choice that makes the statement correct.<br></br>A. No change required.<br></br>B. a secret<br></br>C. a login hint<br></br>D. a client ID</p>

A

<p>A. No change required.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

<p>You are developing a web app that uses Azure Active Directory (Azure AD) for authentication.<br></br>You want to configure the web app to use multifactor authentication.<br></br>What should you do?<br></br>A. Enable mobile app authentication.<br></br>B. In Azure AD conditional access, enable the baseline policy.<br></br>C. In Azure AD, create a conditional access policy.<br></br>D. Install the Azure Multi-Factor Authentication Server.</p>

A

<p>C. In Azure AD, create a conditional access policy.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

<p>You are developing an e-Commerce Web App.<br></br>You want to use Azure Key Vault to ensure that sign-ins to the e-Commerce Web App are secured by using Azure App Service authentication and Azure Active<br></br>Directory (AAD).<br></br>What should you do on the e-Commerce Web App?<br></br>A. Run the az keyvault secret command.<br></br>B. Enable Azure AD Connect.<br></br>C. Enable Managed Service Identity (MSI).<br></br>D. Create an Azure AD service principal.</p>

A

<p>C. Enable Managed Service Identity (MSI).</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

<p>You are developing a mobile app that uses an Azure SQL Database named Weyland.<br></br>The database contains a table names Customers that has a field named email_address.<br></br>You want to implement dynamic data masking to hide the data in the email_address field.<br></br>Solution: You run the Set-AzSqlDatabaseDataMaskingRule<br></br>-DatabaseName "Weyland" -SchemaName "dbo"<br></br>-TableName "Customers" -ColumnName "email_address"<br></br>-MaskingFunction "email" Powershell cmdlet<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

<p>You are developing a mobile app that uses an Azure SQL Database named Weyland.<br></br>The database contains a table names Customers that has a field named email_address.<br></br>You want to implement dynamic data masking to hide the data in the email_address field.<br></br>Solution: You run the Set-AzSqlDatabaseDataMaskingPolicy -DatabaseName "Weyland" Powershell cmdlet<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

<p>You are developing a mobile app that uses an Azure SQL Database named Weyland.<br></br>The database contains a table names Customers that has a field named email_address.<br></br>You want to implement dynamic data masking to hide the data in the email_address field.<br></br>Solution: You run the follows transact-SQL statement:<br></br>ALTER TABLE [dbo].[Weyland].[Customers]<br></br>ALTER COLUMN [email_address]<br></br>ADD MASKED WITH (FUNCTION = 'email()')<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

<p>You are developing an application that processes Azure Blob storage events.<br></br>Your application has the following requirements:<br></br>Process transaction logs asynchronously for changes that occur to the blobs and the blob metadata.<br></br>Process changes in the order in which they occurred.<br></br>Retain changes for compliance reasons.<br></br>Solution: You use Azure Monitor HTTP Data Collector API.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

<p>You are developing an application that processes Azure Blob storage events.<br></br>Your application has the following requirements:<br></br>Process transaction logs asynchronously for changes that occur to the blobs and the blob metadata.<br></br>Process changes in the order in which they occurred.<br></br>Retain changes for compliance reasons.<br></br>Solution: You use Azure Event Grid with a subscriber Azure Function app.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

<p>This question requires that you evaluate the underlined text to determine if it is correct.<br></br>You company has an on-premises deployment of MongoDB, and an Azure Cosmos DB account that makes use of the MongoDB API.<br></br>You need to devise a strategy to migrate MongoDB to the Azure Cosmos DB account.<br></br>You include the Data Management Gateway tool in your migration strategy.<br></br>Instructions: Review the underlined text. If it makes the statement correct, select ג€No change required.ג€ If the statement is incorrect, select the answer choice that makes the statement correct.<br></br>A. No change required<br></br>B. mongorestore<br></br>C. Azure Storage Explorer<br></br>D. AzCopy</p>

A

<p>B. mongorestore</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

<p>You are designing an Azure WebJob that will run on the same instances as a web app.<br></br>You want to make use of a suitable WebJob type. The webjob type should also allow for the option to restrict the WebJob to a single instance.<br></br>Solution: You configure the use of the Continuous WebJob type.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

<p>You are designing an Azure WebJob that will run on the same instances as a web app.<br></br>You want to make use of a suitable WebJob type. The webjob type should also allow for the option to restrict the WebJob to a single instance.<br></br>Solution: You configure the use of the Triggered WebJob type.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

<p>Your company has an Azure subscription.<br></br>You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.<br></br>You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.<br></br>Which of the following is the value that you should configure for the platformUpdateDomainCount property?<br></br>A. 10<br></br>B. 20<br></br>C. 30<br></br>D. 40</p>

A

<p>D. 40</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

<p>Your company has an Azure subscription.<br></br>You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.<br></br>You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.<br></br>Which of the following is the value that you should configure for the platformFaultDomainCount property?<br></br> A. 10<br></br> B. 30<br></br> C. Min Value<br></br> D. Max Value</p>

A

<p>D. Max Value</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

<p>Your company has a web app named WebApp1.<br></br>You use the WebJobs SDK to design a triggered App Service background task that automatically invokes a function in the code every time new data is received in a queue.<br></br>You are preparing to configure the service processes a queue data item.<br></br>Which of the following is the service you should use?<br></br>A. Logic Apps<br></br>B. WebJobs<br></br>C. Flow<br></br>D. Functions</p>

A

<p>B. WebJobs</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

<p>You are developing a web app named mywebapp1. Mywebapp1 uses the address myapp1.azurewebsites.net. You protect mywebapp1 by implementing an Azure Web Application Firewall (WAF). The traffic to mywebapp1 is routed through an Azure Application Gateway instance that is also used by other web apps.<br></br>You want to secure all traffic to mywebapp1 by using SSL.<br></br>Solution: You open the Azure Application Gatewayג€™s HTTP setting and set the Override backend path option to mywebapp1.azurewebsites.net. You then add an authentication certificate for mywebapp1.azurewebsites.net.<br></br>Does this meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

<p>You are developing a web app named mywebapp1. Mywebapp1 uses the address myapp1.azurewebsites.net. You protect mywebapp1 by implementing an Azure<br></br>Web Application Firewall (WAF). The traffic to mywebapp1 is routed through an Azure Application Gateway instance that is also used by other web apps.<br></br>You want to secure all traffic to mywebapp1 by using SSL.<br></br>Solution: You configure mywebapp1 to run in an Azure App service environment (ASE).<br></br>Does this meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

<p>You are developing a web app named mywebapp1. Mywebapp1 uses the address myapp1.azurewebsites.net. You protect mywebapp1 by implementing an Azure<br></br>Web Application Firewall (WAF). The traffic to mywebapp1 is routed through an Azure Application Gateway instance that is also used by other web apps.<br></br>You want to secure all traffic to mywebapp1 by using SSL.<br></br>Solution: You open the Azure Application Gatewayג€™s HTTP setting and set the Override backend path option to mywebapp1.azurewebsites.net. You then enable the Use for App service option.<br></br>Does this meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

<p>Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.<br></br>Developers have created an application named MyApp. MyApp was packaged into a container image.<br></br>You need to deploy the YAML manifest file for the application.<br></br>Solution: You install the docker client on the device and run the docker run -it microsoft/azure-cli:0.10.17 command.<br></br>Does this meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

<p>Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.<br></br>Developers have created an application named MyApp. MyApp was packaged into a container image.<br></br>You need to deploy the YAML manifest file for the application.<br></br>Solution: You install the Azure CLI on the device and run the kubectl apply ג€"f myapp.yaml command.<br></br>Does this meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

<p>You have two Hyper-V hosts named Host1 and Host2. Host1 has an Azure virtual machine named VM1 that was deployed by using a custom Azure Resource<br></br>Manager template.<br></br>You need to move VM1 to Host2.<br></br>What should you do?<br></br>A. From the Update management blade, click Enable.<br></br>B. From the Overview blade, move VM1 to a different subscription.<br></br>C. From the Redeploy blade, click Redeploy.<br></br>D. From the Profile blade, modify the usage location.</p>

A

<p>C. From the Redeploy blade, click Redeploy.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

<p>Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.<br></br>A fellow administrator named Jon Ross used an Azure Resource Manager template to deploy a virtual machine and an Azure Storage account.<br></br>You need to identify the Azure Resource Manager template the Jon Ross used.<br></br>Solution: You access the Resource Group blade.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

<p>Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.<br></br>A fellow administrator named Jon Ross used an Azure Resource Manager template to deploy a virtual machine and an Azure Storage account.<br></br>You need to identify the Azure Resource Manager template the Jon Ross used.<br></br>Solution: You access the Virtual Machine blade.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

<p>Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.<br></br>A fellow administrator named Jon Ross used an Azure Resource Manager template to deploy a virtual machine and an Azure Storage account.<br></br>You need to identify the Azure Resource Manager template the Jon Ross used.<br></br>Solution: You access the Container blade.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

<p>You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce<br></br>2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.<br></br>You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.<br></br>You need to implement a solution to receive the device data.<br></br>Solution: Provision an Azure Event Hub. Configure the machine identifier as the partition key and enable capture.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>A. Yes</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

<p>You are a developer for a Software as a Service (SaaS) company. You develop solutions that provide the ability to send notifications by using Azure Notification<br></br>Hubs.<br></br>You need to create sample code that customers can use as a reference for how to send raw notifications to Windows Push Notification Services (WNS) devices.<br></br>The sample code must not use external packages.<br></br>How should you complete the code segment? 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 bar between panes or scroll to view content.<br></br>NOTE: Each correct selection is worth one point.<br></br><br></br>Code:<br></br>var endpoint = "..."<br></br>var payload = "..."<br></br>var request = new HttpRequestMessage(HttpMethod.Post, endpoint);<br></br>request.Headers.Add("X-WNS-Type", "wns/raw");<br></br>request.Headers.Add("ServiceBusNotification-Format", "\_\_\_\_\_\_\_\_\_\_\_");<br></br><br></br>request.Content = new StringContent(payload, Encoding.UTF8, "\_\_\_\_\_\_\_\_");<br></br>var client = new HttpClient();<br></br>await client.SendAsync(request);<br></br><br></br>Code segments:<br></br>raw<br></br>windows<br></br>windowsphone<br></br>application/xml<br></br>application/json<br></br>application/octet-stream</p>

A

<p>var endpoint = "..."<br></br>var payload = "..."<br></br>var request = new HttpRequestMessage(HttpMethod.Post, endpoint);<br></br>request.Headers.Add("X-WNS-Type", "wns/raw");<br></br>request.Headers.Add("ServiceBusNotification-Format", "windows");<br></br><br></br>request.Content = new StringContent(payload, Encoding.UTF8, "application/octet-stream");<br></br>var client = new HttpClient();<br></br>await client.SendAsync(request);</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

<p>You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.<br></br>You have the following requirements:<br></br>✑ Queue size must not grow larger than 80 gigabytes (GB).<br></br>✑ Use first-in-first-out (FIFO) ordering of messages.<br></br>✑ Minimize Azure costs.<br></br>You need to implement the messaging solution.<br></br>Solution: Use the .Net API to add a message to an Azure Service Bus Queue from the mobile application. Create an Azure Windows VM that is triggered from<br></br>Azure Service Bus Queue.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B: No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

<p>You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.<br></br>You have the following requirements:<br></br>✑ Queue size must not grow larger than 80 gigabytes (GB).<br></br>✑ Use first-in-first-out (FIFO) ordering of messages.<br></br>✑ Minimize Azure costs.<br></br>You need to implement the messaging solution.<br></br>Solution: Use the .Net API to add a message to an Azure Storage Queue from the mobile application. Create an Azure VM that is triggered from Azure Storage<br></br>Queue events.<br></br>Does the solution meet the goal?<br></br>A. Yes<br></br>B. No</p>

A

<p>B: No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

<p>A company is implementing a publish-subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.<br></br>In the Azure portal you see that messages are being sent to the subscription for each topic. You create and initialize a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages.<br></br>You need to ensure that the subscription client processes all messages.<br></br>Which code segment should you use?<br></br>A. await subscriptionClient.AddRuleAsync(new RuleDescription(RuleDescription.DefaultRuleName, new TrueFilter()));<br></br>B. subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName, SubscriptionName);<br></br>C. await subscriptionClient.CloseAsync();<br></br>D. subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);</p>

A

<p>D. subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

<p>You are developing a solution that will use Azure messaging services.<br></br>You need to ensure that the solution uses a publish-subscribe model and eliminates the need for constant polling.<br></br>What are two possible ways to achieve the goal? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br>A. Service Bus<br></br>B. Event Hub<br></br>C. Event Grid<br></br>D. Queue</p>

A

<p>A. Service Bus<br></br>C. Event Grid</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

<p>You are working for Contoso, Ltd.<br></br>You define an API Policy object by using the following XML markup:</p>

<p>(see image)</p>

<p>The XML segment belongs in the section of the policy. Yes or no.</p>

<p>If the body size is >256k, an error will occur. Yes or no.</p>

<p>If the request is http://contoso.com/api/9.2/, the policy will retain the higher version. Yes or no.</p>

A

<p>The XML segment belongs in the section of the policy. Yes.</p>

<p>If the body size is >256k, an error will occur. No.</p>

<p>If the request is http://contoso.com/api/9.2/, the policy will retain the higher version. No.</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

<p>You are creating an app that uses Event Grid to connect with other services. Your appג€™s event data will be sent to a serverless function that checks compliance.<br></br>This function is maintained by your company.<br></br>You write a new event subscription at the scope of your resource. The event must be invalidated after a specific period of time.<br></br>You need to configure Event Grid.<br></br>What should you do? To answer, select the appropriate options in the answer area.</p>

<p>Option Value</p>

<p>WebHook event delivery SAS tokens</p>

<p> Key authentication</p>

<p> Management Access Control</p>

<p>Topic publishing ValidationCode handshake</p>

<p> ValidationURL handshake</p>

<p> JWT token</p>

A

<p>WebHook event delivery SAS tokens</p>

<p>Topic publishing ValidationCode handshake</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

<p>You develop a gateway solution for a public facing news API.<br></br>The news API back end is implemented as a RESTful service and hosted in an Azure App Service instance.<br></br>You need to configure back-end authentication for the API Management service instance.<br></br>Which target and gateway credential type should you use? To answer, drag the appropriate values to the correct parameters. Each value 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.<br></br>NOTE: Each correct selection is worth one point.</p>

<p>Values:</p>

<ul> <li>Azure Resource</li> <li>HTTP(s) endpoint</li> <li>Basic</li> <li>Client cert</li></ul>

<p>Configuration parameter:</p>

<p>Target \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_</p>

<p>Gateway credentials \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_</p>

<p><br></br></p>

A

<p>Target Azure Resource</p>

<p>Gateway credentials Client cert</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

<p>You are developing an Azure messaging solution. You need to ensure that the solution meets the following requirements:</p>

<ul> <li>Provide transactional support.</li> <li>Provide duplicate detection</li> <li>Store the messages for an unlimited period of time.</li></ul>

<p>Which two technologies will meet the requirements? Each correct answer presents a complete solution. Note: Each correct selection is worth one point.</p>

<p> A. Azure Service Bus Topic<br></br> B. Azure Service Bus Queue<br></br> C. Azure Storage Queue<br></br> D. Azure Event Hub<br></br></p>

A

<p>A. Azure Service Bus Topic<br></br>B. Azure Service Bus Queue<br></br></p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

<p>You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.<br></br>You have the following requirements:<br></br>✑ Queue size must not grow larger than 80 gigabytes (GB).<br></br>✑ Use first-in-first-out (FIFO) ordering of messages.<br></br>✑ Minimize Azure costs.<br></br>You need to implement the messaging solution.<br></br>Solution: Use the .Net API to add a message to an Azure Storage Queue from the mobile application. Create an Azure Function App that uses an Azure Storage<br></br>Queue trigger.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

<p>A company is developing a solution that allows smart refrigerators to send temperature information to a central location.<br></br>The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.<br></br>You need to complete the configuration.<br></br>Which Azure CLI or PowerShell command should you run?<br></br>A.<em>az group create --name fridge-rg --location fridge-loc</em></p>

<p><br></br>B.<em>New-AzureRmServiceBusNamespace -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Location fridge-loc</em></p>

<p>C.<em>New-AzureRmServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -NAme fridge-q -EnablePartitioning $False</em></p>

<p>D.<em>az servicebus namepsace create --resource-group fridge-rg --name fridge-rg --location fridge-loc</em></p>

<p><br></br></p>

A

<p>C.<em>New-AzureRmServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -NAme fridge-q -EnablePartitioning $False</em></p>

<p>-----------------------------------------------------------------------</p>

<p>A keyword in the question is "central location", this means you want partitioning disabled in your command. -CK</p>

54
Q

<p>You are developing an application that uses Azure Storage Queues.<br></br>You have the following code: (see image)</p>

<p>The code configures the lock duration for the queue. Yes or no.</p>

<p>The last message read remains in the queue after the code runs. Yes or no.</p>

<p>The storage queue remains in the storage account after the code runs. Yes or no.</p>

<p><br></br></p>

A

<p>The code configures the lock duration for the queue. No.</p>

<p>The last message read remains in the queue after the code runs. Yes.</p>

<p>The storage queue remains in the storage account after the code runs. Yes.</p>

55
Q

<p>A company is developing a solution that allows smart refrigerators to send temperature information to a central location.<br></br>The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.<br></br>You need to complete the configuration.<br></br>Which Azure CLI or PowerShell command should you run?</p>

<p><br></br>A.<i></i><em>az servicebus queue create --resource-group fridge-rg --namespace-name fridge-ns --name fridge-q</em></p>

<p>B.<em>New-AzureRmResourceGroup -Name fridge-rg -Location fridge-loc</em></p>

<p><br></br>C.<em>az servicebus namespace create --resource-group fridge-rg --name fridge-ns -location fridge-loc</em></p>

<p><br></br>D.<em>connectionString-$) az serviceBus namespace authorization-rule keys list --resource-group fridge-rg --fridge-ns fridge-ns --query primaryConnectionString -output tsv)</em></p>

<p><br></br></p>

A

<p>A.<i></i><em>az servicebus queue create --resource-group fridge-rg --namespace-name fridge-ns --name fridge-q</em></p>

56
Q

<p>After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.<br></br>You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.<br></br>You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.<br></br>You need to implement a solution to receive the device data.<br></br>Solution: Provision an Azure Event Grid. Configure event filtering to evaluate the device identifier.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

57
Q

<p>After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.<br></br>You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.<br></br>You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.<br></br>You need to implement a solution to receive the device data.<br></br>Solution: Provision an Azure Service Bus. Configure a topic to receive the device data by using a correlation filter.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

58
Q

<p>After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.<br></br>You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.<br></br>You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.<br></br>You need to implement a solution to receive the device data.<br></br>Solution: Provision an Azure Notification Hub. Register all devices with the hub.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

59
Q

<p>You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.<br></br>You have the following requirements:<br></br>✑ Queue size must not grow larger than 80 gigabytes (GB).<br></br>✑ Use first-in-first-out (FIFO) ordering of messages.<br></br>✑ Minimize Azure costs.<br></br>You need to implement the messaging solution.<br></br>Solution: Use the .Net API to add a message to an Azure Service Bus Queue from the mobile application. Create an Azure Function App that uses an Azure<br></br>Service Bus Queue trigger.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes<br></br></p>

60
Q

<p>You are developing an e-commerce solution that uses a microservice architecture.<br></br>You need to design a communication backplane for communicating transactional messages between various parts of the solution. Messages must be communicated in first-in-first-out (FIFO) order.<br></br>What should you use?<br></br> A. Azure Storage Queue<br></br> B. Azure Event Hub<br></br> C. Azure Service Bus<br></br> D. Azure Event Grid<br></br></p>

A

<p> A. Azure Storage Queue</p>

61
Q

<p>You have an application that provides weather forecasting data to external partners. You use Azure API Management to publish APIs.<br></br>You must change the behavior of the API to meet the following requirements:<br></br>✑ Support alternative input parameters<br></br>✑ Remove formatting text from responses<br></br>✑ Provide additional context to back-end services<br></br>Which types of policies should you implement? To answer, drag the policy types to the correct scenarios. Each policy type 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.<br></br>NOTE: Each correct selection is worth one point.</p>

<p>Policy types:</p>

<ul> <li>Inbound</li> <li>Outbound</li> <li>Backend</li></ul>

<p>Rewrite the request URL to match to the format expected by the web service. \_\_\_\_\_\_\_\_\_\_\_</p>

<p>Remove formatting text from responses. \_\_\_\_\_\_\_\_\_\_\_\_\_\_</p>

<p>Forward the user ID that is associated with the subscription key for the original request to the back-end service. \_\_\_\_\_\_\_\_\_\_\_\_\_\_</p>

A

<p>Rewrite the request URL to match to the format expected by the web service. *Inbound*</p>

<p>Remove formatting text from responses. *Outbound*</p>

<p>Forward the user ID that is associated with the subscription key for the original request to the back-end service. *Inbound*</p>

62
Q

<p>You develop an application. You plan to host the application on a set of virtual machines (VMs) in Azure.<br></br>You need to configure Azure Monitor to collect logs from the application.<br></br>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.</p>

<p>Actions:</p>

<ul> <li>Create a Log Analytics workspace</li> <li>Install agents on the VM and VM scale set to be monitored.</li> <li>Send console logs.</li> <li>Add a VMInsights solution</li> <li>Create an Application Insights resource.</li></ul>

A

<ol> <li>Create a Log Analytics workspace</li> <li>Add a VMInsights solution</li> <li>Install agents on the VM and VM scale set to be monitored.</li> <li>Create an Application Insights resource.</li></ol>

<p></p>

<p>Send console logs is not used.</p>

63
Q

<p>You are developing an application to retrieve user profile information. The application will use the Microsoft Graph SDK.<br></br>The app must retrieve user profile information by using a Microsoft Graph API call.<br></br>You need to call the Microsoft Graph API from the application.<br></br>In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.</p>

<p></p>

<ul> <li>Create an authentication provider.</li> <li>Create a new instance of the GraphServiceClient.</li> <li>Invoke the request to the Microsoft Graph API.</li> <li>Register the application with the Microsoft identity platform.</li> <li>Build a client by using the client app ID.</li></ul>

A

<ol> <li>Register the application with the Microsoft identity platform.</li> <li>Build a client by using the client app ID.</li> <li>Create an authentication provider.</li> <li>Create a new instance of the GraphServiceClient.</li> <li>Invoke the request to the Microsoft Graph API.</li></ol>

64
Q

<p>You develop an ASP.NET Core MVC application. You configure the application to track webpages and custom events.<br></br>You need to identify trends in application usage.<br></br>Which Azure Application Insights Usage Analysis features should you use? To answer, drag the appropriate features to the correct requirements. Each feature 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.<br></br>NOTE: Each correct selection is worth one point.</p>

<p></p>

A

<p>see image</p>

65
Q

<p>A company is developing a gaming platform. Users can join teams to play online and see leaderboards that include player statistics. The solution includes an entity named Team.<br></br>You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities that rarely change.<br></br>You need to invalidate the cache when team data is changed.<br></br>How should you complete the code? To answer, select the appropriate options in the answer area.<br></br>NOTE: Each correct selection is worth one point.</p>

<p><br></br></p>

A

<p>see image</p>

66
Q

<p>You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTful service and uses an OpenAPI specification.<br></br>You need to ensure that you can access the news API by using an Azure API Management service instance.<br></br>Which Azure PowerShell command should you run?<br></br> A. Import-AzureRmApiManagementApi -Context $ApiMgmtContext -SpecificationFormat "Swagger" -SpecificationPath $SwaggerPath -Path $Path</p>

<p><br></br> B. New-AzureRmApiManagementBackend -Context $ApiMgmtContext-Url $Url -Protocol http</p>

<p><br></br> C. New-AzureRmApiManagement -ResourceGroupName $ResourceGroup -Name $Name ג€"Location $Location -Organization $Org -AdminEmail $AdminEmail</p>

<p><br></br> D. New-AzureRmApiManagementBackendProxy -Url $ApiUrl<br></br></p>

A

<p> D. New-AzureRmApiManagementBackendProxy -Url $ApiUrl<br></br></p>

67
Q

<p>You are creating a hazard notification system that has a single signaling server which triggers audio and visual alarms to start and stop.<br></br>You implement Azure Service Bus to publish alarms. Each alarm controller uses Azure Service Bus to receive alarm signals as part of a transaction. Alarm events must be recorded for audit purposes. Each transaction record must include information about the alarm type that was activated.<br></br>You need to implement a reply trail auditing solution.<br></br>Which two actions should you perform? Each correct answer resents part of the solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Assign the value of the hazard message SessionID property to the ReplyToSessionId property.</p>

<p><br></br> B. Assign the value of the hazard message MessageId property to the DevileryCount property.</p>

<p><br></br> C. Assign the value of the hazard message SessionID property to the SequenceNumber property.</p>

<p><br></br> D. Assign the value of the hazard message MessageId property to the CorrelationId property.</p>

<p><br></br> E. Assign the value of the hazard message SequenceNumber property to the DeliveryCount property.</p>

<p><br></br> F. Assign the value of the hazard message MessageId property to the SequenceNumber property.<br></br></p>

A

<p> A. Assign the value of the hazard message SessionID property to the ReplyToSessionId property.</p>

<p> D. Assign the value of the hazard message MessageId property to the CorrelationId property.</p>

68
Q

<p>You are developing an Azure function that connects to an Azure SQL Database instance. The function is triggered by an Azure Storage queue.<br></br>You receive reports of numerous System.InvalidOperationExceptions with the following message:<br></br>ג€Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.ג€<br></br>You need to prevent the exception.<br></br>What should you do?<br></br> A. In the host.json file, decrease the value of the batchSize option<br></br> B. Convert the trigger to Azure Event Hub<br></br> C. Convert the Azure Function to the Premium plan<br></br> D. In the function.json file, change the value of the type option to queueScaling<br></br></p>

A

<p> A. In the host.json file, decrease the value of the batchSize option</p>

69
Q

<p>You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save session state information and HTML output.<br></br>You must use a storage mechanism with the following requirements:<br></br>✑ Share session state across all ASP.NET web applications.<br></br>✑ Support controlled, concurrent access to the same session state data for multiple readers and a single writer.<br></br>✑ Save full HTTP responses for concurrent requests.<br></br>You need to store the information.<br></br>Proposed Solution: Deploy and configure Azure Cache for Redis. Update the web applications.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

70
Q

<p>. You develop and deploy an ASP.NET web app to Azure App Service. You use Application Insights telemetry to monitor the app.<br></br>You must test the app to ensure that the app is available and responsive from various points around the world and at regular intervals. If the app is not responding, you must send an alert to support staff.<br></br>You need to configure a test for the web app.<br></br>Which two test types can you use? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. integration<br></br> B. multi-step web<br></br> C. URL ping<br></br> D. unit<br></br> E. load<br></br></p>

A

<p>B. multi-step web<br></br>C. URL ping<br></br></p>

71
Q

<p>You are developing applications for a company. You plan to host the applications on Azure App Services.<br></br>The company has the following requirements:<br></br>✑ Every five minutes verify that the websites are responsive.<br></br>✑ Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly.<br></br>✑ Generate alerts if a website is experiencing issues.<br></br>✑ If a website fails to load, the system must attempt to reload the site three more times.<br></br>You need to implement this process with the least amount of effort.<br></br>What should you do?<br></br> A. Create a Selenium web test and configure it to run from your workstation as a scheduled task.<br></br> B. Set up a URL ping test to query the home page.<br></br> C. Create an Azure function to query the home page.<br></br> D. Create a multi-step web test to query the home page.<br></br> E. Create a Custom Track Availability Test to query the home page.<br></br></p>

A

<p> D. Create a multi-step web test to query the home page.</p>

72
Q

<p>You develop and add several functions to an Azure Function app that uses the latest runtime host. The functions contain several REST API endpoints secured by using SSL. The Azure Function app runs in a Consumption plan.<br></br>You must send an alert when any of the function endpoints are unavailable or responding too slowly.<br></br>You need to monitor the availability and responsiveness of the functions.<br></br>What should you do?<br></br> A. Create a URL ping test.<br></br> B. Create a timer triggered function that calls TrackAvailability() and send the results to Application Insights.<br></br> C. Create a timer triggered function that calls GetMetric("Request Size") and send the results to Application Insights.<br></br> D. Add a new diagnostic setting to the Azure Function app. Enable the FunctionAppLogs and Send to Log Analytics options.<br></br></p>

A

<p> B. Create a timer triggered function that calls TrackAvailability() and send the results to Application Insights.</p>

73
Q

<p>You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save session state information and HTML output.<br></br>You must use a storage mechanism with the following requirements:<br></br>✑ Share session state across all ASP.NET web applications.<br></br>✑ Support controlled, concurrent access to the same session state data for multiple readers and a single writer.<br></br>✑ Save full HTTP responses for concurrent requests.<br></br>You need to store the information.<br></br>Proposed Solution: Deploy and configure an Azure Database for PostgreSQL. Update the web applications.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p>B: No</p>

74
Q

<p>You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save session state information and HTML output.<br></br>You must use a storage mechanism with the following requirements:<br></br>✑ Share session state across all ASP.NET web applications.<br></br>✑ Support controlled, concurrent access to the same session state data for multiple readers and a single writer.<br></br>✑ Save full HTTP responses for concurrent requests.<br></br>You need to store the information.<br></br>Proposed Solution: Enable Application Request Routing (ARR).<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

75
Q

<p>You are using Azure Front Door Service.<br></br>You are expecting inbound files to be compressed by using Brotli compression. You discover that inbound XML files are not compressed. The files are 9 megabytes (MB) in size.<br></br>You need to determine the root cause for the issue.<br></br>To answer, select the appropriate options in the answer area.<br></br>NOTE: Each correct selection is worth one point.</p>

<p>The file MIME type is supported by the service. Yes or no.</p>

<p>Edge nodes must be purged of all cache assets. Yes or no.</p>

<p>The compression type is supported. Yes or no.</p>

A

<p>The file MIME type is supported by the service. No.</p>

<p>Edge nodes must be purged of all cache assets. Yes.</p>

<p>The compression type is supported. Yes.</p>

76
Q

<p>You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL Server.<br></br>You need to ensure that dependency tracking works for calls to the third-party database.<br></br>Which two dependency telemetry properties should you use? Each correct answer presents part of the solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Telemetry.Context.Cloud.RoleInstance<br></br> B. Telemetry.Id<br></br> C. Telemetry.Name<br></br> D. Telemetry.Context.Operation.Id<br></br> E. Telemetry.Context.Session.Id<br></br></p>

A

<p>B. Telemetry.Id<br></br>D. Telemetry.Context.Operation.Id<br></br></p>

77
Q

<p>You have an Azure Web app that uses Cosmos DB as a data store. You create a CosmosDB container by running the following PowerShell script:<br></br>$resourceGroupName = "testResourceGroup"<br></br>$accountName = "testCosmosAccount"<br></br>$databaseName = "testDatabase"<br></br>$containerName = "testContainer"<br></br>$partitionKeyPath = "/EmployeeId"<br></br>$autoscaleMaxThroughput = 5000</p>

<p>New-AzCosmosDBSqlContainer -<br></br>-ResourceGroupName $resourceGroupName<br></br>-AccountName $accountName<br></br>-DatabaseName $databaseName<br></br>-Name $containerName<br></br>-PartitionKeyKind Hash<br></br>-PartitionKeyPath $partitionKeyPath<br></br>-AutoscaleMaxThroughput $autoscaleMaxThroughput<br></br>You create the following queries that target the container:<br></br>SELECT * FROM c WHERE c.EmployeeId > '12345'<br></br>SELECT * FROM c WHERE c.UserID = '12345'<br></br>For each of the following statements, select Yes if the statement is true. Otherwise, select No.<br></br>NOTE: Each correct selection is worth one point.</p>

<p></p>

<p>The minimum throughput for the containers is 400R/Us. Yes or no.</p>

<p>The first query statement is an in-partition query. Yes or no.</p>

<p>The second query statement is a cross-platform query. Yes or no.</p>

A

<p>The minimum throughput for the containers is 400R/Us. No.</p>

<p>The first query statement is an in-partition query. No.</p>

<p>The second query statement is a cross-platform query. Yes.</p>

78
Q

<p>You are developing a solution that will use a multi-partitioned Azure Cosmos DB database. You plan to use the latest Azure Cosmos DB SDK for development.<br></br>The solution must meet the following requirements:<br></br>✑ Send insert and update operations to an Azure Blob storage account.<br></br>✑ Process changes to all partitions immediately.<br></br>✑ Allow parallelization of change processing.<br></br>You need to process the Azure Cosmos DB operations.<br></br>What are two possible ways to achieve this goal? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Create an Azure App Service API and implement the change feed estimator of the SDK. Scale the API by using multiple Azure App Service instances.<br></br> B. Create a background job in an Azure Kubernetes Service and implement the change feed feature of the SDK.<br></br> C. Create an Azure Function to use a trigger for Azure Cosmos DB. Configure the trigger to connect to the container.<br></br> D. Create an Azure Function that uses a FeedIterator object that processes the change feed by using the pull model on the container. Use a FeedRange objext to parallelize the processing of the change feed across multiple functions.<br></br></p>

A

<p> C. Create an Azure Function to use a trigger for Azure Cosmos DB. Configure the trigger to connect to the container.</p>

<p> D. Create an Azure Function that uses a FeedIterator object that processes the change feed by using the pull model on the container. Use a FeedRange objext to parallelize the processing of the change feed across multiple functions.</p>

79
Q

<p>You are developing an application that uses a premium block blob storage account. You are optimizing costs by automating Azure Blob Storage access tiers.<br></br>You apply the following policy rules to the storage account. You must determine the implications of applying the rules to the data. (Line numbers are included for reference only.)</p>

<p>Block blobs prefixed with container1/salesorders or container2/inventory which have not been modified in over 60 days are moved to cool storage. blobs that have not been modified in 120 days are moved to the archive tier. Yes or no.</p>

<p>Blobs are moved to cool storage if they have not been accessed for 30 days. Yes or no.</p>

<p>Blobs will automatically be tiered from cool back to hot if accessed again after being tierred to cool. Yes or no.</p>

<p>All block blobs older than 730 days will be deleted. Yes or no.</p>

A

<p>Block blobs prefixed with container1/salesorders or container2/inventory which have not been modified in over 60 days are moved to cool storage. blobs that have not been modified in 120 days are moved to the archive tier. Yes.</p>

<p>Blobs are moved to cool storage if they have not been accessed for 30 days. Yes.</p>

<p>Blobs will automatically be tiered from cool back to hot if accessed again after being tierred to cool. Yes.</p>

<p>All block blobs older than 730 days will be deleted. Yes.</p>

80
Q

<p>You develop a REST API. You implement a user delegation SAS token to communicate with Azure Blob storage.<br></br>The token is compromised.<br></br>You need to revoke the token.<br></br>What are two possible ways to achieve this goal? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Revoke the delegation key.<br></br> B. Delete the stored access policy.<br></br> C. Regenerate the account key.<br></br> D. Remove the role assignment for the security principle.<br></br></p>

A

<p> A. Revoke the delegation key.</p>

<p> D. Remove the role assignment for the security principle.</p>

<p>---------------------------------------------------------------------------------</p>

<p> B. Delete the stored access policy.(i believe is incorrect)</p>

81
Q

<p>You are developing an Azure App Service REST API.<br></br>The API must be called by an Azure App Service web app. The API must retrieve and update user profile information stored in Azure Active Directory (Azure AD).<br></br>You need to configure the API to make the updates.<br></br>Which two tools should you use? Each correct answer presents part of the solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Microsoft Graph API<br></br> B. Microsoft Authentication Library (MSAL)<br></br> C. Azure API Management<br></br> D. Microsoft Azure Security Center<br></br> E. Microsoft Azure Key Vault SDK<br></br></p>

A

<p> A. Microsoft Graph API</p>

<p> C. Azure API Management</p>

82
Q

<p>You are a developer for a SaaS company that offers many web services.<br></br>All web services for the company must meet the following requirements:<br></br>✑ Use API Management to access the services<br></br>✑ Use OpenID Connect for authentication<br></br>✑ Prevent anonymous usage<br></br>A recent security audit found that several web services can be called without any authentication.<br></br>Which API Management policy should you implement?<br></br> A. jsonp<br></br> B. authentication-certificate<br></br> C. check-header<br></br> D. validate-jwt<br></br></p>

A

<p> D. validate-jwt</p>

83
Q

<p>Your company is developing an Azure API.<br></br>You need to implement authentication for the Azure API. You have the following requirements:<br></br>All API calls must be secure.<br></br>✑ Callers to the API must not send credentials to the API.<br></br>Which authentication mechanism should you use?<br></br> A. Basic<br></br> B. Anonymous<br></br> C. Managed identity<br></br> D. Client certificate<br></br></p>

A

<p> C. Managed identity<br></br></p>

84
Q

<p>You are developing an ASP.NET Core website that uses Azure FrontDoor. The website is used to build custom weather data sets for researchers. Data sets are downloaded by users as Comma Separated Value (CSV) files. The data is refreshed every 10 hours.<br></br>Specific files must be purged from the FrontDoor cache based upon Response Header values.<br></br>You need to purge individual assets from the Front Door cache.<br></br>Which type of cache purge should you use?<br></br> A. single path<br></br> B. wildcard<br></br> C. root domain<br></br></p>

A

<p> A. single path</p>

85
Q

<p>You develop an app that allows users to upload photos and videos to Azure storage. The app uses a storage REST API call to upload the media to a blob storage account named Account1. You have blob storage containers named Container1 and Container2.<br></br>Uploading of videos occurs on an irregular basis.<br></br>You need to copy specific blobs from Container1 to Container2 when a new video is uploaded.<br></br>What should you do?<br></br> A. Copy blobs to Container2 by using the Put Blob operation of the Blob Service REST API<br></br> B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet<br></br> C. Use AzCopy with the Snapshot switch to copy blobs to Container2<br></br> D. Download the blob to a virtual machine and then upload the blob to Container2<br></br></p>

A

<p> B. Create an Event Grid topic that uses the Start-AzureStorageBlobCopy cmdlet<br></br></p>

86
Q

<p>You develop Azure solutions.<br></br>You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.<br></br>You need to obtain an Azure Resource Manager access token.<br></br>Solution: Run the Invoke-RestMethod cmdlet to make a request to the local managed identity for Azure resources endpoint.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

87
Q

<p>You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.<br></br>You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A userג€™s Azure AD group membership must be used to determine the permission level.<br></br>You need to configure authorization.<br></br>Solution:<br></br>✑ Configure and use Integrated Windows Authentication in the website.<br></br>✑ In the website, query Microsoft Graph API to load the group to which the user is a member.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p>B: No</p>

88
Q

<p>You develop Azure solutions.<br></br>You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.<br></br>You need to obtain an Azure Resource Manager access token.<br></br>Solution: Use the Reader role-based access control (RBAC) role to authenticate the VM with Azure Resource Manager.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No<br></br></p>

89
Q

<p>You develop Azure solutions.<br></br>You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.<br></br>You need to obtain an Azure Resource Manager access token.<br></br>Solution: Use an X.509 certificate to authenticate the VM with Azure Resource Manager.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

90
Q

<p>Your company is developing an Azure API hosted in Azure.<br></br>You need to implement authentication for the Azure API to access other Azure resources. You have the following requirements:<br></br>✑ All API calls must be authenticated.<br></br>✑ Callers to the API must not send credentials to the API.<br></br>Which authentication mechanism should you use?<br></br> A. Basic<br></br> B. Anonymous<br></br> C. Managed identity<br></br> D. Client certificate<br></br></p>

A

<p> C. Managed identity</p>

91
Q

<p>You are developing a medical records document management website. The website is used to store scanned copies of patient intake forms.<br></br>If the stored intake forms are downloaded from storage by a third party, the contents of the forms must not be compromised.<br></br>You need to store the intake forms according to the requirements.<br></br>Solution: Store the intake forms as Azure Key Vault secrets.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No<br></br></p>

92
Q

<p>You are developing a medical records document management website. The website is used to store scanned copies of patient intake forms.<br></br>If the stored intake forms are downloaded from storage by a third party, the contents of the forms must not be compromised.<br></br>You need to store the intake forms according to the requirements.<br></br>Solution:<br></br>1. Create an Azure Cosmos DB database with Storage Service Encryption enabled.<br></br>2. Store the intake forms in the Azure Cosmos DB database.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. no</p>

93
Q

<p>You are developing a medical records document management website. The website is used to store scanned copies of patient intake forms.<br></br>If the stored intake forms are downloaded from storage by a third party, the contents of the forms must not be compromised.<br></br>You need to store the intake forms according to the requirements.<br></br>Solution:<br></br>1. Create an Azure Key Vault key named skey.<br></br>2. Encrypt the intake forms using the public key portion of skey.<br></br>3. Store the encrypted data in Azure Blob storage.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

94
Q

<p>You have an application that includes an Azure Web app and several Azure Function apps. Application secrets including connection strings and certificates are stored in Azure Key Vault.<br></br>Secrets must not be stored in the application or application runtime environment. Changes to Azure Active Directory (Azure AD) must be minimized.<br></br>You need to design the approach to loading application secrets.<br></br>What should you do?<br></br> A. Create a single user-assigned Managed Identity with permission to access Key Vault and configure each App Service to use that Managed Identity.<br></br> B. Create a single Azure AD Service Principal with permission to access Key Vault and use a client secret from within the App Services to access Key Vault.<br></br> C. Create a system assigned Managed Identity in each App Service with permission to access Key Vault.<br></br> D. Create an Azure AD Service Principal with Permissions to access Key Vault for each App Service and use a certificate from within the App Services to access Key Vault.<br></br></p>

A

<p> C. Create a system assigned Managed Identity in each App Service with permission to access Key Vault.</p>

95
Q

<p>You provide an Azure API Management managed web service to clients. The back-end web service implements HTTP Strict Transport Security (HSTS).<br></br>Ev ery request to the backend service must include a valid HTTP authorization header.<br></br>You need to configure the Azure API Management instance with an authentication policy.<br></br>Which two policies can you use? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Basic Authentication<br></br> B. Digest Authentication<br></br> C. Certificate Authentication<br></br> D. OAuth Client Credential Grant<br></br></p>

A

<p> C. Certificate Authentication<br></br> D. OAuth Client Credential Grant</p>

96
Q

<p>You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.<br></br>You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A userג€™s Azure AD group membership must be used to determine the permission level.<br></br>You need to configure authorization.<br></br>Solution:<br></br>✑ Create a new Azure AD application. In the applicationג€™s manifest, define application roles that match the required permission levels for the application.<br></br>✑ Assign the appropriate Azure AD group to each role. In the website, use the value of the roles claim from the JWT for the user to determine permissions.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

97
Q

<p>You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.<br></br>You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A userג€™s Azure AD group membership must be used to determine the permission level.<br></br>You need to configure authorization.<br></br>Solution:<br></br>✑ Create a new Azure AD application. In the applicationג€™s manifest, set value of the groupMembershipClaims option to All.<br></br>✑ In the website, use the value of the groups claim from the JWT for the user to determine permissions.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

98
Q

<p>You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.<br></br>You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A userג€™s Azure AD group membership must be used to determine the permission level.<br></br>You need to configure authorization.<br></br>Solution: Configure the Azure Web App for the website to allow only authenticated requests and require Azure AD log on.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

99
Q

<p>You are developing a Java application that uses Cassandra to store key and value data. You plan to use a new Azure Cosmos DB resource and the Cassandra<br></br>API in the application. You create an Azure Active Directory (Azure AD) group named Cosmos DB Creators to enable provisioning of Azure Cosmos accounts, databases, and containers.<br></br>The Azure AD group must not be able to access the keys that are required to access the data.<br></br>You need to restrict access to the Azure AD group.<br></br>Which role-based access control should you use?<br></br> A. DocumentDB Accounts Contributor<br></br> B. Cosmos Backup Operator<br></br> C. Cosmos DB Operator<br></br> D. Cosmos DB Account Reader<br></br></p>

A

<p> C. Cosmos DB Operator</p>

100
Q

<p>You have a new Azure subscription. You are developing an internal website for employees to view sensitive data. The website uses Azure Active Directory (Azure<br></br>AD) for authentication.<br></br>You need to implement multifactor authentication for the website.<br></br>Which two actions should you perform? Each correct answer presents part of the solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Configure the website to use Azure AD B2C.<br></br> B. In Azure AD, create a new conditional access policy.<br></br> C. Upgrade to Azure AD Premium.<br></br> D. In Azure AD, enable application proxy.<br></br> E. In Azure AD conditional access, enable the baseline policy.<br></br></p>

A

<p> B. In Azure AD, create a new conditional access policy.<br></br> C. Upgrade to Azure AD Premium.</p>

101
Q

<p>You are developing an Azure-hosted e-commerce web application. The application will use Azure Cosmos DB to store sales orders. You are using the latest SDK to manage the sales orders in the database.<br></br>You create a new Azure Cosmos DB instance. You include a valid endpoint and valid authorization key to an appSettings.json file in the code project.<br></br>You are evaluating the following application code: (Line number are included for reference only.)</p>

<p><br></br>A database named SalesOrders is created. The database will include two containers. Yes or no.</p>

<p>Container1 will contain two items. Yes or no.</p>

<p>Container2 will contain one items. Yes or no.</p>

A

<p>A database named SalesOrders is created. The database will include two containers. Yes.</p>

<p>Container1 will contain two items. Yes.</p>

<p>Container2 will contain one items. Yes.</p>

102
Q

<p>You are developing an Azure Cosmos DB solution by using the Azure Cosmos DB SQL API. The data includes millions of documents. Each document may contain hundreds of properties.<br></br>The properties of the documents do not contain distinct values for partitioning. Azure Cosmos DB must scale individual containers in the database to meet the performance needs of the application by spreading the workload evenly across all partitions over time.<br></br>You need to select a partition key.<br></br>Which two partition keys can you use? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. a single property value that does not appear frequently in the documents<br></br> B. a value containing the collection name<br></br> C. a single property value that appears frequently in the documents<br></br> D. a concatenation of multiple property values with a random suffix appended<br></br> E. a hash suffix appended to a property value<br></br></p>

A

<p> D. a concatenation of multiple property values with a random suffix appended<br></br> E. a hash suffix appended to a property value</p>

103
Q

<p>You have an existing Azure storage account that stores large volumes of data across multiple containers.<br></br>You need to copy all data from the existing storage account to a new storage account. The copy process must meet the following requirements:<br></br>✑ Automate data movement.<br></br>✑ Minimize user input required to perform the operation.<br></br>✑ Ensure that the data movement process is recoverable.<br></br>What should you use?<br></br> A. AzCopy<br></br> B. Azure Storage Explorer<br></br> C. Azure portal<br></br> D. .NET Storage Client Library<br></br></p>

A

<p> A. AzCopy</p>

104
Q

<p>You develop Azure solutions.<br></br>You must connect to a No-SQL globally-distributed database by using the .NET API.<br></br>You need to create an object to configure and execute requests in the database.<br></br>Which code segment should you use?<br></br> A. new Container(EndpointUri, PrimaryKey);<br></br> B. new Database(EndpointUri, PrimaryKey);<br></br> C. new CosmosClient(EndpointUri, PrimaryKey);<br></br></p>

A

<p> C. new CosmosClient(EndpointUri, PrimaryKey);</p>

105
Q

<p>You develop Azure solutions.<br></br>A .NET application needs to receive a message each time an Azure virtual machine finishes processing data. The messages must NOT persist after being processed by the receiving application.<br></br>You need to implement the .NET object that will receive the messages.<br></br>Which object should you use?<br></br> A. QueueClient<br></br> B. SubscriptionClient<br></br> C. TopicClient<br></br> D. CloudQueueClient<br></br></p>

A

<p> D. CloudQueueClient</p>

106
Q

<p>You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce<br></br>2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.<br></br>You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.<br></br>You need to implement a solution to receive the device data.<br></br>Solution: Provision an Azure Event Grid. Configure the machine identifier as the partition key and enable capture.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

107
Q

<p>You are building a website that uses Azure Blob storage for data storage. You configure Azure Blob storage lifecycle to move all blobs to the archive tier after 30 days.<br></br>Customers have requested a service-level agreement (SLA) for viewing data older than 30 days.<br></br>You need to document the minimum SLA for data recovery.<br></br>Which SLA should you use?<br></br> A. at least two days<br></br> B. between one and 15 hours<br></br> C. at least one day<br></br> D. between zero and 60 minutes<br></br></p>

A

<p> B. between one and 15 hours</p>

108
Q

<p>You are developing a solution that uses the Azure Storage Client library for .NET. You have the following code: (Line numbers are included for reference only.)</p>

<p><br></br>The code creates an infinite lease. Yes or no.</p>

<p>The code at line 06 always creates a new blob. Yes or no.</p>

<p>The finally block releases the lease. Yes or no.</p>

A

<p>The code creates an infinite lease. Yes.</p>

<p>The code at line 06 always creates a new blob. No.</p>

<p>The finally block releases the lease. Yes.</p>

109
Q

<p>A company develops a series of mobile games. All games use a single leaderboard service.<br></br>You have the following requirements:<br></br>✑ Code must be scalable and allow for growth.<br></br>✑ Each record must consist of a playerId, gameId, score, and time played.<br></br>✑ When users reach a new high score, the system will save the new score using the SaveScore function below.<br></br>✑ Each game is assigned an Id based on the series title.</p>

<p>(SEE IMAGE)</p>

<p>SaveScore will work with CosmosDB. Yes or no.</p>

<p>SaveScore will update and replace a record if one already exists with the same playerId and gameId. Yes or no.</p>

<p>Leader board data for the game will be automatically partitioned using gamerId. Yes or no.</p>

<p>SaveScore will store the values for the gameId and playerId parameters in the database. Yes or no.</p>

A

<p>SaveScore will work with CosmosDB. Yes.</p>

<p>SaveScore will update and replace a record if one already exists with the same playerId and gameId. No.</p>

<p>Leader board data for the game will be automatically partitioned using gamerId. No.</p>

<p>SaveScore will store the values for the gameId and playerId parameters in the database. Yes.</p>

110
Q

<p>You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure<br></br>Storage Blob storage. The storage account type is General-purpose V2.<br></br>When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.<br></br>You need to design the process that starts the photo processing.<br></br>Solution: Use the Azure Blob Storage change feed to trigger photo processing.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

111
Q

<p>You are developing a web app that is protected by Azure Web Application Firewall (WAF). All traffic to the web app is routed through an Azure Application<br></br>Gateway instance that is used by multiple web apps. The web app address is contoso.azurewebsites.net.<br></br>All traffic must be secured with SSL. The Azure Application Gateway instance is used by multiple web apps.<br></br>You need to configure the Azure Application Gateway for the web app.<br></br>Which two actions should you perform? Each correct answer presents part of the solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting.<br></br> B. Convert the web app to run in an Azure App service environment (ASE).<br></br> C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway.<br></br> D. In the Azure Application Gateway's HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.<br></br></p>

A

<p> A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting.</p>

<p> D. In the Azure Application Gateway's HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.<br></br></p>

112
Q

<p>You create the following PowerShell script: (SEE IMAGE)</p>

<p>A log alert is created that sends an email when the CPU percentage is above 60 percent for five minutes. Yes or no.</p>

<p>A log alert is created that sends an email when the number of virtual machines heartbeats in the past hour is less than five. Yes or no.</p>

<p>The log alert is scheduled to run every two hours. Yes or no.</p>

A

<p>A log alert is created that sends an email when the CPU percentage is above 60 percent for five minutes. No.</p>

<p>A log alert is created that sends an email when the number of virtual machines heartbeats in the past hour is less than five. Yes.</p>

<p>The log alert is scheduled to run every two hours. No.</p>

113
Q

<p>You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.<br></br>You need to ensure that scripts run and resources are available before a swap operation occurs.<br></br>Solution: Update the app with a method named statuscheck to run the scripts. Update the app settings for the app. Set the<br></br>WEBSITE_SWAP_WARMUP_PING_PATH and WEBSITE_SWAP_WARMUP_PING_STATUSES with a path to the new method and appropriate response codes.<br></br>Does the solution meet the goal?<br></br> A. No<br></br> B. Yes<br></br></p>

A

<p> A. No</p>

114
Q

<p>You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure<br></br>Storage Blob storage. The storage account type is General-purpose V2.<br></br>When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.<br></br>You need to design the process that starts the photo processing.<br></br>Solution: Create an Azure Function app that uses the Consumption hosting model and that is triggered from the blob upload.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. No</p>

<p>The consumption hosting model has up to 10 minute delay.<br></br><br></br>From the Microsoft docs (<a>https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-storage-blob-triggered-function</a>):</p>

<p>When your function app runs in the default Consumption plan, there may be a delay of up to several minutes between the blob being added or updated and the function being triggered.<strong> If you need low latency in your blob triggered functions, consider running your function app in an App Service plan.</strong><em></em></p>

115
Q

<p>You are preparing to deploy a website to an Azure Web App from a GitHub repository. The website includes static content generated by a script.<br></br>You plan to use the Azure Web App continuous deployment feature.<br></br>You need to run the static generation script before the website starts serving traffic.<br></br>What are two possible ways to achieve this goal? Each correct answer presents a complete solution.<br></br>NOTE: Each correct selection is worth one point.<br></br> A. Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.<br></br> B. Add a PreBuild target in the websites csproj project file that runs the static content generation script.<br></br> C. Create a file named run.cmd in the folder /run that calls a script which generates the static content and deploys the website.<br></br> D. Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website.<br></br></p>

A

<p> A. Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.</p>

<p> D. Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website.</p>

116
Q

<p>You are developing an Azure Function App by using Visual Studio. The app will process orders input by an Azure Web App. The web app places the order information into Azure Queue Storage.<br></br>You need to review the Azure Function App code shown below.</p>

<p>The code will log the time that the order was processed from the queue. Yes or no.</p>

<p>When the ProcessOrders function fails, the function will retry up to five times for a given order, including the first try. Yes or no.</p>

<p>When there are multiple orders in the queue, a batch of orders will be retrieved from the queue and the ProcessOrders function will run multiple instances concurrently to process the orders. Yes or no.</p>

<p>The ProcessOrders function will output the order to an Order table in Azure Table Storage. Yes or no.<br></br></p>

A

<p>The code will log the time that the order was processed from the queue. No.</p>

<p>When the ProcessOrders function fails, the function will retry up to five times for a given order, including the first try. Yes.</p>

<p>When there are multiple orders in the queue, a batch of orders will be retrieved from the queue and the ProcessOrders function will run multiple instances concurrently to process the orders. Yes.</p>

<p>The ProcessOrders function will output the order to an Order table in Azure Table Storage. Yes.</p>

117
Q

<p>You are developing an Azure Function App that processes images that are uploaded to an Azure Blob container.<br></br>Images must be processed as quickly as possible after they are uploaded, and the solution must minimize latency. You create code to process images when the<br></br>Function App is triggered.<br></br>You need to configure the Function App.<br></br>What should you do?<br></br> A. Use an App Service plan. Configure the Function App to use an Azure Blob Storage input trigger.<br></br> B. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage trigger.<br></br> C. Use a Consumption plan. Configure the Function App to use a Timer trigger.<br></br> D. Use an App Service plan. Configure the Function App to use an Azure Blob Storage trigger.<br></br> E. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage input trigger.<br></br></p>

A

<p> D. Use an App Service plan. Configure the Function App to use an Azure Blob Storage trigger.<br></br></p>

118
Q

<p>You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll.<br></br>You need to create a Dockerfile document that meets the following requirements:<br></br>✑ Call setupScripts.ps1 when the container is built.<br></br>✑ Run ContosoApp.dll when the container starts.<br></br>The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored.<br></br>Which five commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.</p>

A

<p>- FROM - WORKDIR - COPY - RUN - CMD</p>

<p>Presley says the correct order is different than what is shown in the image</p>

119
Q

<p>You are developing an application that uses Azure Blob storage.<br></br>The application must read the transaction logs of all the changes that occur to the blobs and the blob metadata in the storage account for auditing purposes. The changes must be in the order in which they occurred, include only create, update, delete, and copy operations and be retained for compliance reasons.<br></br>You need to process the transaction logs asynchronously.<br></br>What should you do?<br></br> A. Process all Azure Blob storage events by using Azure Event Grid with a subscriber Azure Function app.<br></br> B. Enable the change feed on the storage account and process all changes for available events.<br></br> C. Process all Azure Storage Analytics logs for successful blob events.<br></br> D. Use the Azure Monitor HTTP Data Collector API and scan the request body for successful blob events.<br></br></p>

A

<p> B. Enable the change feed on the storage account and process all changes for available events.<br></br></p>

120
Q

<p>You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure<br></br>Storage Blob storage. The storage account type is General-purpose V2.<br></br>When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.<br></br>You need to design the process that starts the photo processing.<br></br>Solution: Move photo processing to an Azure Function triggered from the blob upload.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> A. Yes</p>

121
Q

<p>You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.<br></br>The app continues to time out after four minutes. The app must process the blob data.<br></br>You need to ensure the app does not time out and processes the blob data.<br></br>Solution: Configure the app to use an App Service hosting plan and enable the Always On setting.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

122
Q

<p>You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.<br></br>The app continues to time out after four minutes. The app must process the blob data.<br></br>You need to ensure the app does not time out and processes the blob data.<br></br>Solution: Pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p>A: Yes</p>

123
Q

<p>You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.<br></br>The app continues to time out after four minutes. The app must process the blob data.<br></br>You need to ensure the app does not time out and processes the blob data.<br></br>Solution: Use the Durable Function async pattern to process the blob data.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

124
Q

<p>You develop a website. You plan to host the website in Azure. You expect the website to experience high traffic volumes after it is published.<br></br>You must ensure that the website remains available and responsive while minimizing cost.<br></br>You need to deploy the website.<br></br>What should you do?<br></br> A. Deploy the website to a virtual machine. Configure the virtual machine to automatically scale when the CPU load is high.<br></br> B. Deploy the website to an App Service that uses the Shared service tier. Configure the App Service plan to automatically scale when the CPU load is high.<br></br> C. Deploy the website to a virtual machine. Configure a Scale Set to increase the virtual machine instance count when the CPU load is high.<br></br> D. Deploy the website to an App Service that uses the Standard service tier. Configure the App Service plan to automatically scale when the CPU load is high.<br></br></p>

A

<p> D. Deploy the website to an App Service that uses the Standard service tier. Configure the App Service plan to automatically scale when the CPU load is high.<br></br></p>

125
Q

<p>You are developing a serverless Java application on Azure. You create a new Azure Key Vault to work with secrets from a new Azure Functions application.<br></br>The application must meet the following requirements:<br></br>✑ Reference the Azure Key Vault without requiring any changes to the Java code.<br></br>✑ Dynamically add and remove instances of the Azure Functions host based on the number of incoming application events.<br></br>✑ Ensure that instances are perpetually warm to avoid any cold starts.<br></br>✑ Connect to a VNet.<br></br>✑ Authentication to the Azure Key Vault instance must be removed if the Azure Function application is deleted.<br></br>You need to grant the Azure Functions application access to the Azure Key Vault.<br></br>Which three 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.</p>

A

<p>Answer:</p>

<p>Box 1: Create the Azure Functions app with a Premium plan type</p>

<p>Box 2: Create a system-assigned managed identity for the application</p>

<p>Box 3: Create an access policy in Azure Key Vault for the application identity</p>

<p></p>

<p><a>https://www.examtopics.com/discussions/microsoft/view/35739-exam-az-204-topic-1-question-12-discussion/</a></p>

126
Q

<p>You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure<br></br>Storage Blob storage. The storage account type is General-purpose V2.<br></br>When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.<br></br>You need to design the process that starts the photo processing.<br></br>Solution: Convert the Azure Storage account to a BlockBlobStorage storage account.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>

127
Q

<p>You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.<br></br>You need to ensure that scripts run and resources are available before a swap operation occurs.<br></br>Solution: Disable auto swap. Update the app with a method named statuscheck to run the scripts. Re-enable auto swap and deploy the app to the Production slot.<br></br>Does the solution meet the goal?<br></br> A. No<br></br> B. Yes<br></br></p>

A

<p> B. Yes</p>

128
Q

<p>You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.<br></br>You need to ensure that scripts run and resources are available before a swap operation occurs.<br></br>Solution: Enable auto swap for the Testing slot. Deploy the app to the Testing slot.<br></br>Does the solution meet the goal?<br></br> A. No<br></br> B. Yes<br></br></p>

A

<p>A. No</p>

129
Q

<p>You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.<br></br>You need to ensure that scripts run and resources are available before a swap operation occurs.<br></br>Solution: Update the web.config file to include the applicationInitialization configuration element. Specify custom initialization actions to run the scripts.<br></br>Does the solution meet the goal?<br></br> A. No<br></br> B. Yes<br></br></p>

A

<p> B. Yes</p>

130
Q

<p>You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure<br></br>Storage Blob storage. The storage account type is General-purpose V2.<br></br>When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.<br></br>You need to design the process that starts the photo processing.<br></br>Solution: Trigger the photo processing from Blob storage events.<br></br>Does the solution meet the goal?<br></br> A. Yes<br></br> B. No<br></br></p>

A

<p> B. No</p>