AZ-204 Test 1

0%

You develop a serverless application using several Azure Functions. These routines are used to link to data that is stored within the code. For an Azure Function App project, you wish to set up tracing. In the hostjson file, you must make changes to the configuration parameters.
What tool should you employ?

Correct! Wrong!

Explanation:
The Azure portal's function editor allows you to make changes to a function's function.json and code files. The function app's root folder contains the host.json file, which provides several runtime-specific configurations.

Your firm is working on an Azure API.
You must implement authentication for the Azure API, and you must meet the following criteria:
All API requests must be secure, according to the AZ-204 dumps.
Callers to the API must not transmit credentials to the API, according to AZ-204.
Which type of authentication should you use?

Correct! Wrong!

Explanation:
To authenticate with a backend service using the API Management service's managed identity, use the authentication-managed-identity policy. This policy effectively uses the managed identity to retrieve an access token for the given resource from Azure Active Directory. After successfully getting the token, the policy will use the Bearer scheme to set the token's value in the Authorization header.

You're working on an app that uses Azure Blob storage. For auditing purposes, the application must read the transaction logs of all changes to the blobs and blob metadata in the storage account. Only create, update, delete, and copy operations are allowed, and the changes must be kept in the order in which they occurred for compliance reasons.
The transaction logs must be processed asynchronously.
What are your options?

Correct! Wrong!

Explanation:
In Azure Blob Storage, you can change the feed support.
The objective of the change feed is to give transaction logs of all modifications made to your storage account's blobs and blob metadata. The change feed provides a read-only log of these modifications that is organized, guaranteed, durable, and immutable. Client applications can read these logs in streaming or batch mode at any time. The change feed enables you to create cost-effective and scalable solutions for processing change events in your Blob Storage account.

User agreements must be kept on file.
After the agreement is completed, where should you store it?

Correct! Wrong!

Explanation:
Telemetry and distributed data streaming are handled by Azure Event Hub.
This service provides a single solution that allows for both real-time data retrieval and recurrent replay of stored raw data. It can save streaming data to a file for analysis and processing.
The following are its characteristics:

low latency
capable of receiving and processing millions of events per second
at least once delivery

You create an application that lets users upload photographs and movies to Azure storage. The media is uploaded to a blob storage account named Account1 via a storage REST API call. Container1 and Container2 are two blob storage containers that you have.
Video uploading is done on a sporadic basis.
When a new movie is uploaded, you must copy specified blobs from Container1 to Container2.
What are your options?

Correct! Wrong!

Explanation:
The Start-AzureStorageBlobCopy cmdlet starts to copy a blob. Example 1: Copy a named blob C:PS>Start-AzureStorageBlobCopy -SrcBlob "ContosoPlanning2015" -DestContainer "ContosoArchives" -SrcContainer "ContosoUploads" This command starts the copy operation of the blob named ContosoPlanning2015 from the container named ContosoUploads to the container named ContosoArchives

You create and launch a web app using Azure App Service. Azure Traffic Manager is used to deploy the app across various regions. The app has Application Insights turned on.

You must examine the app's uptime for each month.

Which of the two solutions will be the most successful in achieving the goal? Each accurate response provides a comprehensive solution.

Please select 2 correct answers

Correct! Wrong!

The correct answer:
Azure Monitor metrics
and
Application Insights alerts

You create a web app for Azure App Service. In Azure Active Directory (Azure AD) and Twitter, you create an app registration for the app. Users must be authenticated, and all conversations must be encrypted with SSL. As the identity provider, the app must use Twitter. The Azure AD request must be validated in the app code.
What should you confirm?

Correct! Wrong!

The correct answer:
ID token header

You're building an app that will store data in CosmosDB. Batches of relational data will be processed by the app.

For the app, you must choose an API.

What API should you employ?

Correct! Wrong!

The correct answer:
SQL API

You're in charge of a data processing program that gets requests from an Azure Storage queue.

You must control who has access to the queue. You must meet the following criteria:

Allow access to the Azure queue for other applications.

Make sure you can disable queue access without having to re-generate the storage account keys.

Access should be specified at the queue level rather than at the storage account level.

Should you use a shared access signature (SAS) of a certain type?

Correct! Wrong!

Explanation:
The storage account key protects SAS. SAS grants access to a resource in only one of the Azure Storage services: Blob storage, Queue storage, Table storage, or Azure Files.

You can revoke rights for a service SAS using stored access policies rather than having to regenerate the storage account keys.

Premium Tests $49/mo
FREE December-2024