option
Questions
ayuda
daypo
search.php
ERASED TEST, YOU MAY BE INTERESTED ON Az204--3
COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Az204--3

Description:
exam test

Author:
Olsjan
Other tests from this author

Creation Date:
15/01/2024

Category: Others

Number of questions: 133
Share the Test:
New CommentNuevo Comentario
No comments about this test.
Content:
You are developing applications for a company. You plan to host the applications on Azure App Services. The company has the following requirements: ✑ Every five minutes verify that the websites are responsive. ✑ Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly. ✑ Generate alerts if a website is experiencing issues. ✑ If a website fails to load, the system must attempt to reload the site three more times. You need to implement this process with the least amount of effort. What should you do? Create a Selenium web test and configure it to run from your workstation as a scheduled task Set up a URL ping test to query the home page Create an Azure function to query the home page Create a multi-step web test to query the home page. Create a Custom Track Availability Test to query the home page.
You develop and add several functions to an Azure Function app that uses the latest runtime host. The functions contain several REST API endpoints secured by using SSL. The Azure Function app runs in a Consumption plan. You must send an alert when any of the function endpoints are unavailable or responding too slowly. You need to monitor the availability and responsiveness of the functions. What should you do? Create a URL ping test Create a timer triggered function that calls TrackAvailability() and send the results to Application Insights Create a timer triggered function that calls GetMetric("Request Size") and send the results to Application Insights. Add a new diagnostic setting to the Azure Function app. Enable the FunctionAppLogs and Send to Log Analytics options.
You are developing an application to retrieve user profile information. The application will use the Microsoft Graph SDK. The app must retrieve user profile information by using a Microsoft Graph API call. You need to call the Microsoft Graph API from the application. 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.Select and Place Create an authentication provider Create a new instance of the GraphServiceClient Invoke the request to the Microsoft Graph API Register the application with the Microsoft identity platform Build a client by using the client app ID.
You develop and deploy an Azure Logic App that calls an Azure Function app. The Azure Function App includes an OpenAPI (Swagger) definition and uses anAzure Blob storage account. All resources are secured by using Azure Active Directory (Azure AD). The Logic App must use Azure Monitor logs to record and store information about runtime data and events. The logs must be stored in the Azure Blob storage account.You need to set up Azure Monitor logs and collect diagnostics data for the Azure Logic App. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Create action groups and alert rules Create a Log Analytics workspace Install the Logic Apps Management solution Add a diagnostic setting to the Azure Function App Create an Azure storage account Add a diagnostic setting to the Azure Logic App.
You develop an application. You plan to host the application on a set of virtual machines (VMs) in Azure. You need to configure Azure Monitor to collect logs from the application. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.Select and Place: Create a Log Analytics workspace Install agents on the VM and VM scale set to be monitored Send console logs Add a VMInsights solution Create an Application insights resource.
You develop and deploy an Azure App Service web app. The app is deployed to multiple regions and uses Azure Traffic Manager. Application Insights is enabled for the app. You need to analyze app uptime for each month. Which two solutions will achieve the goal? Azure Monitor logs . Application Insights alerts Azure Monitor metrics Application Insights web tests.
You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL Server. You need to ensure that dependency tracking works for calls to the third-party database. Which two dependency telemetry properties should you use? Telemetry.Context.Cloud.RoleInstance Telemetry.Id Telemetry.Name Telemetry.Context.Operation.Id Telemetry.Context.Session.Id.
You 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 The file MIME type is supported by the service Edge nodes must be purged of all cache assets The compression type is supported.
You 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? Caching behavior---Bypass cache Caching behavior--Override Caching behavior--Set if missing Cache expiration duration----1 second Cache expiration duration----1 minute Cache expiration duration----1 hour Cache expiration duration----1 day Query string caching behavior---Ignore query strings Query string caching behavior---Bypass caching for query strings Query string caching behavior---Cache every unique URL.
You are developing a web application that uses Azure Cache for Redis. You anticipate that the cache will frequently fill and that you will need to evict keys.You must configure Azure Cache for Redis based on the following predicted usage pattern: A small subset of elements will be accessed much more often than the rest.You need to configure the Azure Cache for Redis to optimize performance for the predicted usage pattern.Which two eviction policies will achieve the goal? noeviction allkeys-lru volatile-lru allkeys-random volatile-ttl volatile-random.
An organization has web apps hosted in Azure. The organization wants to track events and telemetry data in the web apps by using Application Insights. You need to configure the web apps for Application Insights. Which three actions should you perform in sequence? Configure the Azure App Service SDK for the app Configure the Application Insight SDK in the app Copy the connection string Create an Azure Machine Learning workspace Create an Application Insight resource.
An organization hosts web apps in Azure. The organization uses Azure Monitor. You discover that configuration changes were made to some of the web apps. You need to identify the configuration changes. Which Azure Monitor log should you review? AppServiceAppLogs AppServiceEnvironmentPlatformlogs AppServiceConsoleLogs AppServiceAuditLogs.
You develop and deploy an Azure App Service web app to a production environment. You enable the Always On setting and the Application Insights site extensions.You deploy a code update and receive multiple failed requests and exceptions in the web app. You need to validate the performance and failure counts of the web app in near real time.Which Application Insights tool should you use? Profiler Smart Detection Live Metrics Stream Application Map Snapshot Debugger.
You are building a web application that performs image analysis on user photos and returns metadata containing objects identified. The image analysis is very costly in terms of time and compute resources. You are planning to use Azure Redis Cache so duplicate uploads do not need to be reprocessed.In case of an Azure data center outage, metadata loss must be kept to a minimum. You need to configure the Azure Redis cache instance.Which two actions should you perform? Configure Azure Redis with AOF persistence Configure Azure Redis with RDB persistence Configure second storage account for persistence. Set backup frequency to the minimum value.
You are developing an Azure-based web application. The application goes offline periodically to perform offline data processing. While the application is offline, numerous Azure Monitor alerts fire which result in the on-call developer being paged. The application must always log when the application is offline for any reason. You need to ensure that the on-call developer is not paged during offline processing. What should you do? Add Azure Monitor alert processing rules to suppress notifications Disable Azure Monitor Service Health Alerts during offline processing Create an Azure Monitor Metric Alert Build an Azure Monitor action group that suppresses the alerts.
You are developing an online game that includes a feature that allows players to interact with other players on the same team within a certaindistance. The calculation to determine the players in range occurs when players move and are cached in an Azure Cache for Redis instance.The system should prioritize players based on how recently they have moved and should not prioritize players who have logged out of the game.You need to select an eviction policy.Which eviction policy should you use? allkeys-Iru volatile-Iru allkeys-lfu volatile-ttl.
You develop an Azure App Service web app and deploy to a production environment. You enable Application Insights for the web app. The web app is throwing multiple exceptions in the environment. You need to examine the state of the source code and variables when the exceptions are thrown. Which Application Insights feature should you configure? Smart detection Profiler Snapshot Debugger Standard test.
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? Create and register a sentinel key in the App Configuration store. Set the refreshAll parameter of the Register method to true Increase the App Configuration cache expiration from the default value Decrease the App Configuration cache expiration from the default value Create and configure Azure Key Vault. Implement the Azure Key Vault configuration provider Register all keys in the App Configuration store. Set the refreshAll parameter of the Register method to false Create and implement environment variables for each App Configuration store setting.
You develop and deploy an Azure App Service web app that connects to Azure Cache for Redis as a content cache. All resources have been deployed to the East US 2 region. The security team requires the following audit information from Azure Cache for Redis: • The number of Redis client connections from an associated IP address. • Redis operations completed on the content cache. • The location (region) in which the Azure Cach3e for Redis instance was accessed. The audit information must be captured and analyzed by a security team application deployed to the Central US region. You need to log information on all client connections to the cache. Which configuration values should you use? Store log information-----Log Analytics workspace Store log information-----Blob Storage account Store log information-----Data Lake Storage Gen2 Storage account Store log information-----Event hub Enable client connection logging----Diagnostic setting Enable client connection logging----Managed identity Enable client connection logging----App registration Enable client connection logging----Environment variable.
You develop and deploy a web app to Azure App Service. The Azure App Service uses a Basic plan in a single region. Users report that the web app is responding slow. You must capture the complete call stack to help identify performance issues in the code. Call stack data must be correlated across app instances. You must minimize cost and impact to users on the web app. You need to capture the telemetry.Which three actions should you perform? Restart all apps in the App Service plan Enable Application Insights site extensions Upgrade the Azure App Service plan to Premium Enable Profiler Enable the Always On setting for the app service Enable Snapshot debugger Enable remote debugging.
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? Authorization WebHook-Request-Callback Resource WebHook-Request-Origin.
You are developing an Azure App Service web app. The web app must securely store session information in Azure Redis Cache. You need to connect the web app to Azure Redis Cache. Which three Azure Redis Cache properties should you use? Access key SSL port Subscription name Location Host name Subscription id.
You are developing several microservices to run on Azure Container Apps. You need to monitor and diagnose the microservices. Which features should you use? View console logs from a container in near real-time---Log streaming View console logs from a container in near real-time---Container console View console logs from a container in near real-time---Azure Monitor metrics View console logs from a container in near real-time---Azure Monitor Log Analytics Debug the microservice from inside the container---Container console Debug the microservice from inside the container---Azure Monitor metrics Debug the microservice from inside the container---Azure Container Registry Debug the microservice from inside the container---Azure Monitor Log Analytics.
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? ip-filter quota-by-key rate-limit-by-key rate-limit.
You develop a web application that sells access to last-minute openings for child camps that run on the weekends. The application uses Azure Application Insights for all alerting and monitoring. The application must alert operators when a technical issue is preventing sales to camps. You need to build an alert to detect technical issues. Which alert type should you use? Metric alert using multiple time series Metric alert using dynamic thresholds Log alert using multiple time series Log alert using dynamic thresholds.
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data. You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future. You need to implement a solution to receive the device data. Solution: Provision an Azure Service Bus. Configure a topic to receive the device data by using a correlation filter.Does the solution meet the goal? Yes No.
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data. You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.You need to implement a solution to receive the device data. Solution: Provision an Azure Event Grid. Configure event filtering to evaluate the device identifier. Does the solution meet the goal? Yes No.
You are developing an application that uses Azure Storage Queues. You have the following code: The code configures the lock duration for the queue The last message read remains in the queue after the code runs The storage queue remains in the storage account after the code runs.
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.
You develop software solutions for a mobile delivery service. You are developing a mobile app that users can use to order from a restaurant in their area. The app uses the following workflow: 1. A driver selects the restaurants for which they will deliver orders. 2. Orders are sent to all available drivers in an area. 3. Only orders for the selected restaurants will appear for the driver. 4. The first driver to accept an order removes it from the list of available orders. You need to implement an Azure Service Bus solution. Which three actions should you perform in sequence? Create a single Bus Topic Create a Service Bus Namespace for each restaurant for which a driver can receive messages Create a single Service Bus subscription Create a Service Bus subscription for each restaurant for wich a driver can receive orders Create a single Service Bus Namespace Create a Service Bus topic for each restaurant for which a driver can receive messages.
You are developing an Azure messaging solution. You need to ensure that the solution meets the following requirements: ✑ Provide transactional support. ✑ Provide duplicate detection. ✑ Store the messages for an unlimited period of time. Which two technologies will meet the requirements? Azure Service Bus Topic Azure Service Bus Queue Azure Storage Queue Azure Event Hub .
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a serverless function that checks compliance. This function is maintained by your company. You write a new event subscription at the scope of your resource. The event must be invalidated after a specific period of time. You need to configure Event Grid. What should you do? WebHook event delivery----SAS tokens WebHook event delivery----Key authentication WebHook event delivery----Management Access Control Topic publishing----ValidationCode handshake Topic publishing----ValidationURL handshake Topic publishing----JWT token.
You are developing a solution that will use Azure messaging services. You need to ensure that the solution uses a publish-subscribe model and eliminates the need for constant polling. What are two possible ways to achieve the goal? Service Bus Event Hub Event Grid Queue.
A company is implementing a publish-subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application. In the Azure portal you see that messages are being sent to the subscription for each topic. You create and initialize a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages. You need to ensure that the subscription client processes all messages. Which code segment should you use? await subscriptionClient.AddRuleAsync(new RuleDescription(RuleDescription.DefaultRuleName, new TrueFilter())); subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName, SubscriptionName); await subscriptionClient.CloseAsync(); subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);.
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 VM that is triggered from Azure Storage .Queue events.Does the solution meet the goal? Yes No.
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 Service Bus Queue from the mobile application. Create an Azure Windows VM that is triggered from.Azure Service Bus Queue.Does the solution meet the goal? Yes No.
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 solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data. You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.You need to implement a solution to receive the device data. Solution: Provision an Azure Event Hub. Configure the machine identifier as the partition key and enable capture. Does the solution meet the goal? Yes No.
You are creating an app that will use CosmosDB for data storage. The app will process batches of relational data. You need to select an API for the app.Which API should you use? MongoDB API Table API SQL API Cassandra API.
You are developing an e-commerce solution that uses a microservice architecture. You need to design a communication backplane for communicating transactional messages between various parts of the solution. Messages must be communicated in first-in-first-out (FIFO) order.What should you use? Azure Storage Queue Azure Event Hub Azure Service Bus Azure Event Grid.
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 Service Bus Queue from the mobile application. Create an Azure Function App that uses an Azure Service Bus Queue trigger.Does the solution meet the goal? Yes No.
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data. You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future. You need to implement a solution to receive the device data. Solution: Provision an Azure Notification Hub. Register all devices with the hub. Does the solution meet the goal? Yes No.
You are building a loyalty program for a major snack producer. When customers buy a snack at any of 100 participating retailers the event is recorded in Azure.Event Hub. Each retailer is given a unique identifier that is used as the primary identifier for the loyalty program. Retailers must be able to be added or removed at any time. Retailers must only be able to record sales for themselves. You need to ensure that retailers can record sales.What should you do? Use publisher policies for retailers Create a partition for each retailer Define a namespace for each retailer.
You develop a solution that uses Azure Virtual Machines (VMs). The VMs contain code that must access resources in an Azure resource group. You grant the VM access to the resource group in Resource Manager.You need to obtain an access token that uses the VM's system-assigned managed identity. Which two actions should you perform? From the code on the VM, call Azure Resource Manager using an access token Use PowerShell on a remote machine to make a request to the local managed identity for Azure resources endpoint Use PowerShell on the VM to make a request to the local managed identity for Azure resources endpoint From the code on the VM, call Azure Resource Manager using a SAS token From the code on the VM, generate a user delegation SAS token.
You are developing a road tollway tracking application that sends tracking events by using Azure Event Hubs using premium tier. Each road must have a throttling policy uniquely assigned. You need to configure the event hub to allow for per-road throttling. What should you do? Use a unique consumer group for each road Ensure each road stores events in a different partition. Ensure each road has a unique connection string. Use a unique application group for each road.
You develop and deploy an ASP.NET Core application that connects to an Azure Database for MySQL instance. Connections to the database appear to drop intermittently and the application code does not handle the connection failure. You need to handle the transient connection errors in code by implementing retries. What are three possible ways to achieve this goal? Close the database connection and immediately report an error Disable connection pooling and configure a second Azure Database for MySQL instance Wait five seconds before repeating the connection attempt to the database Set a maximum number of connection attempts to 10 and report an error on subsequent connections Increase connection repeat attempts exponentially up to 120 seconds.
You are building a B2B web application that uses Azure B2B collaboration for authentication. Paying customers authenticate to Azure B2B using federation.The application allows users to sign up for trial accounts using any email address. When a user converts to a paying customer, the data associated with the trial should be kept, but the user must authenticate using federation.You need to update the user in Azure Active Directory (Azure AD) when they convert to a paying customer. Which Graph API parameter is used to change authentication from one-time passcodes to federation? resetRedemption Status userFlowType invitedUser.
You develop several Azure Functions app functions to process JSON documents from a third-party system. The third-party system publishes events to Azure Event Grid to include hundreds of event types, such as billing, inventory, and shipping updates. Events must be sent to a single endpoint for the Azure Functions app to process. The events must be filtered by event type before processing. You must have authorization and authentication control to partition your tenants to receive the event data. You need to configure Azure Event Grid.Which configuration should you use? Third-party system endpoint to send events----system topic Third-party system endpoint to send events----custom topic Third-party system endpoint to send events----event domain Third-party system endpoint to send events----event subscription Azure Functions app endpoint to handle filtered events----system topic Azure Functions app endpoint to handle filtered events----custom topic Azure Functions app endpoint to handle filtered events----event domain Azure Functions app endpoint to handle filtered events----event subscription.
You are developing a solution that uses several Azure Service Bus queues. You create an Azure Event Grid subscription for the Azure Service Bus namespace. You use Azure Functions as subscribers to process the messages. You need to emit events to Azure Event Grid from the queues. You must use the principal of least privilege and minimize costs. Which Azure Service Bus values should you use? Tier---Basic Tier---Standard Tier---Premium Access control (IAM) level---Contributor Access control (IAM) level---Data Receiver Access control (IAM) level---Data Sender Access control (IAM) level---Data Owner.
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? Configure and apply header-based versioning Create and publish a product Configure and apply query string-based versioning Add a new revision to all APIs. Make the revisions current and add a change log entry.
You are developing a solution by using the Azure Event Hubs SDK. You create a standard Azure Event Hub with 16 partitions. You implement eight event processor clients. You must balance the load dynamically when an event processor client fails. When an event processor client fails, another event processor must continue processing from the exact point at which the failure occurred. All events must be aggregate and upload to an Azure Blob storage account.You need to implement event processing recovery for the solution. Which SDK features should you use? Ensure that event process clients mark the position within an event sequence---Offset Ensure that event process clients mark the position within an event sequence---checkpoint Ensure that event process clients mark the position within an event sequence---Namespace Ensure that event process clients mark the position within an event sequence---Capture Mark the event processor client position within a partition event sequence---Offset Mark the event processor client position within a partition event sequence---Chekpoint Mark the event processor client position within a partition event sequence---Namespace Mark the event processor client position within a partition event sequence---Capture.
You are developing a new API to be hosted by Azure API Management (APIM). The backend service that implements the API has not been completed. You are creating a test API and operation.You must enable developers to continue with the implementation and testing of the APIM instance integrations while you complete the backend API development. You need to configure a test API response.How should you complete the configuration? Policy---proxy Policy---set-status Policy---mock-response Policy---forward-request Policy section---inbound Policy section---backend Policy section---on-error HTTP response code---200 HTTP response code---400 HTTP response code---500.
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? Enable the Allow tracing setting for the subscription used to inspect the API Add the Ocp-Apim-Trace header value to the API call whit a value set to true Add the Ocp-Apim-Subscription-Key header value to the key for a subscription that allows access to the API Create and configure a custom policy. Apply the policy to the inbound policy section with a global scope Create and configure a custom policy. Apply the policy to the outbound policy section with an API scope.
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? Queue name---input_queue Queue name---{input_queue} Queue name---%input_queue% Blob name---{queueTrigger} Blob name---{input_queue}/{id} Blob name---%input_queue%/{filename}.
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? Configure and apply header-based versioning Create and publish a product Configure and apply a custom policy Add a new revision to the API Configure and apply query string-based versioning.
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? Store Exif data---GET Store Exif data---PUT Store Exif data---POST Store Exif data---HEAD Retrieve Exif data---PUT Retrieve Exif data---POST Retrieve Exif data---HEAD Retrieve Exif data---CONNECT.
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? metadata type authenticationRef name metricType.
You are implementing an application by using Azure Event Grid to push near-real-time information to customers. You have the following requirements: • You must send events to thousands of customers that include hundreds of various event types. • The events must be filtered by event type before processing. • Authentication and authorization must be handled by using Microsoft Entra ID. • The events must be published to a single endpoint. You need to implement Azure Event Grid. Solution: Publish events to an event domain. Create a custom topic for each customer. Does the solution meet the goal? Yes No.
You are implementing an application by using Azure Event Grid to push near-real-time information to customers. You have the following requirements: • You must send events to thousands of customers that include hundreds of various event types. • The events must be filtered by event type before processing. • Authentication and authorization must be handled by using Microsoft Entra ID. • The events must be published to a single endpoint. You need to implement Azure Event Grid. Solution: Publish events to a custom topic. Create an event subscription for each customer. Does the solution meet the goal? Yes No.
You are implementing an application by using Azure Event Grid to push near-real-time information to customers. You have the following requirements: • You must send events to thousands of customers that include hundreds of various event types. • The events must be filtered by event type before processing. • Authentication and authorization must be handled by using Microsoft Entra ID. • The events must be published to a single endpoint. You need to implement Azure Event Grid. Solution: Enable ingress, create a TCP scale rule, and apply the rule to the container app. Does the solution meet the goal? Yes No.
You are implementing an application by using Azure Event Grid to push near-real-time information to customers. You have the following requirements: • You must send events to thousands of customers that include hundreds of various event types. • The events must be filtered by event type before processing. • Authentication and authorization must be handled by using Microsoft Entra ID. • The events must be published to a single endpoint. You need to implement Azure Event Grid. Solution: Publish events to a partner topic. Create an event subscription for each customer. Does the solution meet the goal? Yes No.
You are implementing an application by using Azure Event Grid to push near-real-time information to customers. You have the following requirements: • You must send events to thousands of customers that include hundreds of various event types. • The events must be filtered by event type before processing. • Authentication and authorization must be handled by using Microsoft Entra ID. • The events must be published to a single endpoint. You need to implement Azure Event Grid. Solution: Publish events to a system topic. Create an event subscription for each customer. Does the solution meet the goal? Yes No.
You are developing an Azure Static Web app that contains training materials for a tool company. Each tool’s training material is contained in a static web page that is linked from the tool’s publicly available description page. A user must be authenticated using Azure AD prior to viewing training. You need to ensure that the user can view training material pages after authentication. How should you complete the configuration file? routes headers responseOverrides navigatio-allback 400 401 403 404 add referrer.
You are authoring a set of nested Azure Resource Manager templates to deploy Azure resources. You author an Azure Resource Manager template named mainTemplate.json that contains the following linked templates: linkedTemplate1.json, linkedTemplate2.json. You add parameters to a parameters template file named mainTemplate.parameters,json. You save all templates on a local device in the C:\templates\ folder. You have the following requirements: • Store the templates in Azure for later deployment. • Enable versioning of the templates. • Manage access to the templates by using Azure RBAC. • Ensure that users have read-only access to the templates. • Allow users to deploy the templates. You need to store the templates in Azure. How should you complete the command? az----its create az----storage account create az----storage account update az----blueprint artifact template create --template-file----mainTemplate.json --template-file----linkedTemplate1.json --template-file----linkedTemplate2.json --template-file----mainTemplate.parameters,json.
You are developing a service where customers can report news events from a browser using Azure Web PubSub. The service is implemented as an Azure Function App that uses the JSON WebSocket subprotocol to receive news events. You need to implement the bindings for the Azure Function App. How should you configure the binding? ''type'':-----user ''type'':-----system ''type'':-----message ''type'':-----connected ''type'':-----webPubSubTrigger ''type'':-----webPubSubConnection user system message connected.
You are developing an Azure Web App. You configure TLS mutual authentication for the web app. You need to validate the client certificate in the web app Client certification location---HTTP request header Client certification location---Client cookie Client certification location---HTTP message body Client certification location---URL query sring Encoding type---HTML Encoding type---URL Encoding type---Unicode Encoding type---Base64.
You have a web service that is used to pay for food deliveries. The web service uses Azure Cosmos DB as the data store. You plan to add a new feature that allows users to set a tip amount. The new feature requires that a property named tip on the document in Cosmos DB must be present and contain a numeric value. There are many existing websites and mobile apps that use the web service that will not be updated to set the tip property for some time. How should you complete the trigger? __value(); __readDocument(''Item''); getContext().getRequest(); getContext().getResponse(); if(!(''tip''in i)){ if(request.getValue(''tip'')===null){ if(isNaN(i){(''tip'')===null){ if(typeof__pluck(]]i{''tip}=='number'){ r.setBody(i); r.setValue(i);.
You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll. You need to create a Dockerfile document that meets the following requirements: ✑ Call setupScripts.ps1 when the container is built. ✑ Run ContosoApp.dll when the container starts. The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored. Which five commands should you use to develop the solution? From microsoft/aspnetcore:latest WORKDIR /apps/ContosoApp CMD [''dotnet'', ''ContosoApp.dll''] COPY ./. RUN powershell ./setupScript.ps1.
You are developing an Azure Function App. You develop code by using a language that is not supported by the Azure Function App host. The code language supports HTTP primitives. You must deploy the code to a production Azure Function App environment. You need to configure the app for deployment. Which configuration values should you use? Publish---Code Publish---Docker Container Runtime stack---Node.js Runtime stack---Python Runtime stack---PowerShell Core Runtime stack---Custom Handler Version---14 LTS Version---7.0 Version---custom.
You provision virtual machines (VMs) as development environments. One VM does not start. The VM is stuck in a Windows update process. You attach the OS disk for the affected VM to a recovery VM. You need to correct the issue.In which order should you perform the actions? Run the following command at an elevated command prompt: dism /image:\ /get=packages>c:temp\Patch.txt Run the following command at an elevated command prompt: dism /Image:<Attached OS disks>:\ /Remove Package /PackageName:<package name to delete> Detach the OS disk and recreate the VM Open C:\temp\Patch.txt file and locate the update that is in a pending state.
You are developing an Azure Function app. All functions in the app meet the following requirements: • Run until either a successful run or until 10 run attempts occur. • Ensure that there are at least 20 seconds between attempts for up to 15 minutes. You need to configure the host.json file. How should you complete the code segment? retry healthMonitor singleton exponentialBackoff counterThreshold fixedDelay maxRetryCount healthCheckInterval healthCheckThreshold.
You are developing an online game that allows players to vote for their favorite photo that illustrates a word. The game is built by using Azure Functions and uses durable entities to track the vote count. The voting window is 30 seconds. You must minimize latency. You need to implement the Azure Function for voting. How should you complete the code? CallEntityAsync SignalEntityAsync [DurableClient] |DurableEntityClient [DurableClient] |DurableOrchestrationClient CallEntityAsync SignalEntityAsync [DurableClient] |DurableEntityClient [DurableClient] |DurableOrchestrationClient.
You are developing an application that runs in several customer Azure Kubernetes Service clusters. Within each cluster, a pod runs that collects performance data to be analyzed later. A large amount of data is collected so saving latency must be minimized. The performance data must be stored so that pod restarts do not impact the stored data. Write latency should be minimized. You need to configure blob storage.How should you complete the YAML configuration? PodStorage StorageClass PersistentVolume Azure-disk azure-file portworx-volume scaleio local retain delete.
You are developing an ASP.NET Core app that includes feature flags which are managed by Azure App Configuration. You create an Azure App Configuration store named AppFeatureFlagStore that contains a feature flag named Export. You need to update the app to meet the following requirements: ✑ Use the Export feature in the app without requiring a restart of the app. ✑ Validate users before users are allowed access to secure resources. ✑ Permit users to access secure resources. How should you complete the code segment? UseAuthentication UseStaticFiles UseSession UseCookiePolicy Use Authorization UseHttpsRedirection UseSession UseCookiePolicy UseAzureAppConfiguration UseStaticFiles.
You plan to deploy a new application to a Linux virtual machine (VM) that is hosted in Azure. The entire VM must be secured at rest by using industry-standard encryption technology to address organizational security and compliance requirements.You need to configure Azure Disk Encryption for the VM.How should you complete the Azure CLI commands? VM keyvault vm keyvault key vm keyvaukt key vm encryption all data os.
You are building a website that is used to review restaurants. The website will use an Azure CDN to improve performance and add functionality to requests.You build and deploy a mobile app for Apple iPhones. Whenever a user accesses the website from an iPhone, the user must be redirected to the app store.You need to implement an Azure CDN rule that ensures that iPhone users are redirected to the app store.How should you complete the Azure Resource Manager template? .
You are building a website to access project data related to teams within your organization. The website does not allow anonymous access. Authentication is performed using an Azure Active Directory (Azure AD) app named internal. The website has the following authentication requirements: ✑ Azure AD users must be able to login to the website. ✑ Personalization of the website must be based on membership in Active Directory groups. You need to configure the application's manifest to meet the authentication requirements. How should you configure the manifest? ''optionalClaims' ''groupMembershipClaims'' ''allowPublicClient'' ''oauth2Permissions'' ''requiredResourceAccess'' ''oauth2AllowImplicitFlow''.
Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token. You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID. You need to add the following policies to the policies file: ✑ a set-variable policy to store the detected user identity ✑ a cache-lookup-value policy ✑ a cache-store-value policy ✑ a find-and-replace policy to update the response body with the user profile information To which policy section should you add the policies? .
You are developing an application that uses a premium block blob storage account. You are optimizing costs by automating Azure Blob Storage access tiers. You apply the following policy rules to the storage account. You must determine the implications of applying the rules to the data. (Line numbers are included for reference only.) YES--Block blobs prefixed with container1/salesorders or conainter2/inventory which have not been modified in over 60 days are moved to cool storage.Blobs that have not been modified in 120 days are moved to the archive tier YES--Blobs are moved to cool storage if they have not been accessed for 30 days YES--Blobs will automatically be tiered from cool back to hot if accessed again after being tiered to cool YES--All block blobs older than 730 days will be deleted.
You are developing a web application that makes calls to the Microsoft Graph API. You register the application in the Azure portal and upload a valid X509 certificate.You create an appsettings.json file containing the certificate name, client identifier for the application, and the tenant identifier of the Azure Active Directory (Azure AD). You create a method named ReadCertificate to return the X509 certificate by name.You need to implement code that acquires a token by using the certificate.How should you complete the code segment? ConfidentialClientApplicationBuilder GetAccountAsync() GetAccountAsync() ConfidantialClientApplication scopes app config.
An organization plans to deploy Azure storage services. You need to configure shared access signature (SAS) for granting access to Azure Storage. Which SAS types should you use? To answer, drag the appropriate SAS types to the correct requirements. Each SAS 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. Delegate access to a resources in one or more of the storage services Delegate access to a resource in a single storage service Secure a resource by using Azure AD credential.
You are developing an ASP.NET Core app that includes feature flags which are managed by Azure App Configuration. You create an Azure App.Configuration store named AppFeatureflagStore as shown in the exhibit.You must be able to use the feature in the app by using the following markup:You need to update the app to use the feature flag Controller Attribute----Feature Gate Controller Attribute----Route Controller Attribute----Service Filter Startup Method---AddAzureAppConfiguration Startup Method---AddControllersWithViews Startup Method---AddUserSecrets AppConfig endpoint settings----https://appfeatureflagstore.azconfig.io AppConfig endpoint settings----https://appfeatureflagstore.vault.azure.net AppConfig endpoint settings----https://export.azconfig.io.
You have a single page application (SPA) web application that manages information based on data returned by Microsoft Graph from another company's AzureActive Directory (Azure AD) instance. Users must be able to authenticate and access Microsoft Graph by using their own company's Azure AD instance. You need to configure the application manifest for the app registration. How should you complete the manifest? add false spa true availableToOtherTenants requiredResourceAccess All AzureADMyorg AzureADMultipleOrgs AzureADandPersonalMicrosoftAccount.
You are a developer building a web site using a web app. The web site stores configuration data in Azure App Configuration. Access to Azure App Configuration has been configured to use the identity of the web app for authentication. Security requirements specify that no other authentication systems must be used.You need to load configuration data from Azure App Configuration. How should you complete the code? AddAzureKeyVault DefaultAzureCredential ChainedTokenCredential ManagedIdentityCredential AddAzureAppConfiguration AddAzureKeyVault DefaultAzureCredential ChainedTokenCredential ManagedIdentityCredential AddAzureAppConfiguration.
You are building an application that stores sensitive customer data in Azure Blob storage. The data must be encrypted with a key that is unique for each customer. If the encryption key has been corrupted it must not be used for encryption. You need to ensure that the blob is encrypted.How should you complete the code segment? AesManaged(key) AsnEncodedData(key) CustomerProvidedKey(key) x.IV==verify x.RawData==verify x.Encryption==verify Version Transport EncryptionScope CustomerProvidedKey.
You are developing a web application that uses the Microsoft Identity platform for user and resource authentication. The web application called several REST APIs.You are implementing various authentication and authorization flows for the web application. You need to validate the claims in the authentication token.Which token type should you use? Access ID Refresh SAML Access ID Refresh SAML Refresh SAML.
You are developing a content management application for technical manuals. The application is deployed as an Azure Static Web app. Authenticated users can view pages under/manuals but only contributors can access the page /manuals/new.html. You need to configure the routing for the web app.How should you complete the configuration? /manuals'' contributors /manuals/new.html /manuals'' contributors /manuals'' contributors /manuals'' contributors authenticated.
You are developing a web application that uses the Microsoft identity platform for user and resource authentication. The web application calls several REST APIs.A REST API call must read the user’s calendar. The web application requires permission to send an email as the user.You need to authorize the web application and the API.Which parameter should you use? tenant code_challenge state client_id scope.
You develop and deploy the following staticwebapp.config.json file to the app_location value specified in the workflow file of an Azure Static Webapp: Unauthenticated users are challengeed to authenticate with GitHub A non-existent file in the /images /folder will generate a 404 response code HTTP GET method requests from authenticated users in the role named registeredusers are sent to the api folder Authenticated users that are not in the role named registeredusers and unauthenticated users are served a 401 HTTP error when accessing the API folder.
You develop a web app that interacts with Azure Active Directory (Azure AD) groups by using Microsoft Graph. You build a web page that shows all Azure AD groups that are not of the type 'Unified'. You need to build the Microsoft Graph query for the page. How should you complete the query? https://graph.microsoft.com/v1.0/groups?---filter https://graph.microsoft.com/v1.0/groups?---search https://graph.microsoft.com/v1.0/groups?---contain groupTypes/any(s:s ne 'Unified') not groupTypes/contains('Unified') not groupTypes/any(s:s eq 'Unified') groupTypes/contains('Unified') eq false $top=true $count=true $filter-nested.
You are a developer building a web site using a web app. The web site stores configuration data in Azure App Configuration. Access to Azure App Configuration has been configured to use the identity of the web app for authentication. Security requirements specify that no other authentication systems must be used.You need to load configuration data from Azure App Configuration. How should you complete the code? DefaultAzureCredential ChainedTokenCredential ManagedIdentityCredential AddAzureAppConfiguration DefaultAzureCredential ChainedTokenCredential ManagedIdentityCredential AddAzureAppConfiguration.
You are developing an application that uses Azure Storage to store customer data. The data must only be decrypted by the customer and the customer must be provided a script to rotate keys.You need to provide a script to rotate keys to the customer. How should you complete the command? key secret recover certificate Microsoft.Secret Microsoft.Storage Microsoft.KeyVault Microsoft.Certificate.
A company is developing a gaming platform. Users can join teams to play online and see leaderboards that include player statistics. The solution includes an entity named Team.You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities that rarely change.You need to invalidate the cache when team data is changed.How should you complete the code? |Database cache=Connection.GetDatabase(); |Cache cache=Connection.GetDatabase(); cache.KeyDelete('Team') cache.StringSet('Team') cache.ValueDelete('Team') cache.StringGet('Team').
A company has multiple warehouses. Each warehouse contains IoT temperature devices which deliver temperature data to an Azure Service Bus queue.You need to send email alerts to facility supervisors immediately if the temperature at a warehouse goes above or below specified threshold temperatures.Which five actions should you perform in sequence? Add a logic app trigger that fires when one or more massages arrive in the queue Add a Recurrence trigger that schedules the app to run every 15 minutes Add an action that sends an email to specified personnel if the temperature is outside of those thresholds Add a trigger tha reads Iot temperature data from a Service Bus queue Add a logic app action that fires when one or more massages arrive in the queue Add a condition that compares the temperature against the upper and lower thesholds Create a blank Logic app Add an action that reads IoT temperature data from the Service Bus queue.
You develop an ASP.NET Core MVC application. You configure the application to track webpages and custom events. You need to identify trends in application usage.Which Azure Application Insights Usage Analysis features should you use? Users Funnels Impact Retention User Flow.
You are debugging an application that is running on Azure Kubernetes cluster named cluster1. The cluster uses Azure Monitor for containers to monitor the cluster.The application has sticky sessions enabled on the ingress controller.Some customers report a large number of errors in the application over the last 24 hours.You need to determine on which virtual machines (VMs) the errors are occurring.How should you complete the Azure Monitor query? ago(1d) since(1d) sample ContainerID distinct ContainerID fork containerIDs where ContainerID in (ContainerIDs) project by computer summarize count() by Computer.
You plan to deploy a web app to App Service on Linux. You create an App Service plan. You create and push a custom Docker image that contains the web app to Azure Container Registry.You need to access the console logs generated from inside the container in real-time.How should you complete the Azure CLI command? config download show --web-server-logging --docker-container-logging --application-logging webapp acr aks download.
A web service provides customer summary information for e-commerce partners. The web service is implemented as an Azure Function app with an HTTP trigger.Access to the API is provided by an Azure API Management instance. The API Management instance is configured in consumption plan mode. All API calls are authenticated by using OAuth. API calls must be cached. Customers must not be able to view cached data for other customers.You need to configure API Management policies for caching.How should you complete the policy statement? 1-External 2-Private 3-Authorization.
You develop and deploy an Azure App Service web app. The web app accesses data in an Azure SQL database. You must update the web app to store frequently used data in a new Azure Cache for Redis Premium instance. You need to implement the Azure Cache for Redis features.Which feature should you implement? horizontal partitioning channel list set.
You deploy an ASP.NET web app to Azure App Service.You must monitor the web app by using Application Insights. You need to configure Application Insights to meet the requirements.Which feature should you use? Smart Detection Snapshot Debugger Profiler Multi-step-test Smart Detection Snapshot Debugger Profiler Multi-step-test Profiler Multi-step-test.
You develop and deploy a Java application to Azure. The application has been instrumented by using the Application Insights SDK. The telemetry data must be enriched and processed before it is sent to the Application Insights service. You need to modify the telemetry data.Which Application Insights SDK features should you use? Sampling Telemetry Initializer Telemetry processor Telemetry channel.
You develop new functionality in a web application for a company that provides access to seismic data from around the world. The seismic data is stored in Redis Streams within an Azure Cache for Redis instance.The new functionality includes a real-time display of seismic events as they occur.You need to implement the Azure Cache for Redis command to receive seismic data. How should you complete the command? XLEN XREAD XRANGE BLOCK 0 COUNT 0 BLOCK -1 COUNT -1 $ (& (0-0 +.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? A.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? .
You develop a news and blog content app for Windows devices. A notification must arrive on a user's device when there is a new article available for them to view. You need to implement push notifications.How should you complete the code segment? NotificationHubClient NotificationHubClientSettings NotificationHubClient NotificationHubClientSettings GetInstallation CreateClientFromConnectionString SendWindowsNativeNotificationAsync SubmitNotificationHubJobAsync ScheduleNotificationAsync.
You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTful service and hosted in an Azure App Service instance. You need to configure back-end authentication for the API Management service instance. Which target and gateway credential type should you use? Azure Resource HTTP(s) Basic Client cert.
You are working for Contoso, Ltd. You define an API Policy object by using the following XML markup: The XML segment belongs in the <inbound> section of the policy If the body size is >256k,an error will occur If the request is http://contoso.com/api/9.2/,the policy will retain the higher version.
You are developing an Azure solution to collect inventory data from thousands of stores located around the world. Each store location will send the inventory data hourly to an Azure Blob storage account for processing. The solution must meet the following requirements: ✑ Begin processing when data is saved to Azure Blob storage. ✑ Filter data based on store location information. ✑ Trigger an Azure Logic App to process the data for output to Azure Cosmos DB. ✑ Enable high availability and geographic distribution. ✑ Allow 24-hours for retries. ✑ Implement an exponential back off data processing. You need to configure the solution.What should you implement? Azure Event Hub Azure Event Grid Azure Service Bus Azure Blob Storage Azure App Service Azure Logic App.
You are developing a .NET application that communicates with Azure Storage. A message must be stored when the application initializes. You need to implement the message. How should you complete the code segment? CloudQueueClient CloudTableClient CloudQueueClient CloudTableClient CloudQueue GetQueueReference.
A software as a service (SaaS) company provides document management services. The company has a service that consists of several Azure web apps. All Azure web apps run in an Azure App Service Plan named PrimaryASP. You are developing a new web service by using a web app named ExcelParser. The web app contains a third-party library for processing Microsoft Excel files.The license for the third-party library stipulates that you can only run a single instance of the library. You need to configure the service.How should you complete the script? NumberOfSites 1 PerSiteScaling $true TargetWorkerCount = 1 MaxNumberOfWorkers = 1 SiteConfig.NumberOfWorkers = 1 NumberOfSites 1 PerSiteScaling $true TargetWorkerCount = 1 MaxNumberOfWorker = 1 SiteConfig.NumberOfWorkers = 1.
You have an application that provides weather forecasting data to external partners. You use Azure API Management to publish APIs. You must change the behavior of the API to meet the following requirements: ✑ Support alternative input parameters ✑ Remove formatting text from responses ✑ Provide additional context to back-end services Which types of policies should you implement? Inbound Outbound Backend.
You develop and deploy a web app to Azure App Service in a production environment. You scale out the web app to four instances and configure a staging slot to support changes. You must monitor the web app in the environment to include the following requirements: ✑ Increase web app availability by re-routing requests away from instances with error status codes and automatically replace instances if they remain in an error state after one hour. ✑ Send web server logs, application logs, standard output, and standard error messaging to an Azure Storage blob account. You need to configure Azure App Service.Which values should you use? Health Check Diagnostic setting Deployment slot Autoscale rule Zone redundancy.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? B.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? C.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? D.
You have an Azure API Management instance named API1 that uses a managed gateway. You plan to implement a policy that will apply at a product scope and will set the header of inbound requests to include information about the region hosting the gateway of API1. The policy definition contains the following content TARGET1---<base/> TARGET1---<value>root</value> TARGET1---<wait for = ''all''></wait> TARGET2---context TARGET2---config TARGET2---policy.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? B.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? A.
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. 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? B.
You need to retrieve all order line items from Order.json and sort the data alphabetically by the city. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. From--Orders o From--Lineltems li Join--li Join--o IN--o.line_items IN--li.line_items Order by--o.city Order by--li.city.
HOTSPOT - You need to reliably identify the delivery driver profile information. How should you configure the system? JSON web token (JWT) type---ID JSON web token (JWT) type---Refresh JSON web token (JWT) type---Access Payload claim value---oid Payload claim value---aud Payload claim value---idp.
HOTSPOT - You need to add code at line AM09 to ensure that users can review content using ContentAnalysisService. How should you complete the code? To answer, select the appropriate options in the answer area. ''allowPublicClient'';true ''oauth2Permissions'';[login] ''oauth2AllowUrlPathMatching'';true ''oauth2AllowldTokenimplicitFlow'';true ''oauth2AllowImplicitFlow'';true ''oauth2RequiredPostResponse'';true ''preAuthorizedApplications'';[''SPA''] ''knownClientApplications'';[ContentAnalysisService].
You need to reduce read latency for the retail store solution. What are two possible ways to achieve the goal? Create a new composite index for the store location data queries in Azure Cosmos DB. Modify the queries to support parameterized SQL and update the Azure Function app to call the new queries Provision an Azure Cosmos DB dedicated gateway. Update the Azure Function app connection string to use the new dedicated gateway endpoint Configure Azure Cosmos DB consistency to session consistency. Cache session tokens in a new Azure Redis cache instance after every write. Update reads to use the session token stored in Azure Redis Provision an Azure Cosmos DB dedicated gateway. Update blob storage to use the new dedicated gateway endpoint. Configure Azure Cosmos DB consistency to strong consistency. Increase the RUs for the container supporting store location data.
You need to audit the retail store sales transactions. What are two possible ways to achieve the goal? Update the retail store location data upload process to include blob index tags. Create an Azure Function to process the blob index tags and filter by store location Process the change feed logs of the Azure Blob storage account by using an Azure Function. Specify a time range for the change feed data Enable blob versioning for the storage account. Use an Azure Function to process a list of the blob versions per day Process an Azure Storage blob inventory report by using an Azure Function. Create rule filters on the blob inventory report. Subscribe to blob storage events by using an Azure Function and Azure Event Grid. Filter the events by store location.
You need to monitor ContentUploadService according to the requirements. Which command should you use? az monitor metrics alert create ג€"n alert ג€"g ג€ ¦- -scopes ג€ ¦- -condition "avg Percentage CPU > 8" az monitor metrics alert create ג€"n alert ג€"g ג€ ¦- -scopes ג€ ¦- -condition "avg Percentage CPU > 800" az monitor metrics alert create ג€"n alert ג€"g ג€ ¦- -scopes ג€ ¦- -condition "CPU Usage > 800" az monitor metrics alert create ג€"n alert ג€"g ג€ ¦- -scopes ג€ ¦- -condition "CPU Usage > 8".
You are developing an Azure Durable Function based application that processes a list of input values. The application is monitored using a console application that retrieves JSON data from an Azure Function diagnostic endpoint. During processing a single instance of invalid input does not cause the function to fail. Invalid input must be available to the monitoring application.You need to implement the Azure Durable Function and the monitoring console application context.SetOutput((input(errIndex]) context.SetCustomStatus(Input{errIndex]) context.SignalEntity(Input(errIndex],''error'') await context.CalEntityAsync(Input(errIndex},''error'') Failed Awaited Listening Completed input output.
You are developing an ASP.NET Core time sheet application that runs as an Azure Web App. Users of the application enter their time sheet information on the first day of every month.The application uses a third-party web service to validate data. The application encounters periodic server errors due to errors that result from calling a third-party web server. Each request to the third-party server has the same chance of failure.You need to configure an Azure Monitor alert to detect server errors unrelated to the third-party service. You must minimize false-positive alerts.How should you complete the Azure Resource Manager template? DynamicThresholdCriterion SingleResourceMultipleMetricCriteria Http4xx Http5xx Low High.
You need to add markup at line AM04 to implement the ContentReview role. How should you complete the markup? To answer, drag the appropriate json segments to the correct locations. Each json segment 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. User value role Application allowedMemberTypes allowedAccountTypes.
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue. A rule already exists to scale up the App Service when the average queue length of unprocessed and valid queue messages is greater than 1000.You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met. How should you configure the Scale rule? Service bus queue Active message count Average Less than or equal to Decrease count by.
Code Segment DefaultAzureCredential ClientSecretCredential CloudClients SecretClient.
You are a developer for a Software as a Service (SaaS) company. You develop solutions that provide the ability to send notifications by using Azure Notification Hubs.You need to create sample code that customers can use as a reference for how to send raw notifications to Windows Push Notification Services (WNS) devices.The sample code must not use external packages.How should you complete the code segment? To answer, drag the appropriate code segments to the correct locations. Each code segment may beused once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content raw windows windowsphone application/xml application/json application/octet-stream.
You are developing a REST web service. Customers will access the service by using an Azure API Management instance. The web service does not correctly handle conflicts. Instead of returning an HTTP status code of 409, the service returns a status code of 500.The body of the status message contains only the word conflict. You need to ensure that conflicts produce the correct response. How should you complete the policy? server context on-error set-status when-error override-status.
You are building a B2B web application that uses Azure B2B collaboration for authentication Paying customers authenticate to Azure B2B using federation The application allows users to sign up for trial accounts using any email address When a user converts to a paying customer, the data associated with the teal should be kept, but the user must authenticate using federation You need to update the user in Azure Active Directory (Azure AD) when they convert to a paying customer Which Graph API parameter is used to change authentication from one-time pass odes to federation? uscrFlowType Status invittdUstr resetRedemption.
You develop and deploy several APIs to Azure API Management. You create the following policy fragment named APICounts name inbound outbound set-variable fragment-id include-fragment.
Report abuse