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 (609 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 581
You have an Azure App Service plan named APSPlan1 set to the Basic B1 pricing tier. APSPlan1 contains an App Service web app named WebApp1. You plan to enable schedule-based autoscaling for APSPlan1. You need to minimize the cost of running WebApp1.
Solution: Scale down ASPPlan1 to the Shared pricing tier.
Does the solution meet the goal?
A. Yes
B. No
Answer: B
Explanation:
You need the Autoscale to setup the Schedule-based scaling, and the Autoscale is available from Standard and above.
https://learn.microsoft.com/en-us/azure/app-service/manage-automatic-scaling
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#app-service-limits
NEW QUESTION 582
You deploy an Azure Container Apps app and disable ingress on the container app. Users report that they are unable to access the container app. You investigate and observe that the app has scaled to 0 instances. You need to resolve the issue with the container app.
Solution: Enable ingress, create an TCP scale rule, and apply the rule to the container app.
Does the solution meet the goal?
A. Yes
B. No
Answer: B
NEW QUESTION 583
You have an Azure App Service web app named WebApp1 and an Azure Functions app named Function1. WebApp1 is associated with an Application Insights instance named appinsights1. You configure a web test and a corresponding alert for WebApp1 in appinsights1. Each alert triggers a delivery of email to your mailbox. You need to ensure that each alert also triggers execution of Function1.
Solution: Configure an Azure Monitor Insights workbook.
Does the solution meet the goal?
A. Yes
B. No
Answer: B
Explanation:
To ensure that each alert triggers the execution of Function1, you should configure an Action Group in Azure Monitor and set up an Azure Function action.
NEW QUESTION 584
You are developing an app to store globally distributed data in several Azure Blob Storage containers. Each container hosts multiple blobs where each instance of the app will store the data. You enable versioning and soft delete for the blobs. App testing and incorrect code have frequently corrupted data. Development of the app must allow data to be restored to a previous day for testing. You need to configure the storage account to support point-in-time restore. What should you do?
A. Enable the change feed on the storage account to begin capturing and recording changes.
B. Configure object replication and specify replication rules.
C. Create a snapshot of the blob in the hot tier.
D. Configure an immutability policy that is scoped to a blob version.
Answer: A
Explanation:
https://learn.microsoft.com/en-us/azure/storage/blobs/point-in-time-restore-manage?tabs=portal#enable-and-configure-point-in-time-restore
NEW QUESTION 585
A company uses an Azure Blob Storage for archiving. The company requires that data in the Blob Storage is only in the archive tier. You need to ensure data copied to the Blob Storage is moved to the archive tier. What should you do?
A. Use a Put Block List operation with a request header of x-ms-immutability-policy-mode.
B. Create a lifecycle policy with an action of tierToArchive and configure daysAfterModificationGreaterThan for 0.
C. Use a Put Blob operation with a request header of x-ms-immutability-policy-until-date.
D. Create a lifecycle policy with an action of tierToArchive and configure a filter for blobIndexMatch.
Answer: B
Explanation:
Some data stays idle in the cloud and is rarely, if ever, accessed. The following lifecycle policy is configured to archive data shortly after it’s ingested. This example transitions block blobs in a container named archivecontainer into an archive tier. The transition is accomplished by acting on blobs 0 days after last modified time.
https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview
NEW QUESTION 586
You are developing a Cosmos DB solution that will be deployed to multiple Azure regions. Your solution must meet the following requirements:
– Read operations will never receive write operations that are out of order.
– Maximize concurrency of read operations in all regions.
You need to choose the consistency level for the solution. Which consistency level should you use?
A. session
B. eventual
C. bounded staleness
D. consistent prefix
Answer: D
Explanation:
https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels
NEW QUESTION 587
You have an Azure Queue Storage named queue1. You plan to develop code that will process messages in queue1. You need to implement a queue operation to set the visibility timeout value of individual messages in queue1. Which two operations can you use? (Each correct answer presents a complete solution. Choose two.)
A. Peek at a message in the queue.
B. Delete a message in the queue.
C. Add a message to the queue.
D. Update a message in the queue.
E. Receive a message from the queue.
Answer: DE
Explanation:
The Update operation allows you to modify a message’s content and its visibility timeout. You can use this operation to update the visibility timeout for a message that has already been retrieved from the queue. When you retrieve (or “receive”) a message from the queue, you can specify the visibility timeout at that point. This is useful when you want to process the message but delay its visibility to other consumers.
NEW QUESTION 588
You manage an Azure Cosmos DB for a NoSQL API account named account1. The account contains a database named db1, which contains a container named container1. You configure account1 with a session consistency level. You plan to develop an application named App1 that will access container1. Individual instances of App1 must perform reads and writes. App1 must allow multiple nodes to participate in the same session. You need to configure an object to share the session token between the nodes. Which object should you use?
A. Document response.
B. Request options.
C. Feed options.
D. Connection policy.
Answer: B
Explanation:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.documents.client.requestoptions.sessiontoken?view=azure-dotnet
NEW QUESTION 589
You have an Azure Queue Storage account that contains a queue named queue1. You plan to use Azure SDK for .NET to develop a solution that uses queue1. You need to author C# code that will return an approximate number of messages in queue1. Your solution must minimize the development effort. Which method should you use in your code?
A. GetProperties method of the QueueClient class.
B. GetProperties method of the QueueServiceClient class.
C. PeekMessages method of the QueueClient class.
D. GetStatistics method of the QueueServiceClient class.
Answer: A
Explanation:
https://learn.microsoft.com/en-us/azure/storage/queues/storage-quickstart-queues-dotnet?tabs=passwordless%2Croles-azure-portal%2Cenvironment-variable-windows%2Csign-in-azure-cli#get-the-queue-length
NEW QUESTION 590
You manage an Azure Storage account named storage1. You plan to load 1 million blobs into storage1. You must assign key-value pairs to blobs so that both keys and their values are automatically indexed and searchable by using the built-in services of storage1. You need to run the command to assign key-value pairs. Which command should you run?
A. Update-AzStorageBobServiceProperty
B. Set-AzStorageBlobTag
C. az storage blob service-properties update
D. Set-AzStorageBlobContent
Answer: B
NEW QUESTION 591
You are developing a Microsoft Entra ID integrated app that interacts with Microsoft Graph. You must allow GET operations to receive unknown members that might be defined in the future in Microsoft Graph API. You plan to include support for evolvable enumerations in the app. You need to specify the HTTP request header that will provide the evolvable enumerations support in the app. Which header should you specify?
A. Accept
B. Content-Type
C. If-Match
D. Prefer
Answer: D
Explanation:
If you design your application to handle unknown members as well, you can opt in to receive those members by using an HTTP Prefer request header.
https://learn.microsoft.com/en-us/graph/best-practices-concept
NEW QUESTION 592
You manage an Azure Key Vault named kv1 of Standard SKU. You plan to programmatically store in kv1 an asymmetric key pair and use the key pair for encryption and decryption. You must develop an application named app1 that will access the key pair in kv1. You need to configure an object to retrieve a key pair from kv1. Which object should you use?
A. SecretClient
B. KeyVaultSettingsClient
C. CertificateClient
D. KeyClient
Answer: D
Explanation:
https://learn.microsoft.com/en-us/azure/key-vault/keys/quick-create-net
NEW QUESTION 593
You have 100 Azure virtual machines (VMs) with the system-assigned managed identity enabled. You need to identify the value of the object ID attribute for each of the identities. Which command should you use?
A. az ad sp credential list
B. Get-AzVM
C. Get-AzureADUser
D. az resource show
Answer: D
Explanation:
To identify the value of the object ID attribute for each of the system-assigned managed identities on your Azure VMs, you should use the az resource show command. This command allows you to retrieve the properties of a resource, including the identity information.
NEW QUESTION 594
You have 100 Azure virtual machines (VMs) with the system-assigned managed identity enabled. You need to identify the value of the object ID attribute for each of the identities. Which command should you use?
A. Get-AzureADUser
B. Get-AzResource
C. Get-AzureADUserOwnedObject
D. az ad signed-in-user list-owned-objects
Answer: B
Explanation:
To identify the value of the object ID attribute for each of the system-assigned managed identities on your Azure VMs, you should use the Get-AzResource command. This command allows you to retrieve the properties of a resource, including the identity information.
NEW QUESTION 595
You develop applications that integrate with a Microsoft Entra tenant. You plan to implement a permission classification in the tenant. You need to select permissions to include in your classification. Which permissions should you select?
A. app-only access permissions that require admin consent
B. delegated permissions that require only user consent
C. app-only access permissions that require only user consent
D. delegated permissions that require admin consent
Answer: B
Explanation:
To implement a permission classification in a Microsoft Entra tenant, you should select delegated permissions that require only user consent. This is because permission classifications in Microsoft Entra ID currently support classifying delegated permissions that do not require admin consent.
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-permission-classifications?pivots=portal
NEW QUESTION 596
You manage an Azure subscription that contains 100 Azure App Service web apps. Each web app is associated with an individual Application Insights instance. You plan to remove Classic availability tests from all Application Insights instances that have this functionality configured. You have the following PowerShell statement:
Get-AzApplicationInsightsWebTest | Where-Object { $condition }
You need to set the value of the $condition variable. Which value should you use?
A. $_.Type -eq “ping”
B. $_.WebTestKind -eq “ping”
C. $_.WebTestKind -eq “standard”
D. $_.Type -eq “standard”
Answer: B
Explanation:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability?tabs=standard#migrate-classic-url-ping-tests-to-standard-tests
NEW QUESTION 597
You have a Standard tier instance of Azure Cache for Redis named redis1 configured with the default settings. You need to configure a Maxmemory policy to increase the amount of cache available for read operations. How should you configure the Maxmemory policy?
A. Decrease the value of maxmemory-reserved.
B. Increase the value of maxmemory-reserved.
C. Set the Maxmemory policy to noeviction.
D. Set the Maxmemory policy to volatile-lru.
Answer: A
Explanation:
The maxmemory-reserved setting configures the amount of memory, in MB per instance in a cluster, that is reserved for non-cache operations, such as replication during failover. Setting this value allows you to have a more consistent Redis server experience when your load varies. This value should be set higher for workloads that write large amounts of data. When memory is reserved for such operations, it’s unavailable for storage of cached data.
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-memory-management
NEW QUESTION 598
You develop an ASP. Net Care application by integrating the Application Insights SDK into your solution. The application sends a very high rate of telemetry in a short time interval. You observe a reduced number of events, traces, and metrics being recorded and increased error rates for telemetry ingestion. Telemetry data must synchronize the client and server information to allow HTTP request and response correlation. You need to reduce telemetry traffic, data costs, and storage costs while preserving a statistically correct analysis of application telemetry data. What should you do?
A. Set a daily cap on the Log Analytics workspace. Create an Activity log alert rule.
B. Modify the pricing tier for the Log Analytics workspace.
C. Update the application code to reduce the number of DiagnosticSource events. Use filtering to exclude these events.
D. Disable adaptive sampling. Enable and configure the fixed-rate sampling module.
Answer: D
Explanation:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api#types-of-sampling
NEW QUESTION 599
You develop an ASP. Net Care application by integrating the Application Insights SDK into your solution. The application sends a very high rate of telemetry in a short time interval. You observe a reduced number of events, traces, and metrics being recorded and increased error rates for telemetry ingestion. Telemetry data must synchronize the client and server information to allow HTTP request and response correlation. You need to reduce telemetry traffic, data costs, and storage costs while preserving a statistically correct analysis of application telemetry data. What should you do?
A. Set a daily cap on the Log Analytics workspace. Create an Activity log alert rule.
B. Modify the pricing tier for the Log Analytics workspace.
C. Verify adaptive sampling is enabled. Set the maxTelemetryItemsPerSecond value.
D. Set retention and archive policies by table in the Log Analytics workspace. Purge retained data beyond 30 days.
Answer: C
Explanation:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api
NEW QUESTION 600
You create an Azure subscription named Sub1. In Sub1, you create a custom Azure Event Grid topic named Topic1. Next, you create an Event Grid event subscription named EventSub1. EventSub1 uses Topic1 as the event source and a Web Hook as the endpoint. You plan to enable dead-lettering in EventSub1. You need to ensure that you can enable dead-lettering in EventSub1. What should you do first?
A. Configure delivery properties of EventSub1.
B. Create an Azure Blob Storage container in Sub1.
C. Create an Azure Storage queue in Sub1.
D. Configure the retry policy of EventSub1.
Answer: B
Explanation:
The dead lettering process moves events in event subscriptions that couldn’t be delivered or processed to a supported destination. Currently, Azure Blob Storage is the only supported dead-letter destination.
https://learn.microsoft.com/en-us/azure/event-grid/dead-letter-event-subscriptions-namespace-to
NEW QUESTION 601
HotSpot
You plan to implement an Azure function named Function1 that will use the timer trigger. You plan to use a TimeSpan value to set the schedule of function execution. You need to select the hosting model and the schedule expression assignment method. Which hosting model and schedule expression assignment method should you use? (To answer, select the appropriate options in the answer area.)
Explanation:
A TimeSpan can be used only for a function app that runs on an App Service Plan. You can put the schedule expression in an app setting and set this property to the app setting name wrapped in % signs, as %ScheduleAppSetting%.
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=python-v2%2Cisolated-process%2Cnodejs-v4&pivots=programming-language-csharp#attributes
NEW QUESTION 602
HotSpot
A company has an Azure storage static website with a custom domain name. The company informs you that unauthorized users from a different country/region are accessing the website. The company provides the following requirements for the static website:
– Unauthorized users must not be able to access the website.
– Users must be able to access the website using the HTTPS protocol.
You need to implement the changes to the static website. What should you do? (To answer, select the appropriate options in the answer area.)
NEW QUESTION 603
HotSpot
You have an Azure App Service web app named App1. App1 has Application Insights enabled. You plan to review the configuration of telemetry sampling for Application Insights of App1. You need to author an analytics query that will return the sampling rate. How should you complete the provided query? (To answer, select the appropriate options in the answer area.)
NEW QUESTION 604
Drag and Drop
You have two Azure Container Registry (ACR) instances: ACR01 and ACR02. You plan to implement a containerized application named APP1 that will use a base image named BASE1. The image for APP1 will be stored in ACR01. The image BASE1 will be stored in ACR02. You need to automate the planned implementation by using a sequence of five Azure command-line interface (Azure CLI) commands. Your solution must ensure that the APP1 image stored in ACR01 will be automatically updated when the BASE1 image is updated. In which order should you perform the actions? (To answer, move all container build automation options from the list of container build automations to the answer area and arrange them in the correct order.)
Explanation:
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-private-base-image-update
NEW QUESTION 605
Drag and Drop
You manage an Azure subscription associated with a Microsoft Entra tenant named contoso.com. The subscription contains an Azure Blob Storage account named storage1. Your user account has the Contributor Azure role-based access control (RBAC) role within the scope of the subscription. You plan to implement secure access to containers and blobs in storage1. Your solution must satisfy the following requirements:
– Authorization requests to access storage1 content must be authenticated by using Microsoft Entra credentials.
– Authorized access to storage1 content must be time-limited based on arbitrary values specified when requests are raised.
– The principle of least privilege must be satisfied.
You need to implement the plan. Which three actions should you perform in sequence? (To answer, move the appropriate secure access implementation options from the list of secure access implementations to the answer area and arrange them in the correct order.)
NEW QUESTION 606
Drag and Drop
You have an Azure Virtual Machine (VM) named VM1 running Windows Server 2022 and an Azure Key Vault instance named kv1. You are developing a .NET application named App1 that you plan to deploy to VM1. You have the following requirements:
– App1 will require access to kv1.
– The identity used by App1 to access kv1 must be automatically deprovisioned when VM1 is deleted.
You need to identify the procedure that will meet the requirements. Which three actions should you include in the procedure? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
NEW QUESTION 607
……
Get the newest PassLeader AZ-204 VCE dumps here: https://www.passleader.com/az-204.html (609 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