AZ-204 Test 2

0%

You're creating and running an Azure Batch task with code.

You've set up a cluster of compute nodes.

To submit a batch job to the Batch service, you must select the appropriate class and method.

Which approach should you take?

Correct! Wrong!

Explanation:
A batch job consists of one or more tasks that are logically grouped together. A job contains settings that are common to all tasks, such as priority and the pool on which tasks will be conducted. The BatchClient is used throughout the program. JobOperations. To create a job on your pool, use the CreateJob method.

The work is submitted to the Batch service using the Commit method. The job has no tasks at first.

{

CloudJob job = batchClient.JobOperations.CreateJob();

job.Id = JobId;

job.PoolInformation = new PoolInformation { PoolId = PoolId };

job.Commit();

}

You create an Azure web application. Application Insights is used to keep track of the web app's performance. You must make certain that the cost of Application Insights does not exceed a predetermined budget.
What are your options?

Correct! Wrong!

Explanation:
Sampling is a good strategy to cut costs and keep within your monthly quota.

To reduce network traffic, you can configure sampling manually in the portal on the Usage and estimated expenses page; in the ASP.NET SDK in the.config file; or in the Java SDK in the ApplicationInsights.xml file.

The ASP.NET SDK uses adaptive sampling by default. Adaptive sampling adjusts automatically to the volume of telemetry sent by your app. It runs in the SDK of your web app automatically to reduce telemetry traffic on the network.

You are in charge of creating a website. The website will be hosted in Azure. After the website is launched, you anticipate a huge number of traffic. You must keep the website accessible and responsive while keeping costs low. You must launch the webpage.
What are your options?

Correct! Wrong!

Explanation:
WAWS (Windows Azure Web Sites) comes in three flavors: Standard, Free, and Shared.

Even for sites with only one instance, Standard mode has an enterprise-grade SLA (Service Level Agreement) of 99.9% monthly.

Standard mode differs from the other ways to purchase Windows Azure Web Sites in that it runs on dedicated instances.

In Azure, a company hosts web apps. Azure Monitor is used by the company. You see that some of the online apps have had their configurations changed. You'll need to figure out what's changed in the setting. Which Azure Monitor logs do you need to look at?

Correct! Wrong!

The correct answer:
AppServiceAuditLogs

You create a solution for a mobile app that stores user data in an Azure SQL Database.

Users' sensitive information is stored in the app.

Developers that query the data for the mobile app must be able to see sensitive information.

When configuring dynamic data masking, which three items must you look for? Each accurate response is accompanied with a component of the solution

Please select 3 correct answers

Correct! Wrong!

The correct answer:
Column

Table

Schema

You create a web app and deploy it to Azure App Service. In a single region, the Azure App Service employs the Basic plan.

You must record the telemetry.

Which of the three acts should you take? Each accurate response reveals a piece of the solution.

Please select 3 correct answers

Correct! Wrong!

The correct answer:
Enable Profiler

Enable Application Insights site extensions.

Restart an apps in the App Service plan

You're building an Azure API app that relies on built-in authentication and permission.

All app operations must be linked to the current user's information.

You'll need to get information about the current user.

What are two options for achieving the goal? Each accurate response provides a comprehensive solution.

Please select 2 correct answers

Correct! Wrong!

After you've set up App Service Authentication, users who try to access your API are prompted to sign in with their organizational account, which must be part of the same Azure AD as the Azure AD application that secures the API. The HttpContext allows you to get information about the current user after signing in. The property Current.User is used to identify the current user. While server code has access to request headers, client code can retrieve the same access tokens by using GET /.auth/me.

Note: This is the first in a series of questions on the same situation. Each question in the series has a unique solution that could help you achieve your objectives. Some question sets may have multiple valid answers, while others may not have a single correct answer. You will not be able to return to this section after answering a question. As a result, the review screen will not include these questions.
You create a software-as-a-service (SaaS) application for managing images. The photos are uploaded to a web service, which subsequently stores them in Azure Storage Blob storage. General-purpose V2 is the storage account type. When photos are submitted, they must be processed so that a mobile-friendly version of the image can be created and saved. In less than one minute, the process of creating a mobile-friendly version of the image must begin. You must create the procedure that initiates the photo processing.
Solution: Create a BlockBlobStorage storage account from the Azure Storage account.
Is the solution effective in achieving the goal?

Correct! Wrong!

Explanation:
Instead of converting the account, relocate the photo processing to an Azure Function that is triggered by the blob upload. Applications can react to events using Azure Storage events. Image or video processing, search indexing, or any file-oriented workflow are examples of common Blob storage event scenarios.
Only StorageV2 (general purpose v2) and BlobStorage storage accounts support event integration. Integration with Event Grid is not possible with Storage (general purpose v1).

You are in charge of creating a website. The website will be hosted in Azure. After the website is launched, you anticipate a huge number of traffic.
You must keep the website accessible and responsive while keeping costs low.
You must launch the webpage.
So, what are your options?

Correct! Wrong!

Explanation:
WAWS (Windows Azure Web Sites) comes in three flavors: Standard, Free, and Shared. Even for sites with only one instance, Standard mode has an enterprise-grade SLA (Service Level Agreement) of 99.9% monthly.
Standard mode differs from the other ways to purchase Windows Azure Web Sites in that it runs on dedicated instances.

Premium Tests $49/mo
FREE April-2024