Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Az 204 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Microsoft AZ-204

Developing Solutions for Microsoft Azure


Microsoft AZ-204 Dumps Available Here at:
https://www.certification-questions.com/microsoft-exam/az-204-dumps.html

Enrolling now you will get access to 257 questions in a unique set of AZ-
204 dumps

Question 1
You need to store the user agreements.
Where should you store the agreement after it is completed?

Options:

A. Azure Storage queue

B. Azure Event Hub

C. Azure Service Bus topic

D. Azure Event Grid topic

Answer: B

Explanation:
Azure Event Hub is used for telemetry and distributed data streaming.
This service provides a single solution that enables rapid data retrieval for real-time processing as
well as repeated replay of stored raw data. It can capture the streaming data into a file for processing
and analysis.
It has the following characteristics:
low latency
capable of receiving and processing millions of events per second
at least once delivery
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
===================================================
Topic 1, Contoso, Ltd
Azure Active Directory
Contoso, Ltd. uses Azure Active Directory (Azure AD) for both internal and guest accounts.
Requirements
ContentAnalysisService
The company's data science group built ContentAnalysisService which accepts user generated
content as a string and returns a probable value for inappropriate content. Any values over a specific

https://www.certification-questions.com
Microsoft AZ-204

threshold must be reviewed by an employee of Contoso, Ltd.


You must create an Azure Function named CheckUserContent to perform the content checks.
Costs
You must minimize costs for all Azure services.
Manual review
To review content, the user must authenticate to the website portion of the ContentAnalysisService
using their Azure AD credentials. The website is built using React and all pages and API endpoints
require authentication. In order to review content a user must be part of a ContentReviewer role. All
completed reviews must include the reviewer's email address for auditing purposes.
High availability
All services must run in multiple regions. The failure of any service in a region must not impact overall
application availability.
Monitoring
An alert must be raised if the ContentUploadService uses more than 80 percent of available CPU
cores.
Security
You have the following security requirements:
Any web service accessible over the Internet must be protected from cross site scripting attacks.
All websites and services must use SSL from a valid root certificate authority.
Azure Storage access keys must only be stored in memory and must be available only to the service.
All Internal services must only be accessible from internal Virtual Networks (VNets).
All parts of the system must support inbound and outbound traffic restrictions.
All service calls must be authenticated by using Azure AD.
User agreements
When a user submits content, they must agree to a user agreement. The agreement allows
employees of Contoso, Ltd. to review content, store cookies on user devices, and track user's IP
addresses.
Information regarding agreements is used by multiple divisions within Contoso, Ltd.
User responses must not be lost and must be available to all parties regardless of individual service
uptime. The volume of agreements is expected to be in the millions per hour.
Validation testing
When a new version of the ContentAnalysisService is available the previous seven days of content
must be processed with the new version to verify that the new version does not significantly deviate
from the old version.
Issues
Users of the ContentUploadService report that they occasionally see HTTP 502 responses on specific
pages.
Code
ContentUploadService

https://www.certification-questions.com
Microsoft AZ-204

Question 2
You need to ensure that validation testing is triggered per the requirements.
How should you complete the code segment? To answer, select the appropriate values in the answer

https://www.certification-questions.com
Microsoft AZ-204

area.
NOTE: Each correct selection is worth one point.

Options:

A.

https://www.certification-questions.com
Microsoft AZ-204

Answer: A

Explanation:
tps://docs.microsoft.com/en-us/azure/devops/notifications/oob-supported-event-types

Explanation:

Question 3
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.
NOTE: Each correct selection is worth one point.

https://www.certification-questions.com
Microsoft AZ-204

Options:

A.

Answer: A

Explanation:
tps://docs.microsoft.com/en-us/graph/api/resources/approle

Explanation:

Question 4
You need to add YAML markup at line CS17 to ensure that the ContentUploadService can
access Azure Storage access keys.
How should you complete the YAML markup? To answer, drag the appropriate YAML segments to the

https://www.certification-questions.com
Microsoft AZ-204

correct locations. Each YAML 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.
NOTE: Each correct selection is worth one point.

Options:

A.

Answer: A

Explanation:
tps://docs.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret

Explanation:

https://www.certification-questions.com
Microsoft AZ-204

Question 5
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 complete the source code of the subscription client
What should you do?

Options:

A . a w a i t s u b s c r i p t i o n C l i e n t . A d d R u l e A s y n c ( n e w
RuleDescription(RuleDescription.DefaultRuleName,

new TrueFilter()));

B. subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName,

SubscriptionName);

C. await subscriptionClient.CloseAsync();

D. subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync,
messageHandlerOptions);

Answer: D

Question 6
You need to add code at line AM10 of the application manifest to ensure that the requirement
for manually reviewing content can be met.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

https://www.certification-questions.com
Microsoft AZ-204

Options:

A.

https://www.certification-questions.com
Microsoft AZ-204

Answer: A

Question 7
You need to ensure that network security policies are met.
How should you configure network security? To answer, select the appropriate options in the answer
area.
NOTE: Each correct selection is worth one point.

https://www.certification-questions.com
Microsoft AZ-204

Options:

A.

Answer: A

Explanation:
tps://docs.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
https://www.upguard.com/articles/10-tips-for-securing-your-nginx-deployment

Explanation:

https://www.certification-questions.com
Microsoft AZ-204

Question 8
You are developing an Azure function that connects to an Azure SQL Database instance. The
function is triggered by an Azure Storage queue.
You receive reports of numerous System.InvalidOperationExceptions with the following message:
"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." You
need to prevent the exception.
What should you do?

Options:

A. Convert the trigger to Azure Event Hub

B. In the function.json file, change the value of the type option to queueScaling

C. Convert the Azure Function to the Premium plan

D. In the host.json file, decrease the value of the batchSize option

Answer: C

Question 9
You need to implement the bindings for the CheckUserContent function.
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.

https://www.certification-questions.com
Microsoft AZ-204

Options:

A.

https://www.certification-questions.com
Microsoft AZ-204

Answer: A

Explanation:
tps://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-output

Explanation:

Question 10
You need to secure the Shipping Function app.
How should you configure the app? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

https://www.certification-questions.com
Microsoft AZ-204

Options:

A.

https://www.certification-questions.com
Microsoft AZ-204

Answer: A

Explanation:
ttps://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-scenarios

Explanation:

Would you like to see more? Don't miss our AZ-204 PDF
file at:
https://www.certification-questions.com/microsoft-pdf/az-204-pdf.html

https://www.certification-questions.com

You might also like