(AZ-204) A good deck ~ Flashcards
<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>
<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>
<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>
<p>D. Configure the Filter property of the SearchParameters class.</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>B. No</p>
<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>
<p>B. No</p>
<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>
<p>B. Configure the QueryType property of the SearchParameters class.</p>
<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>
<p>C. The Metric signal type.</p>
<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>
<p>C. Switch to the Standard App Service tier plan.</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.</p>
<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>
<p>C. Active Directory integrated authentication.</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>B. EnablePurgeProtection<br></br>D. EnableSoftDelete</p>
<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>
<p>A. No change required.</p>
<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>
<p>C. In Azure AD, create a conditional access policy.</p>
<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>
<p>C. Enable Managed Service Identity (MSI).</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>B. mongorestore</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>D. 40</p>
<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>
<p>D. Max Value</p>
<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>
<p>B. WebJobs</p>
<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>
<p>B. No</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<p>C. From the Redeploy blade, click Redeploy.</p>
<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>
<p>A. Yes</p>
<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>
<p>B. No</p>
<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>
<p>B. No</p>
<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>
<p>A. Yes</p>
<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>
<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>
<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>
<p>B: No</p>
<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>
<p>B: No</p>
<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>
<p>D. subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);</p>
<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>
<p>A. Service Bus<br></br>C. Event Grid</p>
<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>
<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>
<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>
<p>WebHook event delivery SAS tokens</p>
<p>Topic publishing ValidationCode handshake</p>
<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>
<p>Target Azure Resource</p>
<p>Gateway credentials Client cert</p>
<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>
<p>A. Azure Service Bus Topic<br></br>B. Azure Service Bus Queue<br></br></p>
<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>
<p> B. No</p>