{"id":12841,"date":"2026-09-15T12:33:23","date_gmt":"2026-09-15T12:33:23","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=12841"},"modified":"2026-09-15T12:33:23","modified_gmt":"2026-09-15T12:33:23","slug":"microsoft-az-204-practice-test-questions-and-exam-dumps-part-20-q381-400","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/microsoft-az-204-practice-test-questions-and-exam-dumps-part-20-q381-400\/","title":{"rendered":"Microsoft AZ-204 Practice Test Questions and Exam Dumps Part 20 Q381-400"},"content":{"rendered":"<p><b>View Full <a href=\"https:\/\/www.examlabs.com\/az-204-exam-dumps\">Microsoft AZ-204 Exam Dumps<\/a> and Practice Test Dumps<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><b>Q381. Which Azure Functions trigger should you use when a function needs to execute whenever an HTTP request is sent to a specific endpoint?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Timer trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> HTTP trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Blob trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Queue trigger<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The HTTP trigger is designed to execute an Azure Function when an HTTP request is received by its configured endpoint. It is commonly used for creating APIs, webhooks, lightweight services, and endpoints that need to respond to GET, POST, PUT, or other HTTP methods. Developers can define routes, authorization levels, and request-handling logic for the function. Timer triggers are intended for scheduled execution, while Blob and Queue triggers respond to changes in storage resources. Using an HTTP trigger allows external applications, browsers, services, or clients to directly invoke the function through an HTTP request.<\/span><\/p>\n<p><b>Q382. Which Azure Functions authorization level requires a function key when a client invokes the function through HTTP?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Anonymous<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Admin<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Function<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Public<\/span><\/p>\n<p><b>Correct Answer: 3)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Function authorization level requires callers to provide a valid function key when invoking an HTTP-triggered Azure Function. Function keys provide a simple mechanism for controlling access to individual functions without requiring a complete authentication platform. The Anonymous level does not require a function key, making it suitable for endpoints that intentionally allow unauthenticated access. Admin-level access uses the host master key and provides broader administrative privileges. In production applications, function keys can help restrict access, but developers should consider stronger authentication and authorization mechanisms when applications require identity-based security, role-based access, or more advanced access control.<\/span><\/p>\n<p><b>Q383. An Azure Durable Functions orchestrator must produce the same result when its execution is replayed. Which coding practice should be followed?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Use deterministic operations inside the orchestrator<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Generate random values directly inside the orchestrator<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Read the current system time directly<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Perform unrestricted network calls from the orchestrator<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Durable Functions orchestrators can replay their execution history to reconstruct workflow state, so orchestrator code must be deterministic. Developers should avoid operations that can return different values during replay, such as directly reading the current system time, generating random numbers, or making unpredictable external network calls. Instead, Durable Functions provides APIs such as durable timers and orchestration context functions that are designed to work correctly with replay behavior. Non-deterministic operations should generally be placed inside activity functions. Following deterministic coding practices ensures that the orchestrator produces consistent results and that workflow state remains reliable throughout long-running or restarted executions.<\/span><\/p>\n<p><b>Q384. A Durable Functions workflow must pause for two hours without consuming compute resources and then continue. Which feature should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Queue trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Durable timer<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> HTTP trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Blob trigger<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A Durable Functions durable timer is designed for workflows that need to wait until a specified time before continuing execution. The orchestration can schedule a timer for a future point, allowing the workflow to remain durable without continuously running application code during the waiting period. This is useful for scenarios such as delayed notifications, scheduled approvals, timeouts, reminders, and business processes that require waiting. Unlike a normal application thread that remains active while sleeping, a durable timer works with the Durable Functions orchestration framework and allows Azure to manage the workflow state efficiently until the scheduled time is reached.<\/span><\/p>\n<p><b>Q385. An Azure Function requires VNet integration, longer execution times, and more predictable performance than the Consumption plan. Which hosting option is most appropriate?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Azure Functions Premium plan<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Azure Storage Queue<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure Container Instances<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Azure Functions Consumption plan<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Azure Functions Premium plan is appropriate when an application requires capabilities beyond the standard Consumption plan. Premium provides features such as pre-warmed instances, more predictable performance, longer execution durations, and virtual network integration. These capabilities are useful for enterprise applications that need to access resources within a private network or avoid cold-start delays. The Consumption plan is designed for event-driven workloads with automatic scaling and usage-based billing but has different networking and execution characteristics. Selecting Premium can therefore provide a better hosting environment when an Azure Functions application requires enhanced performance, networking capabilities, and greater control over execution behavior.<\/span><\/p>\n<p><b>Q386. A web application hosted on Azure App Service needs authentication without implementing authentication code inside the application. Which feature should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Azure Queue Storage<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> App Service Authentication and Authorization<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure Blob lifecycle management<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Azure Event Hubs<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">App Service Authentication and Authorization, commonly known as Easy Auth, allows an application to integrate with supported identity providers without requiring developers to implement the complete authentication process inside application code. The App Service platform can handle authentication requests and establish the authenticated user context before requests reach the application. This can simplify integration with Microsoft identity services and other supported providers. Developers can configure authentication behavior through App Service settings and control whether unauthenticated requests are allowed, redirected, or rejected. This feature is particularly useful when a web application needs centralized identity handling while minimizing custom authentication implementation.<\/span><\/p>\n<p><b>Q387. An App Service application should accept requests only from a defined set of corporate IP addresses. Which feature should be configured?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> App Service access restrictions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Deployment slots<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Application Insights<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Autoscale rules<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">App Service access restrictions allow administrators to control which network sources can access an application. Rules can be configured using IP addresses, virtual network sources, and other supported conditions. For example, an organization can permit requests from approved corporate public IP ranges while denying traffic from unauthorized sources. Access restrictions are evaluated before application-level processing, helping reduce unwanted exposure of the application. They are different from authentication because they control network-level access rather than establishing the identity of an individual user. This feature is useful for internal applications, administrative endpoints, staging environments, and workloads that should only be reachable from trusted networks.<\/span><\/p>\n<p><b>Q388. An App Service administrator needs to protect application content and configuration by creating recoverable backups. Which feature should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> App Service Health Check<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> App Service backup and restore<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure Front Door<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Application Insights<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">App Service backup and restore provides a way to create backups of supported application content and configuration so that the application can be recovered when necessary. Backups can be configured to use Azure Storage and can be scheduled according to application requirements. This capability is useful before major deployments, configuration changes, or other operations where recovery may be necessary. Health Check serves a different purpose by monitoring application availability, while Application Insights provides application telemetry and diagnostics. A proper backup strategy should also consider retention requirements, storage configuration, restore testing, and whether all required application data is included in the selected backup configuration.<\/span><\/p>\n<p><b>Q389. An App Service application requires HTTPS using a custom domain. Which configuration is required to secure the custom domain with TLS?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Configure an SSL\/TLS certificate binding for the custom domain<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Enable a Queue trigger<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Configure an Event Grid subscription<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Create an Azure Table Storage entity<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An App Service custom domain can be secured with HTTPS by configuring an appropriate SSL\/TLS certificate and binding it to the custom domain. The certificate allows encrypted communication between clients and the application and helps establish the identity of the website through the configured domain. App Service supports several certificate management approaches, including managed certificates and certificates uploaded or imported according to the application&#8217;s requirements. Simply configuring a custom domain does not automatically provide all the required certificate configuration. Developers should verify DNS settings, domain ownership, certificate validity, and HTTPS binding so that users can securely access the application.<\/span><\/p>\n<p><b>Q390. A development team needs to grant a CI\/CD process access to only one repository in Azure Container Registry rather than the entire registry. Which feature is most appropriate?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Registry-wide Administrator account<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Repository-scoped access token<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Anonymous access<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Storage account key<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Azure Container Registry supports repository-scoped access tokens that can provide more granular permissions than registry-wide administrative credentials. This approach allows an organization to grant a CI\/CD process access to only the repository or repositories required for its operation. Permissions can be designed around actions such as pulling or pushing images, reducing unnecessary privileges. A registry-wide administrator account provides broader access and should generally be avoided when a narrower permission model is possible. Repository-scoped access is especially useful for multi-team environments where different pipelines should manage separate repositories without receiving unnecessary permissions over unrelated container images.<\/span><\/p>\n<p><b>Q391. An organization deploys container images to users in multiple geographic regions and wants registry content replicated closer to those regions. Which Azure Container Registry capability should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> ACR Tasks<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> ACR geo-replication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Kubernetes ConfigMap<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> App Service deployment slots<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Azure Container Registry geo-replication allows a container registry to maintain replicas of registry content across selected Azure regions. This can improve image pull performance for globally distributed deployments because container images can be retrieved from a geographically closer registry replica. It is particularly useful when applications run across multiple regions or when development and production environments are distributed geographically. ACR Tasks automates container image builds and related registry workflows, but it does not provide geographic replication. By using geo-replication, organizations can improve availability and reduce network latency when distributed compute platforms such as AKS need to retrieve container images.<\/span><\/p>\n<p><b>Q392. A development team wants Azure Container Registry to automatically notify an external system whenever a container image is pushed. Which feature should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> ACR webhook<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> ACR geo-replication<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure Storage lifecycle policy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Kubernetes Secret<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Azure Container Registry webhooks can send notifications when specified registry events occur, such as pushing or deleting an image. A webhook can notify an external endpoint so that another system can respond to the registry event. This can support automation scenarios such as triggering deployment workflows, updating external systems, or starting validation processes after an image is published. Geo-replication serves a different purpose by distributing registry content across regions. Kubernetes Secrets store sensitive configuration within Kubernetes environments, while lifecycle policies are used to manage storage objects. Webhooks are therefore appropriate when an external service needs to react to container registry events automatically.<\/span><\/p>\n<p><b>Q393. An AKS cluster needs to add or remove nodes based on resource demand, while individual workloads should increase or decrease the number of pod replicas. Which combination should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> HPA for nodes and cluster autoscaler for pods<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Cluster autoscaler for nodes and HPA for pods<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> ConfigMap for nodes and Secret for pods<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Ingress for nodes and Service for pods<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The AKS cluster autoscaler and Kubernetes Horizontal Pod Autoscaler solve different scaling requirements. The cluster autoscaler adjusts the number of nodes in the Kubernetes cluster when additional capacity is required or when nodes become unnecessary. The Horizontal Pod Autoscaler, or HPA, adjusts the number of pod replicas for a workload based on configured metrics such as CPU or memory utilization. These mechanisms can work together: HPA increases pod replicas when application demand rises, and the cluster autoscaler can add nodes if the existing cluster lacks capacity to schedule those pods. This combination supports efficient scaling at both the workload and infrastructure levels.<\/span><\/p>\n<p><b>Q394. A Kubernetes container may take several minutes to initialize before it is ready to run normally. Which probe is designed to determine whether the application has completed startup?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Startup probe<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Readiness probe<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Service probe<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Ingress probe<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A Kubernetes startup probe determines whether a containerized application has successfully started. It is particularly useful for applications that require significant initialization time. While the startup probe is failing, Kubernetes can delay the normal liveness and readiness checks, preventing the application from being incorrectly restarted before it has completed initialization. A readiness probe instead determines whether a running container is ready to receive traffic. A liveness probe determines whether the container should be restarted because it is no longer functioning properly. Using a startup probe is therefore valuable for protecting slow-starting applications from premature health-check failures and unnecessary restarts.<\/span><\/p>\n<p><b>Q395. A Kubernetes application requires guaranteed CPU and memory resources for scheduling purposes. Which configuration should be specified in the container definition?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Resource requests<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Resource labels<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Ingress rules<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> ConfigMap entries<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Kubernetes resource requests specify the amount of CPU and memory that a container requires for scheduling purposes. The Kubernetes scheduler uses these requests when determining which node has sufficient available capacity to place a pod. Resource limits serve a different purpose by defining the maximum amount of a resource that a container can consume. Properly configuring requests helps ensure that workloads are scheduled onto nodes with adequate capacity and makes resource management more predictable. Requests are especially important in production AKS environments where multiple workloads compete for cluster resources. They can also work with autoscaling mechanisms to support more reliable workload placement and scaling.<\/span><\/p>\n<p><b>Q396. An AKS application must remain available during voluntary disruptions such as node maintenance. Which Kubernetes resource can limit the number of simultaneously disrupted pods?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> ConfigMap<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> PersistentVolume<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Pod Disruption Budget<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Kubernetes Secret<\/span><\/p>\n<p><b>Correct Answer: 3)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A Kubernetes Pod Disruption Budget, or PDB, helps maintain application availability during voluntary disruptions such as planned node maintenance or cluster operations. A PDB specifies constraints on how many replicas of an application can be unavailable at the same time. For example, an application can require a minimum number of available replicas while nodes are being drained. This helps prevent maintenance activities from removing too many application instances simultaneously. A PDB does not directly control unexpected failures, such as hardware crashes. ConfigMaps store configuration data, Secrets store sensitive information, and PersistentVolumes provide storage, so they do not provide the same availability protection during voluntary disruptions.<\/span><\/p>\n<p><b>Q397. A deployment team wants to determine whether a Kubernetes Deployment has successfully completed its rollout. Which command is most appropriate?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> kubectl get nodes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> kubectl describe service<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> kubectl rollout status<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> kubectl get configmap<\/span><\/p>\n<p><b>Correct Answer: 3)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">kubectl rollout status<\/span><span style=\"font-weight: 400;\"> command is used to monitor the progress of a Kubernetes Deployment rollout. It can show whether the updated replicas have become available and whether the deployment has successfully completed. This is useful in CI\/CD pipelines because automation can wait for the rollout to finish before continuing with subsequent deployment steps. Other kubectl commands can provide information about nodes, services, or configuration objects, but they do not directly provide rollout status for a Deployment. Developers can also use related rollout commands to inspect rollout history or perform a rollback when an updated application version causes problems.<\/span><\/p>\n<p><b>Q398. An application stores frequently requested data in Azure Cache for Redis. A cached item should automatically disappear after 30 minutes if it is not refreshed. Which feature should be configured?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Redis key expiration<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Kubernetes HPA<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure SQL Query Store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> ACR webhook<\/span><\/p>\n<p><b>Correct Answer: 1)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Redis key expiration allows cached values to automatically expire after a specified period. Setting an expiration time, such as 30 minutes, helps prevent stale data from remaining in the cache indefinitely. This is particularly useful for temporary application data, session-related information, frequently changing results, and cache-aside implementations. When a key expires, the application can retrieve fresh data from the underlying data source and optionally place the updated value back into Redis. Azure Cache for Redis provides managed Redis capabilities, while HPA, Query Store, and ACR webhooks address Kubernetes scaling, SQL performance analysis, and container registry events respectively.<\/span><\/p>\n<p><b>Q399. A developer wants to identify expensive queries and examine query execution performance over time in Azure SQL Database. Which feature should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Azure Front Door<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Azure SQL Query Store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> Azure Queue Storage<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Azure Event Grid<\/span><\/p>\n<p><b>Correct Answer: 2)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Azure SQL Query Store collects query execution information and helps developers and database administrators analyze query performance over time. It can provide information about query execution statistics, plans, and performance changes, making it useful for identifying expensive or regressed queries. Query Store can help determine whether a query became slower after a change and can support performance troubleshooting and optimization activities. Azure Front Door handles global web traffic routing, Queue Storage provides messaging, and Event Grid distributes event notifications. For an Azure SQL Database workload where the primary requirement is understanding query performance and identifying problematic execution behavior, Query Store is the appropriate feature.<\/span><\/p>\n<p><b>Q400. A web application needs temporary, limited access to Azure Blob Storage without exposing the storage account key. Which option should be used?<\/b><\/p>\n<p><b>1)<\/b><span style=\"font-weight: 400;\"> Storage account administrator credentials<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2)<\/b><span style=\"font-weight: 400;\"> Public anonymous access<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3)<\/b><span style=\"font-weight: 400;\"> User delegation SAS<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4)<\/b><span style=\"font-weight: 400;\"> Permanent access key<\/span><\/p>\n<p><b>Correct Answer: 3)<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A user delegation SAS provides time-limited and permission-scoped access to Azure Blob Storage without requiring the application to expose the storage account key. It is authorized through Microsoft Entra credentials and can specify restrictions such as the resources, permissions, and validity period of the token. This makes it useful when an application needs to allow a client to upload or download specific blobs temporarily. Compared with exposing a storage account key, a scoped SAS reduces the potential impact of credential compromise. Applications should still protect SAS tokens carefully, use short expiration periods where practical, and grant only the permissions required for the intended operation.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Microsoft AZ-204 Exam Dumps and Practice Test Dumps &nbsp; Q381. Which Azure Functions trigger should you use when a function needs to execute whenever an HTTP request is sent to a specific endpoint? 1) Timer trigger 2) HTTP trigger 3) Blob trigger 4) Queue trigger Correct Answer: 2) Explanation: The HTTP trigger is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/12841"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=12841"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/12841\/revisions"}],"predecessor-version":[{"id":12843,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/12841\/revisions\/12843"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=12841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=12841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=12841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}