CertyIQ AZ-204 UpdatedExam Dumps - Part 5
CertyIQ AZ-204 UpdatedExam Dumps - Part 5
DRAG DROP -
You develop a web app that uses the tier D1 app service plan by using the Web Apps feature of Microsoft
Azure App Service.
Spikes in traffic have caused increases in page load times.
You need to ensure that the web app automatically scales when CPU load is about 85 percent and minimize
costs.
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.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders
you select.
Select and Place:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Step 1: Configure the web app to the Standard App Service Tier
The Standard tier supports auto-scaling, and we should minimize the cost.
Step 2: Enable autoscaling on the web app
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
First enable autoscale -
Step 3: Add a scale rule -
Step 4: Add a Scale condition -
Reference:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-autoscale-get-started
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution. Determine whether the solution meets the stated goals.
You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save
session state information and HTML output.
✑ Support controlled, concurrent access to the same session state data for multiple readers and a single
writer.
A. Yes
B. No
Explanation:
Correct Answer: NO
Instead deploy and configure Azure Cache for Redis. Update the web applications.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching#managing-concurrency-in-a-cache
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution. Determine whether the solution meets the stated goals.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save
session state information and HTML output.
✑ Support controlled, concurrent access to the same session state data for multiple readers and a single
writer.
Proposed Solution: Deploy and configure an Azure Database for PostgreSQL. Update the web applications.
A. Yes
B. No
Explanation:
Correct Answer: NO
Instead deploy and configure Azure Cache for Redis. Update the web applications.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching#managing-concurrency-in-a-cache
A company is developing a gaming platform. Users can join teams to play online and see leaderboards that
include
You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities
that
rarely change.
How should you complete the code? To answer, select the appropriate options in the answer area.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Answer:
Explanation:
Correct Answer:
Box 1: IDatabase cache = connection.GetDatabase();
Connection refers to a previously configured ConnectionMultiplexer.
Box 2: cache.StringSet("teams",")
To specify the expiration of an item in the cache, use the TimeSpan parameter of StringSet. cache.StringSet("key1",
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
"value1", TimeSpan.FromMinutes(90));
Reference:
https://azure.microsoft.com/sv-se/blog/lap-around-azure-redis-cache-preview/
https://docs.microsoft.com/enus/cli/azure/webapp/config/container
DRAG DROP -
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? 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:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Order:
1. Create blank logic app
2. Add logic app trigger when one or more messages arrive in the queue
3. Action to read IoT Temp data
4. Compare upper and lower temp
5. Send emails
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitoring-notifications-with-azure-logic-apps
DRAG DROP -
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? To answer, drag the appropriate
features to the correct requirements. Each feature 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.
NOTE: Each correct selection is worth one point.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Select and Place:
Explanation:
Correct Answer:
Box 1: Funnels –
https://docs.microsoft.com/en-us/azure/azure-monitor/app/usage-funnels
To quote: "Before you create your funnel, decide on the question you want to answer. For example, you might want to
know how many users are viewing the home page, viewing a customer profile, and creating a ticket." Just replace
"creating a ticket" with "buying a product"
Box 2: Impact -
One way to think of Impact is as the ultimate tool for settling arguments with someone on your team about how
slowness in some aspect of your site is affecting whether users stick around. While users may tolerate a certain amount
of slowness, Impact gives you insight into how best to balance optimization and performance to maximize user
conversion.
Box 3: Retention -
The retention feature in Azure Application Insights helps you analyze how many users return to your app, and how often
they perform particular tasks or achieve goals. For example, if you run a game site, you could compare the numbers of
users who return to the site after losing a game with the number who return after winning. This knowledge can help you
improve both your user experience and your business strategy.
Box 4: User flows -
The User Flows tool visualizes how users navigate between the pages and features of your site. It's great for answering
questions like:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
✑ How do users navigate away from a page on your site?
✑ Where are the places that users churn most from your site?
✑ Are there places where users repeat the same action over and over?
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/usage-impact
You develop a gateway solution for a public facing news API. The news API back end is implemented as a
RESTful service and uses an OpenAPI specification.
You need to ensure that you can access the news API by using an Azure API Management service instance.
Explanation:
Correct Answer: A
A: Import also creates. Importing also creates an already configured instance (opposed to C)
B: We don't need another backend, we need a frontend for an exisiting backend
C: creates a new APIM, but you would still need to manually configure it.
D: is meant to proxy a public API (https://petri.com/how-to-use-the-azure-api-management-to-proxy-a-public-api)
=> A looks most promising, because it is the one tuhat takes advantage of the swagger definition of the API
find the 2 line code here.
https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/import-
azurermapimanagementapi?view=azurermps-6.13.0
There is an example of importing an API from an Open Api Link using Import-AzApiManagementApi cmdlet:
https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/import-azapimanagementapi#example-4--
import-an-api-from-a-open-api-link
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
And as mentioned here:
https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/import-azurermapimanagementapi
the Import-AzureRmApiManagementApi cmdlet is obsoleted by Import-AzApiManagementApi cmdlet.
You are creating a hazard notification system that has a single signaling server which triggers audio and visual
alarms to start and stop. You implement Azure Service Bus to publish alarms. Each alarm controller uses
Azure Service Bus to receive alarm signals as part of a transaction. Alarm events must be recorded for audit
purposes. Each transaction record must include information about the alarm type that was activated.
Which two actions should you perform? Each correct answer resents part of the solution.
A. Assign the value of the hazard message SessionID property to the ReplyToSessionId property.
B. Assign the value of the hazard message MessageId property to the DevileryCount property.
C. Assign the value of the hazard message SessionID property to the SequenceNumber property.
D. Assign the value of the hazard message MessageId property to the CorrelationId property.
E. Assign the value of the hazard message SequenceNumber property to the DeliveryCount property.
F. Assign the value of the hazard message MessageId property to the SequenceNumber property.
Explanation:
Correct Answer: AD
D: CorrelationId: Enables an application to specify a context for the message for the purposes of correlation; for
example, reflecting the MessageId of a message that is being replied to.
A: ReplyToSessionId: This value augments the ReplyTo information and specifies which SessionId should be set for
the reply when sent to the reply entity.
Incorrect Answers:
B, E: DeliveryCount -
Number of deliveries that have been attempted for this message. The count is incremented when a message lock
expires, or the message is explicitly abandoned by the receiver. This property is read-only.
C, E: SequenceNumber -
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
The sequence number is a unique 64-bit integer assigned to a message as it is accepted and stored by the broker
and functions as its true identifier. For partitioned entities, the topmost 16 bits reflect the partition identifier.
Sequence numbers monotonically increase and are gapless. They roll over to 0 when the 48-
64 bit range is exhausted. This property is read-only.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messages-payloads
You are developing an Azure function that connects to an Azure SQL Database instance. The function is
triggered by an Azure Storage queue.
`Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have
occurred because all pooled connections were in use and max pool size was reached.`
D. In the function.json file, change the value of the type option to queueScaling
Explanation:
Correct Answer: A
The problem is that number of connections to SQL Server reached the limit.
A different trigger is irrelevant. Changing to the Premium plan does not solve the problem with SQL Server connection
pool limits. There is no the queueScaling option.
BatchSize allows to group messages that reduce the number of required connections. This is the only relevant solution.
here: https://stackoverflow.com/questions/56489553/host-json-meaning-of-batchsize
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution. Determine whether the solution meets the stated goals.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
You are developing and deploying several ASP.NET web applications to Azure App Service. You plan to save
session state information and HTML output.
✑ Support controlled, concurrent access to the same session state data for multiple readers and a single
writer.
Proposed Solution: Deploy and configure Azure Cache for Redis. Update the web applications.
A. Yes
B. No
Explanation:
Correct Answer: YES
The session state provider for Azure Cache for Redis enables you to share session information between different
instances of an ASP.NET web application.
The same connection can be used by multiple concurrent threads.
Redis supports both read and write operations.
The output cache provider for Azure Cache for Redis enables you to save the HTTP responses generated by an ASP.NET
web application.
Note: Using the Azure portal, you can also configure the eviction policy of the cache, and control access to the cache by
adding users to the roles provided. These roles, which define the operations that members can perform, include Owner,
Contributor, and Reader. For example, members of the Owner role have complete control over the cache (including
security) and its contents, members of the Contributor role can read and write information in the cache, and members of
the
Reader role can only retrieve data from the cache.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching
HOTSPOT -
You are debugging an application that is running on Azure Kubernetes cluster named cluster1. The cluster
uses
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Azure Monitor for containers to monitor the cluster.
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? To answer, select the appropriate options in the answer
area.
Hot Area:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Box 1: ago(1d)
Box 2: distinct containerID -
Box 3: where ContainerID in (ContainerIDs)
Box 4: summarize Count by Computer
Summarize: aggregate groups of rows
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Use summarize to identify groups of records, according to one or more columns, and apply aggregations to them.
The most common use of summarize is count, which returns the number of results in each group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-queries
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/query-optimization
HOTSPOT -
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? To answer, select the appropriate options in the answer
area.
NOTE: Each correct selection is worth one point.
Hot Area:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Box 1: config -
To Configure logging for a web app use the command:
az webapp log config
Box 2: --docker-container-logging
Syntax include:
az webapp log config [--docker-container-logging {filesystem, off}]
Box 3: webapp -
To download a web app's log history as a zip file use the command: az webapp log download
Box 4: Tail –
https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest#az_webapp_log_tail
Reference:
https://docs.microsoft.com/en-us/cli/azure/webapp/log
You develop and deploy an ASP.NET web app to Azure App Service. You use Application Insights telemetry to
monitor the app.
You must test the app to ensure that the app is available and responsive from various points around the world
and at regular intervals. If the app is not responding, you must send an alert to support staff.
Which two test types can you use? Each correct answer presents a complete solution.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
NOTE: Each correct selection is worth one point.
A. integration
B. multi-step web
C. URL ping
D. unit
E. load
Explanation:
Correct Answer: BC
There are three types of availability tests:
✑ URL ping test: a simple test that you can create in the Azure portal.
✑ Multi-step web test: A recording of a sequence of web requests, which can be played back to test more complex
scenarios. Multi-step web tests are created in
Visual Studio Enterprise and uploaded to the portal for execution.
✑ Custom Track Availability Tests: If you decide to create a custom application to run availability tests, the
TrackAvailability() method can be used to send the results to Application Insights.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
DRAG DROP -
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?
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Select and Place:
Explanation:
Correct Answer:
External
Private
Authorization
https://docs.microsoft.com/en-us/azure/api-management/api-management-caching-policies#attributes
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-cache-by-key#architecture
You are developing applications for a company. You plan to host the applications on Azure App Services.
✑ Verify that the websites respond within a specified time threshold. Dependent requests such as images and
JavaScript files must load properly.
✑ 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.
A. Create a Selenium web test and configure it to run from your workstation as a scheduled task.
Explanation:
Correct Answer: B
https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability
The name URL ping test is a bit of a misnomer. These tests don't use Internet Control Message Protocol (ICMP) to check
your site's availability. Instead, they use more advanced HTTP request functionality to validate whether an endpoint is
responding. They measure the performance associated with that response. They also add the ability to set custom
success criteria, coupled with more advanced features like parsing dependent requests and allowing for retries.
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.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
You must send an alert when any of the function endpoints are unavailable or responding too slowly.
B. Create a timer triggered function that calls TrackAvailability() and send the results to Application Insights.
C. Create a timer triggered function that calls GetMetric("Request Size") and send the results to Application
Insights.
D. Add a new diagnostic setting to the Azure Function app. Enable the FunctionAppLogs and Send to Log
Analytics options.
Explanation:
Correct Answer: B
You can create an Azure Function with TrackAvailability() that will run periodically according to the configuration given in
TimerTrigger function with your own business logic. The results of this test will be sent to your Application Insights
resource, where you will be able to query for and alert on the availability results data.
This allows you to create customized tests similar to what you can do via Availability Monitoring in the portal.
Customized tests will allow you to write more complex availability tests than is possible using the portal UI, monitor an
app inside of your Azure VNET, change the endpoint address, or create an availability test even if this feature is not
available in your region.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-azure-functions
DRAG DROP -
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.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Select and Place:
Explanation:
Correct Answer:
Step 1: Register the application with the Microsoft identity platform.
To authenticate with the Microsoft identity platform endpoint, you must first register your app at the Azure app
registration portal
Step 2: Build a client by using the client app ID
Step 3: Create an authentication provider
Create an authentication provider by passing in a client application and graph scopes.
Code example:
DeviceCodeProvider authProvider = new DeviceCodeProvider(publicClientApplication, graphScopes);
// Create a new instance of GraphServiceClient with the authentication provider.
GraphServiceClient graphClient = new GraphServiceClient(authProvider);
Step 4: Create a new instance of the GraphServiceClient
Step 5: Invoke the request to the Microsoft Graph API
Reference:
https://docs.microsoft.com/en-us/graph/auth-v2-service
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
https://docs.microsoft.com/en-us/graph/sdks/create-client
DRAG DROP -
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 an
Azure 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.
Select and Place:
Explanation:
Correct Answer:
Step 1: Create a Log Analytics workspace
Before you start, you need a Log Analytics workspace.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Step 2: Install the Logic Apps Management solution
To set up logging for your logic app, you can enable Log Analytics when you create your logic app, or you can install the
Logic Apps Management solution in your
Log Analytics workspace for existing logic apps.
Step 3: Add a diagnostic setting to the Azure Logic App
DRAG DROP -
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:
Explanation:
Correct Answer:
Step 1: Create a Log Analytics workspace.
First create the workspace.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Step 2: Add a VMInsights solution.
Before a Log Analytics workspace can be used with VM insights, it must have the VMInsights solution installed.
Step 3: Install agents on the VM and VM scale set to be monitored.
Prior to onboarding agents, you must create and configure a workspace. Install or update the Application Insights Agent
as an extension for Azure virtual machines and VM scalet sets.
Step 4: Create an Application Insights resource
Sign in to the Azure portal, and create an Application Insights resource.
Once a workspace-based Application Insights resource has been created, configuring monitoring is relatively
straightforward.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-configure-workspace
https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
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.
Which two solutions will achieve the goal? Each correct answer presents a complete solution.
Explanation:
Correct Answer: BD
Reference:
https://azure.microsoft.com/en-us/blog/creating-a-web-test-alert-programmatically-with-application-insights/
DRAG DROP -
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? To answer, drag the appropriate feature to the correct requirements.
Each feature 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.
NOTE: Each correct selection is worth one point.
Select and Place:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Reference:
https://www.red-gate.com/simple-talk/development/dotnet-development/overview-of-azure-cache-for-redis/
https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching
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? Each correct answer presents part of the
solution.
A. Telemetry.Context.Cloud.RoleInstance
B. Telemetry.Id
C. Telemetry.Name
D. Telemetry.Context.Operation.Id
E. Telemetry.Context.Session.Id
Explanation:
Correct Answer: BD
message.Properties.Add("ParentId", operation.Telemetry.Id);
message.Properties.Add("RootId", operation.Telemetry.Context.Operation.Id);
Reference:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking#enqueue
Example:
public async Task Enqueue(string payload)
{
// StartOperation is a helper method that initializes the telemetry item
// and allows correlation of this operation with its parent and children. var operation =
telemetryClient.StartOperation<DependencyTelemetry>("enqueue " + queueName);
operation.Telemetry.Type = "Azure Service Bus";
operation.Telemetry.Data = "Enqueue " + queueName;
var message = new BrokeredMessage(payload);
// Service Bus queue allows the property bag to pass along with the message.
// We will use them to pass our correlation identifiers (and other context)
// to the consumer.
message.Properties.Add("ParentId", operation.Telemetry.Id);
message.Properties.Add("RootId", operation.Telemetry.Context.Operation.Id);
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking
HOTSPOT -
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.
To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Yes - The file MIME type application/xml is supported
No - The root cause is that file must be between 1 KB and 8 MB in size, inclusive. No need to purge all cached assets.
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-caching
,You don’t need to purge the cache assets. Here the issue is that the file size needs to be less than 8MB
Yes - Brotli compression type is supported
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-caching#file-compression
Don't be confused by the phrase "the Front Door environment requests the file from the backend in chunks of 8 MB.". It
is irrelevant to compression
HOTSPOT -
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? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Hot Area:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Box 1: Override -
Override: Ignore origin-provided cache duration; use the provided cache duration instead. This will not override cache-
control: no-cache.
Set if missing: Honor origin-provided cache-directive headers, if they exist; otherwise, use the provided cache duration.
Incorrect:
Bypass cache: Do not cache and ignore origin-provided cache-directive headers.
Box 2: 1 hour -
All media content must expire from the cache after one hour.
Box 3: Cache every unique URL -
Cache every unique URL: In this mode, each request with a unique URL, including the query string, is treated as a unique
asset with its own cache. For example, the response from the origin server for a request for example.ashx?q=test1 is
cached at the POP node and returned for subsequent caches with the same query string. A request for
example.ashx?q=test2 is cached as a separate asset with its own time-to-live setting.
Incorrect Answers:
Bypass caching for query strings: In this mode, requests with query strings are not cached at the CDN POP node. The
POP node retrieves the asset directly from the origin server and passes it to the requestor with each request.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Ignore query strings: Default mode. In this mode, the CDN point-of-presence (POP) node passes the query strings from
the requestor to the origin server on the first request and caches the asset. All subsequent requests for the asset that
are served from the POP ignore the query strings until the cached asset expires.
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-query-string
DRAG DROP -
You develop a web app that uses tier D1 app service plan by using the Web Apps feature of Microsoft Azure
App Service. Spikes in traffic have caused increases in page load times.
You need to ensure that the web app automatically scales when CPU load is about 85 percent and minimize
costs. 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.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders
you select.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Step 1: Configure the web app to the Standard App Service Tier
The Standard tier supports auto-scaling, and we should minimize the cost.
Step 2: Enable autoscaling on the web app
First enable autoscale -
Step 3: Add a scale rule -
Step 4: Add a Scale condition -
Reference:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-autoscale-get-started
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.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
NOTE: Each correct selection is worth one point.
A. noeviction
B. allkeys-lru
C. volatile-lru
D. allkeys-random
E. volatile-ttl
F. volatile-random
Explanation:
Correct Answer: BC
B: The allkeys-lru policy evict keys by trying to remove the less recently used (LRU) keys first, in order to make space for
the new data added. Use the allkeys-lru policy when you expect a power-law distribution in the popularity of your
requests, that is, you expect that a subset of elements will be accessed far more often than the rest.
C: volatile-lru: evict keys by trying to remove the less recently used (LRU) keys first, but only among keys that have an
expire set, in order to make space for the new data added.
Note: The allkeys-lru policy is more memory efficient since there is no need to set an expire for the key to be evicted
under memory pressure.
Reference: https://redis.io/topics/lru-cache
DRAG DROP -
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? 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:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Step 1: Create an Application Insights resource
Creating an Application Insights workspace-based resource us a prerequisite.
Step 2: Copy the connection string
A connection string identifies the resource that you want to associate with your telemetry data. It also allows you to
modify the endpoints that your resource will use as a destination for your telemetry. You'll need to copy the connection
string and add it to your application's code or to an environment variable.
Step 3: Configure the Application Insights SDK in the app
The Application Insights SDK for ASP.NET Core can monitor your applications no matter where or how they run.
Install the Application Insights SDK NuGet package for ASP.NET Core.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core
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.
A. Profiler
B. Smart Detection
E. Snapshot Debugger
Explanation:
Correct Answer: C
Live Metrics Stream -
Deploying the latest build can be an anxious experience. If there are any problems, you want to know about them right
away, so that you can back out if necessary. Live Metrics Stream gives you key metrics with a latency of about one
second.
With Live Metrics Stream, you can:
* Validate a fix while it's released, by watching performance and failure counts.
* Etc.
Incorrect:
* Profiler
Azure Application Insights Profiler provides performance traces for applications running in production in Azure. Profiler:
Captures the data automatically at scale without negatively affecting your users.
Helps you identify the ג€hotג€ code path spending the most time handling a particular web request.
* Snapshot debugger
When an exception occurs, you can automatically collect a debug snapshot from your live web application. The snapshot
shows the state of source code and variables at the moment the exception was thrown. The Snapshot Debugger in Azure
Application Insights monitors exception telemetry from your web app. It collects snapshots on your top-throwing
exceptions so that you have the information you need to diagnose issues in production.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/live-stream
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
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.
Which two actions should you perform? Each correct answer presents part of the solution.
Explanation:
Correct Answer: BD
RDB persistence - When you use RDB persistence, Azure Cache for Redis persists a snapshot of your cache in a binary
format. The snapshot is saved in an
Azure Storage account. The configurable backup frequency determines how often to persist the snapshot. If a
catastrophic event occurs that disables both the primary and replica cache, the cache is reconstructed using the most
recent snapshot.
Note: Azure Cache for Redis supports zone redundant configurations in the Premium and Enterprise tiers. A zone
redundant cache can place its nodes across different Azure Availability Zones in the same region. It eliminates data
center or AZ outage as a single point of failure and increases the overall availability of your cache.
Incorrect:
Not A: Zone redundancy doesn't support AOF persistence or work with geo-replication currently.
Not C: No need for a second storage account.
Reference:
https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-premium-persistence
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.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
What should you do?
Explanation:
Correct Answer: A
https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=portal
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution that might meet the stated goals. Some question sets might have more than one
correct solution, while others might not have a correct solution.
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.
Solution: Provision an Azure Service Bus. Configure a topic to receive the device data by using a correlation
filter.
A. Yes
B. No
Explanation:
Correct Answer: YES
A message is raw data produced by a service to be consumed or stored elsewhere. The Service Bus is for high-value
enterprise messaging, and is used for order processing and financial transactions.
Reference:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution that might meet the stated goals. Some question sets might have more than one
correct solution, while others might not have a correct solution.
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.
Solution: Provision an Azure Event Grid. Configure event filtering to evaluate the device identifier.
A. Yes
B. No
Explanation:
Correct Answer: NO
Instead use an Azure Service Bus, which is used order processing and financial transactions.
Note: An event is a lightweight notification of a condition or a state change. Event hubs is usually used reacting to status
changes.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
A .NET application needs to receive a message each time an Azure virtual machine finishes processing data.
The
messages must NOT persist after being processed by the receiving application.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
You need to implement the .NET object that will receive the messages.
A. QueueClient
B. SubscriptionClient
C. TopicClient
D. CloudQueueClient
Explanation:
Correct Answer: A
A queue allows processing of a message by a single consumer. Need a CloudQueueClient to access the Azure VM.
Incorrect Answers:
B, C: In contrast to queues, topics and subscriptions provide a one-to-many form of communication in a publish
and subscribe pattern. It's useful for scaling to large numbers of recipients.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions
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.
B.
C.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
D.
Explanation:
Correct Answer: A
the Service Bus has already been created and now they ask you to complete the configuration. The next step is creating
the queue.
In fact, all the steps are shown:
B. Create group.
C. Create Service Bus.
A. Create Queue. <-- Correct answer.
D. Get connectionstring.
----------
A service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.
Note:
Steps:
Step 1: # Create a resource group
resourceGroupName="myResourceGroup"
az group create --name $resourceGroupName --location eastus
Step 2: # Create a Service Bus messaging namespace with a unique name namespaceName=myNameSpace$RANDOM
az servicebus namespace create --resource-group $resourceGroupName --name $namespaceName --location eastus
Step 3: # Create a Service Bus queue
az servicebus queue create --resource-group $resourceGroupName --namespace-name $namespaceName --name
BasicQueue
Step 4: # Get the connection string for the namespace
connectionString=$(az servicebus namespace authorization-rule keys list --resource-group $resourceGroupName --
namespace-name $namespaceName --name
RootManageSharedAccessKey --query primaryConnectionString --output tsv)
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli
HOTSPOT -
You are developing an application that uses Azure Storage Queues.
You have the following code:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Explanation:
Correct Answer:
Box 1: No -
The QueueDescription.LockDuration property gets or sets the duration of a peek lock; that is, the amount of time that the
message is locked for other receivers.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
Box 2: Yes -
You can peek at the message in the front of a queue without removing it from the queue by calling the PeekMessage
method.
Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/storage/queues/storage-dotnet-how-to-use-queues
https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.queuedescription.lockduration
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.
Explanation:
Correct Answer: C
As a solution architect/developer, you should consider using Service Bus queues when:
➠ Your solution requires the queue to provide a guaranteed first-in-first-out (FIFO) ordered delivery.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queuescompared-
contrasted
DRAG DROP -
A company backs up all manufacturing data to Azure Blob Storage. Admins move blobs from hot storage to
archive tier storage every month You must automatically move blobs to Archive tier after they have not been
modified within 180 days. The path for
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
any item that is not archived must be placed in an existing queue. This operation must be performed
automatically once a month. You set the value of TierAgeInDays to -180.
How should you configure the Logic App? To answer, drag the appropriate triggers or action blocks to the
correct trigger or action slots. Each trigger or action block 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.
Correct Answer:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Box 1: Reoccurance..
To regularly run tasks, processes, or jobs on specific schedule, you can start your logic app workflow with the builtin
Recurrence - Schedule trigger. You can set a date and time as well as a time zone for starting the workflow and a
recurrence for repeating that workflow. Set the interval and frequency for the recurrence. In this example, set these
properties to run your workflow every
week.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Box 2: Condition..
To run specific actions in your logic app only after passing a specified condition, add a conditional statement. This
control structure compares the data in your workflow against specific values or fields. You can then specify different
actions that run based on whether or not the data meets the condition.
Box 3: Put a message on a queue -
The path for any item that is not archived must be placed in an existing queue.
Note: Under If true and If false, add the steps to perform based on whether the condition is met.
Box 4: ..tier it to Cool or Archive tier.
Archive item.
Box 5: List blobs 2 -
Reference:
https://docs.microsoft.com/en-us/azure/connectors/connectors-native-recurrence
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-loops
https://docs.microsoft.com/enus/azure/logic-apps/logic-apps-control-flow-conditional-statement
Note: This question is part of a series of questions that present the same scenario. Each question in the series
contains a unique solution that might meet the stated goals. Some question sets might have more than one
correct solution, while others might not have a correct solution.
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 Service application that processes queue data when it receives a message from a
mobile application. Messages may not be sent to the service consistently.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
✑ Use first-in-first-out (FIFO) ordering of messages.
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.
A. Yes
B. No
Explanation:
Correct Answer: no
Becz FIFO is supported by Service bus queue and Service bus queue should be use for data less than 80GB
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-
contrasted
Create an Azure Function App that uses an Azure Service Bus Queue trigger.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-storage-queue-triggered-function
DRAG DROP -
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? To answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the correct order.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Select and Place:
Explanation:
Correct Answer:
Box 1: Create a single Service Bus Namespace
To begin using Service Bus messaging entities in Azure, you must first create a namespace with a name that is unique
across Azure. A namespace provides a scoping container for addressing Service Bus resources within your application.
Box 2: Create a Service Bus Topic for each restaurant for which a driver can receive messages.
Create topics.
Box 3: Create a Service Bus subscription for each restaurant for which a driver can receive orders.
Topics can have multiple, independent subscriptions.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview
HOTSPOT -
You develop a news and blog content app for Windows devices.
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
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? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
Explanation:
Correct Answer:
Box 1: NotificationHubClient -
Box 2: NotificationHubClient -
Box 3: CreateClientFromConnectionString
// Initialize the Notification Hub
NotificationHubClient hub = NotificationHubClient.CreateClientFromConnectionString(listenConnString, hubName);
Box 4: SendWindowsNativeNotificationAsync
Send the push notification.
var result = await hub.SendWindowsNativeNotificationAsync(windowsToastPayload);
Reference:
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service-mobile/app-service-mobile-windows-
store-dotnet-get-started-push.md
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)
For any other enquiry, please drop us a mail at
[email protected]
2022 Latest AZ-900 Exam Actual Questions and other exam series on CertyIQ (YouTube Channel)