FREE AZ-204 MCQ Questions and Answers
You are creating a.NET Core MVC application that will let users look up independent vacation rental providers. To enable the application to search the index using different criteria to find documents connected to accommodations, you wish to deploy Azure Search. You want customers to be able to use regular expressions to search the index using the application. What ought you to do?
Explanation:
The syntax of the search query is specified by the value that can be obtained or set for the
SearchParameters.QueryType property. 'Simple' is the default. If your query makes use of the Lucene query
syntax, use 'full'.
You can create specific query forms, such as wildcard, fuzzy search, proximity search, and regular expressions,
against Azure Search using the powerful Lucene Query Parser syntax.
You work for your company as a developer. For an existing Logic App, the definitions need to be updated. Which should you employ?
Explanation:
JSON editing in the Azure portal
1. Log in to the Azure website.
2. Select All services from the menu on the left. Find ""logic apps"" in the search field, and then choose your
logic app from the list of results.
3. Select Logic App Code View from the Development Tools menu in your logic app.
4. Your logic app definition is displayed in JSON format when the Code View editor first launches.
On a tier D1 app service subscription, you create a web application. You observe that during instances of high traffic, page load times rise. When CPU load is greater than 80%, automatic scaling should be used. Your recommendation must reduce expenses. What ought to you start with?
Explanation:
Set the web app's configuration to the Standard App Service Tier. We should keep the price as low as
possible as the Standard tier offers auto-scaling. The web app can then support autoscaling after which a
scale rule and a scale condition can be added.
You are creating a solution for an API with a public interface. An Azure App Service instance serves as the home for the API back end. For the API's back end, you have created a RESTful service. For the API Management service instance, back-end authentication needs to be configured. Solution: For the Azure resource, you configure Basic gateway credentials. Is the aim being met by the solution?
Explanation:
Using client certificates, API Management enables safe access to an API's back-end service.
You work for your company as a developer. The workflows for an existing Logic App need to be changed. Which should you employ?
Explanation:
By combining the Enterprise Integration Pack (EIP) with Azure Logic Apps, you can create automated, scalable
enterprise integration processes for business-to-business (B2B) solutions and seamless communication
between businesses.
A workspace for Azure Log Analytics is part of your company's Azure subscription. One hundred on-premises servers belonging to your business are connected to the Azure Log Analytics workspace and are running Windows Server 2012 R2 or Windows Server 2016. The Azure Log Analytics workspace is configured to collect security-related performance statistics from these linked machines. Based on the data collected by the Azure Log Analytics workspace, you must configure alerts. You must ensure that alert rules take dimensions into account and that the generation time of alerts is kept to a minimum. Additionally, each time an alert is generated and when it is addressed, a single alert notice must be created. When constructing the alert rules, you must utilize the required signal type. Which choice from the list below should you pick?
Explanation:
Azure Monitor's metric alerts offer a means to be informed when one of your metrics exceeds a
predetermined threshold. Application Insights standard and custom metrics, multi-dimensional platform
metrics, and custom metrics are all supported via metric alerts.
Note: The target resource emits signals, which come in a variety of forms. Application insights, metrics, an
activity log, and a log.
You are designing an application to transport data between on-premises file servers and Azure Blob storage. The program makes use of the Azure Key Vault APIs and saves keys, secrets, and certificates there. You want to configure the program to allow recovery of an inadvertent deletion of the key vault or key vault objects for 90 days following deletion. What ought you to do?
Explanation:
When soft-delete is enabled, resources that have been tagged as deleted resources are kept for a set amount
of time (by default, 90 days). The service also offers a way to retrieve the deleted item, thus undoing the
deletion.
Purge protection is a Key Vault behavior that is optional and is not always activated. Only after soft-delete
is enabled can purge protection be activated.
When purge protection is enabled, until the retention time has passed, a vault or an object in the deleted
state cannot be purged. The retention policy will be upheld because soft-deleted vaults and objects can
still be recovered.
The Azure portal allows users to change the retention policy interval to a number between 7 and 90 days
even though the default retention duration is 90 days. The retention policy interval cannot be altered for
that vault once it has been set and saved.