This page was exported from Free Exam Dumps Collection [ http://free.examcollectionpass.com ] Export date:Wed Nov 27 22:38:53 2024 / +0000 GMT ___________________________________________________ Title: [Apr 28, 2022] Latest Microsoft AZ-204 Exam Practice Test To Gain Brilliante Result [Q21-Q43] --------------------------------------------------- Latest [Apr 28, 2022] Microsoft AZ-204 Exam Practice Test To Gain Brilliante Result Take a Leap Forward in Your Career by Earning Microsoft AZ-204 NEW QUESTION 21You have an app that stores player scores for an online game. The app stores data in Azure tables using a class named PlayerScore as the table entity. The table is populated with 100,000 records.You are reviewing the following section of code that is intended to retrieve 20 records where the player score exceeds 15,000. (Line numbers are included for reference only.)You have the following code. (Line numbers are included for reference only.)You store customer information in an Azure Cosmos database. The following data already exists in the database:For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point. Reference:https://www.vkinfotek.com/azureqa/how-do-i-query-azure-table-storage-using-tablequery-class.htmlNEW QUESTION 22You develop and deploy an ASP.NET web app to Azure App Service. You use Application Insights telemetry to monitor the app.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.You need to configure a test for the web app.Which two test types can you use? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point.  integration  multi-step web  URL ping  unit  load ExplanationThere are three types of availability tests:* URL ping test: a simple test that you can create in the Azure portal.* Multi-step web test: A recording of a sequence of web requests, which can be played back to test more complex scenarios. Multi-step web tests are created in Visual Studio Enterprise and uploaded to the portal for execution.* Custom Track Availability Tests: If you decide to create a custom application to run availability tests, the TrackAvailability() method can be used to send the results to Application Insights.Reference:https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availabilityNEW QUESTION 23You are creating a script that will run a large workload on an Azure Batch pool. Resources will be reused and do not need to be cleaned up after use.You have the following parameters:You need to write an Azure CLI script that will create the jobs, tasks, and the pool.In which order should you arrange the commands to develop the solution? To answer, move the appropriate commands from the list of command segments to the answer area and arrange them in the correct order. ExplanationStep 1: az batch pool create# Create a new Linux pool with a virtual machine configuration.az batch pool create –id mypool –vm-size Standard_A1 –target-dedicated 2 –image canonical:ubuntuserver:16.04-LTS –node-agent-sku-id “batch.node.ubuntu 16.04”Step 2: az batch job create# Create a new job to encapsulate the tasks that are added.az batch job create –id myjob –pool-id mypoolStep 3: az batch task create# Add tasks to the job. Here the task is a basic shell command.az batch task create –job-id myjob –task-id task1 –command-line “/bin/bash -c ‘printenv AZ_BATCH_TASK_WORKING_DIR'”Step 4: for i in {1..$numberOfJobs} doReferences:https://docs.microsoft.com/bs-latn-ba/azure/batch/scripts/batch-cli-sample-run-jobNEW QUESTION 24Case Study 7Policy serviceYou develop and deploy a stateful ASP.NET Core 2.1 web application named Policy service to an Azure App Service Web App. The application reacts to events from Azure Event Grid and performs policy actions based on those events.The application must include the Event Grid Event ID field in all Application Insights telemetry.Policy service must use Application Insights to automatically scale with the number of policy actions that it is performing.OtherAnomaly detection serviceYou have an anomaly detection service that analyzes log infrmation for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service.If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook.Health monitoringAll web applications and services have health monitoring at the /health service endpoint.IssuesPolicy lossWhen you deploy Policy service, policies may not be applied if they were in the process of being applied during the deployment.Performance issueWhen under heavy load, the anomaly detection service undergoes slowdowns and rejects connections.Notification latencyUsers report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.PoliciesLog policyAll Azure App Service Web Apps must write logs to Azure Blob storage. All log files should be saved to a container named logdrop. Logs must remain in the container for 15 days.Authentication eventsAuthentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service. Sign outs must be processed as quickly as possible.PolicyLibYou have a shared library named PolicyLib that contains functionality common to all ASP.NET Core web services and applications. The PolicyLib library must:* Exclude non-user actions from Application Insights telemetry.* Provide methods that allow a web service to scale itself.* Ensure that scaling actions do not disrupt application usage.Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.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.You need to ensure that authentication events are triggered and processed according to the policy.Solution: Create a new Azure Event Grid topic and add a subscirption for the events.Does the solution meet the goal?  Yes  No Instead ensure that signout events have a subject prefix. Create an Azure Event Grid subscription that uses the subjectBeginsWith filter.Scenario: Authentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service.Sign outs must be processed as quickly as possible.NEW QUESTION 25You are working for Contoso, Ltd.You define an API Policy object by using the following XML markup:For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/api-management/api-management-transformation-policiesNEW QUESTION 26You need to update the APIs to resolve the testing error.How should you complete the Azure CLI command? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationEnable Cross-Origin Resource Sharing (CORS) on your Azure App Service Web App.Enter the full URL of the site you want to allow to access your WEB API or * to allow all domains.Box 1: corsBox 2: addBox 3: allowed-originsBox4: http://testwideworldimporters.com/References:http://donovanbrown.com/post/How-to-clear-No-Access-Control-Allow-Origin-header-error-wit h-Azure-App-ServiceNEW QUESTION 27Case Study 4 – Best for You OrganicsBackgroundBest for You Organics Company is a global restaurant franchise that has multiple locations. The company wants to enhance user experiences and vendor integrations. The company plans to implement automated mobile ordering and delivery services.Best For You Organics hosts an Azure web app at the URL https://www.bestforyouorganics.com.Users can use the web app to browse restaurant locations, menu items, nutritional, information, and company information. The company developed and deployed a cross-platform mobile app.RequirementsYou must develop a chartbot by using the Bot Builder SDK and Language Understanding Intelligence Service (LUIS). The chatbot must allow users to order food for pickup or delivery.The chatbot must meet the following requirements:* Ensure that chatbot endpoint can be accessed only by the Bot Framework connector.* Use natural language processing and speech recognition so that users can interact with the chatbot by using text and voice. Processing must be server-based.* Alert users about promotions at local restaurants.* Enable users to place an order for delivery or pickup by using their voice.* Greet the user upon sign-in by displaying a graphical interface that contains action buttons.* The chatbot greeting interface must match the formatting of the following example:Vendor APIVendors receive and provide updates for the restaurant inventory and delivery services by using Azure API Management hosted APIs. Each vendor uses their own subscription to access each of the APIs.APIs must meet the following conditions:* API usage must not exceed 5,000 calls and 50,000 kilobytes of bandwidth per hour per vendor.* If a vendor is nearing the number of calls or bandwidth limit, the API must trigger email notifications to the vendor.* APIs must prevent API usage spikes on a per-subscription basis by limiting the call rate to 100 calls per minute.* The Inventory API must be written by using ASP.NET Core and Node.js.* The API must be updated to provide an interface to Azure SQL Database. Database objects must be managed by using code.* The Delivery API must be protected by using the OAuth 2.0 protocol with Azure Active Directory (Azure AD) when called from the Azure web app. You register the Delivery API and web app in Azure AD. You enable OAuth 2.0 in the web app.* The delivery API must update the Products table, the Vendor transactions table, and the Billing table in a single transaction.The Best For You Organics Company architecture team has created the following diagram depicting the expected deployments into Azure:Delivery APIThe Delivery API intermittently throws the following exception:Chatbot greetingThe chatbot’s greeting does not show the user’s name. You need to debug the chatbot locally.Language processingUsers report that the bot fails to understand when a customer attempts to order dishes that use Italian names.Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.Startup.csYou need to debug the user greeting issue.What should you use?  Azure Compute Emulator  Bot Framework Emulator  Azure Application Insights  Bot Framework Channel Inspector  Bot Connector service Scenario: The chatbot’s greeting does not show the user’s name. You need to debug the chatbot locally.Debug your bot using an integrated development environment (IDE) such as Visual Studio or Visual Studio Code and the Bot Framework Emulator. You can use these methods to debug any bot locally.References:https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-bot?view=azure-bot- service-4.0NEW QUESTION 28You are developing an app that manages users for a video game. You plan to store the region, email address, and phone number for the player. Some players may not have a phone number. The player’s region will be used to load-balance data.Data for the app must be stored in Azure Table Storage.You need to develop code to retrieve data for an individual player.How should you complete the code? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. References:https://docs.microsoft.com/en-us/rest/api/storageservices/designing-a-scalable-partitioning-strategy-for-azure-table-storageNEW QUESTION 29You 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.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.You are evaluating the following application code: (Line number are included for reference only.)For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.cosmosclient.createdatabaseifnotexistsasynchttps://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.database.createcontainerasynchttps://docs.microsoft.com/en-us/dotnet/api/azure.cosmos.cosmoscontainer.createitemasyncNEW QUESTION 30Your company is developing an Azure API hosted in Azure.You need to implement authentication for the Azure API to access other Azure resources. You have the following requirements:* All API calls must be authenticated.* Callers to the API must not send credentials to the API.Which authentication mechanism should you use?  Basic  Anonymous  Managed identity  Client certificate Azure Active Directory Managed Service Identity (MSI) gives your code an automatically managed identity for authenticating to Azure services, so that you can keep credentials out of your code.Note: Use the authentication-managed-identity policy to authenticate with a backend service using the managed identity. This policy essentially uses the managed identity to obtain an access token from Azure Active Directory for accessing the specified resource. After successfully obtaining the token, the policy will set the value of the token in the Authorization header using the Bearer scheme.Incorrect Answers:A: Use the authentication-basic policy to authenticate with a backend service using Basic authentication. This policy effectively sets the HTTP Authorization header to the value corresponding to the credentials provided in the policy.B: Anonymous is no authentication at all.D: Your code needs credentials to authenticate to cloud services, but you want to limit the visibility of those credentials as much as possible. Ideally, they never appear on a developer’s workstation or get checked-in to source control. Azure Key Vault can store credentials securely so they aren’t in your code, but to retrieve them you need to authenticate to Azure Key Vault. To authenticate to Key Vault, you need a credential! A classic bootstrap problem.Reference:https://azure.microsoft.com/en-us/blog/keep-credentials-out-of-code-introducing-azure-ad-managed-service- identity/https://docs.microsoft.com/en-us/azure/api-management/api-management-authentication-policies Monitor, troubleshoot, and optimize Azure solutions Testlet 1 Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam.You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.To start the case studyTo display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question.BackgroundOverviewYou are a developer for Contoso, Ltd. The company has a social networking website that is developed as a Single Page Application (SPA). The main web application for the social networking website loads user uploaded content from blob storage.You are developing a solution to monitor uploaded data for inappropriate content. The following process occurs when users upload content by using the SPA:* Messages are sent to ContentUploadService.* Content is processed by ContentAnalysisService.* After processing is complete, the content is posted to the social network or a rejection message is posted in its place.The ContentAnalysisService is deployed with Azure Container Instances from a private Azure Container Registry named contosoimages.The solution will use eight CPU cores.Azure Active DirectoryContoso, Ltd. uses Azure Active Directory (Azure AD) for both internal and guest accounts.RequirementsContentAnalysisServiceThe company’s data science group built ContentAnalysisService which accepts user generated content as a string and returns a probable value for inappropriate content. Any values over a specific threshold must be reviewed by an employee of Contoso, Ltd.You must create an Azure Function named CheckUserContent to perform the content checks.CostsYou must minimize costs for all Azure services.Manual reviewTo review content, the user must authenticate to the website portion of the ContentAnalysisService using their Azure AD credentials. The website is built using React and all pages and API endpoints require authentication.In order to review content a user must be part of a ContentReviewer role. All completed reviews must include the reviewer’s email address for auditing purposes.High availabilityAll services must run in multiple regions. The failure of any service in a region must not impact overall application availability.MonitoringAn alert must be raised if the ContentUploadService uses more than 80 percent of available CPU cores.SecurityYou have the following security requirements:* Any web service accessible over the Internet must be protected from cross site scripting attacks.* All websites and services must use SSL from a valid root certificate authority.* Azure Storage access keys must only be stored in memory and must be available only to the service.* All Internal services must only be accessible from internal Virtual Networks (VNets).* All parts of the system must support inbound and outbound traffic restrictions.* All service calls must be authenticated by using Azure AD.User agreementsWhen a user submits content, they must agree to a user agreement. The agreement allows employees of Contoso, Ltd. to review content, store cookies on user devices, and track user’s IP addresses.Information regarding agreements is used by multiple divisions within Contoso, Ltd.User responses must not be lost and must be available to all parties regardless of individual service uptime.The volume of agreements is expected to be in the millions per hour.Validation testingWhen a new version of the ContentAnalysisService is available the previous seven days of content must be processed with the new version to verify that the new version does not significantly deviate from the old version.IssuesUsers of the ContentUploadService report that they occasionally see HTTP 502 responses on specific pages.CodeContentUploadServiceNEW QUESTION 31Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.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.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.You have the following requirements:Queue size must not grow larger than 80 gigabytes (GB).Use first-in-first-out (FIFO) ordering of messages.Minimize Azure costs.You need to implement the messaging solution.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 Queue trigger.Does the solution meet the goal?  Yes  No Create an Azure Function App that uses an Azure Service Bus Queue trigger.Reference:https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-storage-queue-triggered-functionNEW QUESTION 32You need to configure the integration for Azure Service Bus and Azure Event Grid.How should you complete the CLI statement? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/cli/azure/eventgrid/event-subscription?view=azure-cli-latest#az_eventgrid_event_subscription_createNEW QUESTION 33You need to configure Azure Service Bus to Event Grid integration.Which Azure Service Bus settings should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: PremiumService Bus can now emit events to Event Grid when there are messages in a queue or a subscription when no receivers are present. You can create Event Grid subscriptions to your Service Bus namespaces, listen to these events, and then react to the events by starting a receiver. With this feature, you can use Service Bus in reactive programming models.To enable the feature, you need the following items:A Service Bus Premium namespace with at least one Service Bus queue or a Service Bus topic with at least one subscription.Contributor access to the Service Bus namespace.Box 2: ContributorReference:https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-conceptNEW QUESTION 34You are developing a ticket reservation system for an airline.The storage solution for the application must meet the following requirements:* Ensure at least 99.99% availability and provide low latency.* Accept reservations event when localized network outages or other unforeseen failures occur.* Process reservations in the exact sequence as reservations are submitted to minimize overbooking or selling the same seat to multiple travelers.* Allow simultaneous and out-of-order reservations with a maximum five-second tolerance window.You provision a resource group named airlineResourceGroup in the Azure South-Central US region.You need to provision a SQL SPI Cosmos DB account to support the app.How should you complete the Azure CLI commands? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: BoundedStalenessBounded staleness: The reads are guaranteed to honor the consistent-prefix guarantee. The reads might lag behind writes by at most “K” versions (that is, “updates”) of an item or by “T” time interval. In other words, when you choose bounded staleness, the “staleness” can be configured in two ways:The number of versions (K) of the itemThe time interval (T) by which the reads might lag behind the writesReference:https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levelshttps://github.com/MicrosoftDocs/azure-docs/blob/master/articles/cosmos-db/manage-with-cli.mdNEW QUESTION 35You are creating a script that will run a large workload on an Azure Batch pool. Resources will be reused and do not need to be cleaned up after use.You have the following parameters:You need to write an Azure CLI script that will create the jobs, tasks, and the pool.In which order should you arrange the commands to develop the solution? To answer, move the appropriate commands from the list of command segments to the answer area and arrange them in the correct order. ExplanationStep 1: az batch pool create# Create a new Linux pool with a virtual machine configuration.az batch pool create –id mypool –vm-size Standard_A1 –target-dedicated 2 –image canonical:ubuntuserver:16.04-LTS –node-agent-sku-id “batch.node.ubuntu 16.04”Step 2: az batch job create# Create a new job to encapsulate the tasks that are added.az batch job create –id myjob –pool-id mypoolStep 3: az batch task create# Add tasks to the job. Here the task is a basic shell command.az batch task create –job-id myjob –task-id task1 –command-line “/bin/bash -c ‘printenv AZ_BATCH_TASK_WORKING_DIR'”Step 4: for i in {1..$numberOfJobs} doReferences:https://docs.microsoft.com/bs-latn-ba/azure/batch/scripts/batch-cli-sample-run-jobNEW QUESTION 36You are developing an Azure App Service hosted ASP.NET Core web app to deliver video on-demand streaming media. You enable an Azure Content Delivery Network (CDN) Standard for the web endpoint. Customer videos are downloaded from the web app by using the following example URL.: http://www.contoso.com/content.mp4?quality=1 All media content must expire from the cache after one hour. Customer videos with varying quality must be delivered to the closest regional point of presence (POP) node.You need to configure Azure CDN caching rules.Which options should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Explanation:Box 1: OverrideOverride: Ignore origin-provided cache duration; use the provided cache duration instead. This will not override cache-control: no-cache.Set if missing: Honor origin-provided cache-directive headers, if they exist; otherwise, use the provided cache duration.Incorrect:Bypass cache: Do not cache and ignore origin-provided cache-directive headers.Box 2: 1 hourAll media content must expire from the cache after one hour.Box 3: Cache every unique URLCache every unique URL: In this mode, each request with a unique URL, including the query string, is treated as a unique asset with its own cache. For example, the response from the origin server for a request for example.ashx?q=test1 is cached at the POP node and returned for subsequent caches with the same query string. A request for example.ashx?q=test2 is cached as a separate asset with its own time-to-live setting.Incorrect Answers:Bypass caching for query strings: In this mode, requests with query strings are not cached at the CDN POP node. The POP node retrieves the asset directly from the origin server and passes it to the requestor with each request.Ignore query strings: Default mode. In this mode, the CDN point-of-presence (POP) node passes the query strings from the requestor to the origin server on the first request and caches the asset. All subsequent requests for the asset that are served from the POP ignore the query strings until the cached asset expires.Reference:https://docs.microsoft.com/en-us/azure/cdn/cdn-query-stringNEW QUESTION 37ASP.NET Core API app by using C#. The API app will allow users to authenticate by using Twitter and Azure Active Directory (Azure AD).Users must be authenticated before calling API methods. You must log the user’s name for each method call.You need to configure the API method calls.Which values should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. References:https://docs.microsoft.com/en-us/azure/app-service/app-service-authentication-how-toNEW QUESTION 38Your company is migrating applications to Azure. The IT department must allow internal developers to communicate with Microsoft support.The service agents of the IT department must only have view resources and create support ticket permissions to all subscriptions. A new custom role must be created by reusing a default role definition and changing the permissions.You need to create the custom role.To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: Set-AzureRmRoleDefinition Input-File C:SupportRole.jsonThe Set-AzureRmRoleDefinition cmdlet updates an existing custom role in Azure Role-Based Access Control.Provide the updated role definition as an input to the command as a JSON file or a PSRoleDefinition object.The role definition for the updated custom role MUST contain the Id and all other required properties of the role even if they are not updated: DisplayName, Description, Actions, AssignableScope Box 2: “*/read*.”* Microsoft.Support/*” Microsoft.Support/* Create and manage support tickets“Microsoft.Support” role definition azureNEW QUESTION 39You provide an Azure API Management managed web service lo clients. The back end web service implements HTTP Strict Transport Security (HSTS).Every request to the backend service must include a valid HTTP authorization header.You need to configure the Azure API Management instance with an authentication policy.Which two policies can you uses? Each correct answer presents a complete solutionNOTE: Each correct selection is worth one point.  Certificate Authentication  Basic Authentication  OAuth Client Credential Grant  Digest Authentication NEW QUESTION 40You are implementing an order processing system. A point of sale application publishes orders to topics in an Azure Service Bus queue. The label property for the topic includes the following data:The system has the following requirements for subscriptionsYou need to implement filtering and maximize throughput while evaluating filters.Which filter types should you implement? To answer, drag the appropriate filter types to the correct subscriptions. Each filter 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.NOTE: Each correct selection is worth one point. ExplanationFutureOrders: SQLFilterHighPriortyOrders: CorrelationFilterCorrelationID onlyInternationalOrders: SQLFilterCountry NOT USA requires an SQL FilterHighQuantityOrders: SQLFilterNeed to use relational operators so an SQL Filter is needed.AllOrders: No FilterSQL Filter: SQL Filters – A SqlFilter holds a SQL-like conditional expression that is evaluated in the broker against the arriving messages’ user-defined properties and system properties. All system properties must be prefixed with sys. in the conditional expression. The SQL-language subset for filter conditions tests for the existence of properties (EXISTS), as well as for null-values (IS NULL), logical NOT/AND/OR, relational operators, simple numeric arithmetic, and simple text pattern matching with LIKE.Correlation Filters – A CorrelationFilter holds a set of conditions that are matched against one or more of an arriving message’s user and system properties. A common use is to match against the CorrelationId property, but the application can also choose to match against ContentType, Label, MessageId, ReplyTo, ReplyToSessionId, SessionId, To, and any user-defined properties. A match exists when an arriving message’s value for a property is equal to the value specified in the correlation filter. For string expressions, the comparison is case-sensitive. When specifying multiple match properties, the filter combines them as a logical AND condition, meaning for the filter to match, all conditions must match.Boolean filters – The TrueFilter and FalseFilter either cause all arriving messages (true) or none of the arriving messages (false) to be selected for the subscription.References:https://docs.microsoft.com/en-us/azure/service-bus-messaging/topic-filtersNEW QUESTION 41A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus.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.You need to complete the configuration.Which Azure CLI or PowerShell command should you run?  Option A  Option B  Option C  Option D ExplanationA service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.Note:Steps:Step 1: # Create a resource groupresourceGroupName=”myResourceGroup”az group create –name $resourceGroupName –location eastusStep 2: # Create a Service Bus messaging namespace with a unique namenamespaceName=myNameSpace$RANDOMaz servicebus namespace create –resource-group $resourceGroupName –name $namespaceName –location eastus Step 3: # Create a Service Bus queue az servicebus queue create –resource-group $resourceGroupName –namespace-name $namespaceName–name BasicQueueStep 4: # Get the connection string for the namespaceconnectionString=$(az servicebus namespace authorization-rule keys list –resource-group$resourceGroupName –namespace-name $namespaceName –name RootManageSharedAccessKey –query primaryConnectionString –output tsv) References:https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cliNEW QUESTION 42You are using Azure Front Door Service.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.You need to determine the root cause for the issue.To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: NoFront Door can dynamically compress content on the edge, resulting in a smaller and faster response to your clients. All files are eligible for compression. However, a file must be of a MIME type that is eligible for compression list.Box 2: NoSometimes you may wish to purge cached content from all edge nodes and force them all to retrieve new updated assets. This might be due to updates to your web application, or to quickly update assets that contain incorrect information.Box 3: YesThese profiles support the following compression encodings: Gzip (GNU zip), Brotli Reference:https://docs.microsoft.com/en-us/azure/frontdoor/front-door-cachingNEW QUESTION 43You create the following PowerShell script:For each of the following statements, select Yes if the statement is true. Otherwise, select No, NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azscheduledqueryrulehttps://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azscheduledqueryruletriggercondition Loading … Authentic Best resources for AZ-204 Online Practice Exam: https://www.examcollectionpass.com/Microsoft/AZ-204-practice-exam-dumps.html --------------------------------------------------- Images: https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif https://free.examcollectionpass.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-04-28 13:32:27 Post date GMT: 2022-04-28 13:32:27 Post modified date: 2022-04-28 13:32:27 Post modified date GMT: 2022-04-28 13:32:27