Valid AZ-204 Dumps shared by PassLeader for Helping Passing AZ-204 Exam! PassLeader now offer the newest AZ-204 VCE dumps and AZ-204 PDF dumps, the PassLeader AZ-204 exam questions have been updated and ANSWERS have been corrected, get the newest PassLeader AZ-204 dumps with VCE and PDF here: https://www.passleader.com/az-204.html (519 Q&As Dumps –> 552 Q&As Dumps)
BTW, DOWNLOAD part of PassLeader AZ-204 dumps from Cloud Storage: https://drive.google.com/open?id=1_dGx5coDJPG4zq5xvUhc2LmfQ-jO_xyp
NEW QUESTION 501
You are developing several microservices to run on Azure Container Apps for a company. External TCP ingress traffic from the internet has been enabled for the microservices. The company requires that the microservices must scale based on an Azure Event Hub trigger. You need to scale the microservices by using a custom scaling rule. Which two Kubernetes Event-driven Autoscaling (KEDA) trigger fields should you use? (Each correct answer presents part of the solution. Choose two.)
A. metadata
B. type
C. authenticationRef
D. name
E. metricType
Answer: AB
NEW QUESTION 502
You are developing several Azure API Management (APIM) hosted APIs. You must make several minor and non-breaking changes to one of the APIs. The API changes include the following requirements:
– Must not disrupt callers of the API.
– Enable roll back if you find issues.
– Documented to enable developers to understand what is new.
– Tested before publishing.
You need to update the API. What should you do?
A. Configure and apply header-based versioning.
B. Create and publish a product.
C. Configure and apply a custom policy.
D. Add a new revision to the API.
E. Configure and apply query string-based versioning.
Answer: D
Explanation:
In Azure API Management, use revisions to make non-breaking API changes so you can model and test changes safely. When ready, you can make a revision current and replace your current API.
https://learn.microsoft.com/en-us/azure/api-management/api-management-get-started-revise-api?tabs=azure-portal
NEW QUESTION 503
You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway. You plan to use APIM1 to publish an API named API1 that uses a backend database that supports only a limited volume of requests per minute. You also need a policy for API1 that will minimize the possibility that the number of requests to the backend database from an individual IP address you specify exceeds the supported limit. You need to identify a policy for API1 that will meet the requirements. Which policy should you use?
A. ip-filter
B. quota-by-key
C. rate-limit-by-key
D. rate-limit
Answer: C
Explanation:
Rate limits are usually used to protect against short and intense volume bursts. For example, if you know your backend service has a bottleneck at its database with a high call volume, you could set a rate-limit-by-key policy to not allow high call volume by using this setting.
https://learn.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling#rate-limits-and-quotas
NEW QUESTION 504
You are developing several Azure API Management (APIM) hosted APIs. You must transform the APIs to hide private backend information and obscure the technology stack used to implement the backend processing. You need to protect all APIs. What should you do?
A. Configure and apply a new inbound policy scoped to a product.
B. Configure and apply a new outbound policy scoped to the operation.
C. Configure and apply a new outbound policy scoped to global.
D. Configure and apply a new backend policy scoped to global.
Answer: C
Explanation:
To safeguard private backend information and mask the underlying technology stack utilized in the backend processes of your Azure API Management (APIM) hosted APIs, implement and apply a fresh global-scoped outbound policy. This policy will uniformly apply the necessary transformations and concealments to the responses of all APIs within your APIM instance, ensuring a consistent approach to securing backend details and technology stack disclosure.
https://learn.microsoft.com/en-us/azure/api-management/set-edit-policies?tabs=form
NEW QUESTION 505
You create and publish a new Azure App Service web app. User authentication and authorization must use Azure Active Directory (Azure AD). You need to configure authentication and authorization. What should you do first?
A. Add an identity provider.
B. Map an existing custom DNS name.
C. Create and configure a new app setting.
D. Add a private certificate.
E. Create and configure a managed identity.
Answer: A
Explanation:
https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service#3-configure-authentication-and-authorization
NEW QUESTION 506
You are developing an inventory tracking solution. The solution includes an Azure Function app containing multiple functions triggered by Azure Cosmos DB. You plan to deploy the solution to multiple Azure regions. The solution must meet the following requirements:
– Item results from Azure Cosmos DS must return the most recent committed version of an item.
– Items written to Azure Cosmos DB must provide ordering guarantees.
You need to configure the consistency level for the Azure Cosmos DB deployments. Which consistency level should you use?
A. consistent prefix
B. eventual
C. bounded staleness
D. strong
E. session
Answer: D
Explanation:
Strong consistency offers a linearizability guarantee. Linearizability refers to serving requests concurrently. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write.
https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels
NEW QUESTION 507
You are developing several Azure API Management (APIM) hosted APIs. You must inspect request processing of the APIs in APIM. Requests to APIM by using a REST client must also be included. The request inspection must include the following information:
– requests APIM sent to the API backend and the response it received
– policies applied to the response before sending back to the caller
– errors that occurred during the processing of the request and the policies applied to the errors
– original request APIM received from the caller and the policies applied to the request
You need to inspect the APIs. Which three actions should you do? (Each correct answer presents part of the solution. Choose three.)
A. Enable the Allow tracing setting for the subscription used to inspect the API.
B. Add the Ocp-Apim-Trace header value to the API call whit a value set to true.
C. Add the Ocp-Apim-Subscription-Key header value to the key for a subscription that allows access to the API.
D. Create and configure a custom policy. Apply the policy to the inbound policy section with a global scope.
E. Create and configure a custom policy. Apply the policy to the outbound policy section with an API scope.
Answer: ABC
Explanation:
– To trace request processing, you must enable the Allow tracing setting for the subscription used to debug your API.
– When making requests to API Management using curl, a REST client such as Postman, or a client app, enable tracing by adding the following request headers:
* Ocp-Apim-Trace – set value to true
* Ocp-Apim-Subscription-Key – set value to the key for a tracing-enabled subscription that allows access to the API
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-api-inspector
NEW QUESTION 508
You are developing several Azure API Management (APIM) hosted APIs. The APIs have the following requirements:
– Require a subscription key to access all APIs.
– Include terms of use that subscribers must accept to use the APIs.
– Administrators must review and accept or reject subscription attempts.
– Limit the count of multiple simultaneous subscriptions.
You need to implement the APIs. What should you do?
A. Configure and apply header-based versioning.
B. Create and publish a product.
C. Configure and apply query string-based versioning.
D. Add a new revision to all APIs. Make the revisions current and add a change log entry.
Answer: B
Explanation:
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-add-products?tabs=azure-portal#create-and-publish-a-product
NEW QUESTION 509
You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices. The microservices must be deployed to the same virtual network and write logs to the same Log Analytics workspace. You need to deploy the microservices. What should you do?
A. Enable single revision mode.
B. Use a separate environment for each container.
C. Use a private container registry image and single image for all containers.
D. Use a single environment for all containers.
E. Enable multiple revision mode.
Answer: D
NEW QUESTION 510
You are building an application to track cell towers that are available to phones in near real time. A phone will send information to the application by using the Azure Web PubSub service. The data will be processed by using an Azure Functions app. Traffic will be transmitted by using a content delivery network (CDN). The Azure function must be protected against misconfigured or unauthorized invocations. You need to ensure that the CDN allows for the Azure function protection. Which HTTP header should be on the allowed list?
A. Authorization
B. WebHook-Request-Callback
C. Resource
D. WebHook-Request-Origin
Answer: D
Explanation:
https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler#upstream-and-validation
NEW QUESTION 511
You develop an ASP.NET Core app that uses Azure App Configuration. You also create an App Configuration containing 100 settings. The app must meet the following requirements:
– Ensure the consistency of all configuration data when changes to individual settings occur.
– Handle configuration data changes dynamically without causing the application to restart.
– Reduce the overall number of requests made to App Configuration APIs.
You must implement dynamic configuration updates in the app. What are two ways to achieve this goal? (Each correct answer presents part of the solution. Choose two.)
A. Create and register a sentinel key in the App Configuration store. Set the refreshAll parameter of the Register method to true.
B. Increase the App Configuration cache expiration from the default value.
C. Decrease the App Configuration cache expiration from the default value.
D. Create and configure Azure Key Vault. Implement the Azure Key Vault configuration provider.
E. Register all keys in the App Configuration store. Set the refreshAll parameter of the Register method to false.
F. Create and implement environment variables for each App Configuration store setting.
Answer: AB
Explanation:
A sentinel key is a key that you update after you complete the change of all other keys. Your app monitors the sentinel key. When a change is detected, your app refreshes all configuration values. This approach helps to ensure the consistency of configuration in your app and reduces the overall number of requests made to your App Configuration store, compared to monitoring all keys for changes. You can add a call to the refreshOptions.SetCacheExpiration method to specify the minimum time between configuration refreshes. In this example, you use the default value of 30 seconds. Adjust to a higher value if you need to reduce the number of requests made to your App Configuration store.
https://learn.microsoft.com/en-us/azure/azure-app-configuration/enable-dynamic-configuration-aspnet-core?tabs=core6x
NEW QUESTION 512
HotSpot
You are developing an application to store millions of images in Azure blob storage. The application has the following requirements:
– Store the Exif (exchangeable image file format) data from the image as blob metadata when the application uploads the image.
– Retrieve the Exif data from the image while minimizing bandwidth and processing time.
– Utilizes the REST API.
You need to use the image Exif data as blob metadata in the application. Which HTTP verbs should you use? (To answer, select the appropriate options in the answer area.)
NEW QUESTION 513
HotSpot
You plan to implement an Azure Functions app. The Azure Functions app has the following requirements:
– Must be triggered by a message placed in an Azure Storage queue.
– Must use the queue name set by an app setting named input_queue.
– Must create an Azure Blob Storage named the same as the content of the message.
You need to identify how to reference the queue and blob name in the function.json file of the Azure Functions app. How should you reference the names? (To answer, select the appropriate values in the answer area.)
Answer:
Explanation:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-expressions-patterns#binding-expressions—app-settings
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-expressions-patterns#trigger-metadata
NEW QUESTION 514
Drag and Drop
You are developing several microservices to run on Azure Container Apps. The microservices must allow HTTPS access by using a custom domain. You need to configure the custom domain in Azure Container Apps. 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.)
NEW QUESTION 515
Drag and Drop
You have an Azure Cosmos DB for NoSQL account. You plan to develop two apps named App1 and App2 that will use the change feed functionality to track changes to containers. App1 will use the pull model and App2 will use the push model. You need to choose the method to track the most recently processed change in App1 and App2. Which component should you use? (To answer, drag the appropriate components to the correct apps. Each component 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.)
Answer:
Explanation:
The change feed pull model allows you to consume the change feed at your own pace. Changes must be requested by the client and there’s no automatic polling for changes. If you want to permanently “bookmark” the last processed change (similar to the push model’s lease container), you’ll need to save a continuation token.
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/read-change-feed
NEW QUESTION 516
……
Get the newest PassLeader AZ-204 VCE dumps here: https://www.passleader.com/az-204.html (519 Q&As Dumps –> 552 Q&As Dumps)
And, DOWNLOAD the newest PassLeader AZ-204 PDF dumps from Cloud Storage for free: https://drive.google.com/open?id=1_dGx5coDJPG4zq5xvUhc2LmfQ-jO_xyp