首页 > 其他分享 >az-204 practice-003

az-204 practice-003

时间:2023-11-16 14:12:01浏览次数:32  
标签:multiple consistency practice 003 API Learn Azure az Microsoft

Question 2 of 50

You manage an Azure API Management instance.

You need to limit the maximum number of API calls allowed from a single source for a specific time interval.

What should you configure?

Policy

This item tests the candidate’s knowledge of polices in Azure API Management, which is part of implementing API Management.

API publishers can change API behavior through configuration using policies. Policies are a collection of statements that run sequentially on the request or response of an API. A product has one or more APIs, a usage quota, and the terms of use and cannot be used to restrict the number of API calls. Subscriptions are the most common way for API consumers to access APIs published through an API Management instance. API is a representation of a back-end API and needs to be configured with a policy to implement a rate limit.

How Azure API Management Works - Training | Microsoft Learn

Subscriptions in Azure API Management | Microsoft Learn

Question 5 of 50

You manage an Azure event hub.

You need to ensure that multiple load-balanced instances of a .NET application (version 5.0) can be used to scale event processing.

Which event processor client should you use?

 `EventProcessorClient`

This item tests the candidate’s knowledge of scaling event processing applications, which is part of developing event-based solutions.

EventProcessorClient balances the load between multiple instances of a program in newer .NET versions (version 5.0). EventHubConsumerClient balances the load between multiple instances of a program in Python and JavaScript. EventProcessorHost balances the load between multiple instances of a program in earlier .NET versions. The EventHubProducerClient class is used to send events to an event hub.

Explore Azure Event Hubs - Training | Microsoft Learn

Scale your processing application - Training | Microsoft Learn

EventHubProducerClient class | Microsoft Learn

Question 6 of 50

You have an instance of Azure Event Grid.

You need to ensure an application can receive events filtered by values in the data field in the advanced filtering options.

Which filter should you use?

advanced

This item tests the candidate’s knowledge of using event filters, which is part of developing event-based solutions.

An advanced filter is used to filter events by values in the data fields and specify the comparison operator. An event type filter is used to send only certain event types to the endpoint. A subject filter is used to specify a starting or ending value for the subject. Topics is not a type of filter; the event grid topic provides an endpoint where the source sends events.

Filter events - Training | Microsoft Learn

Azure Event Grid concepts - Azure Event Grid | Microsoft Learn

 

Question 8 of 50

You have an Azure Service Bus queue.

You need to ensure a publisher can send messages into a topic and multiple subscribers can become eligible to consume the messages.

Which message routing pattern should you use?

multicast request/reply

This item tests the candidate’s knowledge of message routing in Azure Service Bus, which is part of developing message-based solutions.

A publisher can send a message into a topic and multiple subscribers can become eligible to consume the message. A publisher can send a message into a queue and expect a reply from the message consumer, but multiple subscribers cannot consume the message. This session feature enables multiplexing of streams of related messages through a single queue but cannot be consumed by multiple subscribers. This session feature enables multiplexed replies, allowing several publishers to share a reply queue, but a message cannot be consumed by multiple subscribers.

Explore Service Bus message payloads and serialization - Training | Microsoft Learn

Azure Service Bus messages, payloads, and serialization - Azure Service Bus | Microsoft Learn

 

Question 9 of 50

You manage a multiregion deployment of an Azure Cosmos DB account named account1.

You need to configure the default consistency level for account1. The consistency level must maximize throughput and minimize latency for write operations.

Which consistency level should you use?

 eventual

This item tests the candidate’s knowledge of selecting the consistency level, which is part of developing Azure Cosmos DB solutions.

The eventual consistency level maximizes throughput and minimizes latency.

The bounded staleness consistency level provides lower throughput and higher latency comparing with the remaining answer choices.

The consistent prefix consistency level provides higher throughput and lower latency for write operations than the session consistency level but lower throughput and higher latency than the eventual consistency levels.

The session consistency level provides higher throughput and lower latency for write operations than the bounded staleness consistency level but lower throughput and higher latency than the eventual and consistent prefix consistency levels.

Choose the right consistency level - Training | Microsoft Learn

Consistency levels in Azure Cosmos DB | Microsoft Learn

 

Question 11 of 50

You plan to implement a storage mechanism for managing state across multiple change feed consumers.

You need to configure the change feed processor in the .NET SDK for Azure Cosmos DB for NoSQL API.

Which component should you use?

Lease container

This item tests the candidate’s knowledge of configuring change feed processor as part of developing solutions that use Azure Cosmos DB.

The lease container component serves as a storage mechanism to manage state across multiple change feed consumers. The delegate component is the code within the client application that implements business logic for each batch of changes. The host component is a client application instance that listens for changes from the change feed. The monitored container component is monitored for any insert or update operations. It does not serve as a storage mechanism to manage state across multiple change feed consumers.

Understand change feed features in the SDK - Training | Microsoft Learn

How to use Azure Cosmos DB change feed with Azure Functions | Microsoft Learn

 

 

 

 

 

 

标签:multiple,consistency,practice,003,API,Learn,Azure,az,Microsoft
From: https://www.cnblogs.com/chucklu/p/17836075.html

相关文章

  • 【Azure 容器应用】在中国区Azure上创建的容器服务默认应用域名不全
    问题描述在中国区Azure上,创建ContainerApp服务,发现默认的应用程序URL只有前半段,并不是一个完整的域名。这是什么情况呢?正常的ContainerApp的URL格式为:<containerappname>.<environment>.<region>.azurecontainerapps.cn。如:mymoreappinone04.icysand-c9bc5d4e.chinanorth3.azur......
  • 基于 Amazon EKS 搭建开源向量数据库 Milvus
    一、前言生成式AI(GenerativeAI)的火爆引发了广泛的关注,也彻底点燃了向量数据库(VectorDatabase)市场,众多的向量数据库产品开始真正出圈,走进大众的视野。根据 IDC的预测,到2025年,超过80%的业务数据将是非结构化的,以文本、图像、音频、视频或其他格式存储。而大规模存储和查......
  • 极简流程引擎lazy-flow初赏
    极简流程引擎lazy-flow初赏支持清单无限级网关(支持)或签(多人审批,一人通行)(支持)串签(多人审批,按序审批)(支持)并签(多人审批,达成放行)(支持)任务转办(给别人审,自己不再参与)(支持)流程回退(支持逐步回退)......
  • 【Azure APIM】APIM Self-Hosted网关中,添加网关日志以记录请求头信息(Request Header
    问题描述在APIMGateway日志中,对于发送到APIMHost的请求,只记录了一些常规的URL,Status,Time,IP等信息。关于请求Header,Body中的信息,因为隐私保护的原因,默认没有记录。[Info]2023-11-16T06:19:28.482[GatewayLogs],isRequestSuccess:True,totalTime:2196,category:......
  • az-204
    https://esi.microsoft.com/getcertificationMicrosoftCertified:AzureDeveloperAssociate-AZ-204MicrosoftAzureDevelopersdesign,build,test,andmaintaincloudsolutions,suchasapplicationsandservices,partneringwithcloudsolutionarchitects,......
  • 大语言模型和生成式AI的关系 | 认识 Amazon Bedrock
    大语言模型为什么这么火?一提到大语言模型,想必大家第一个想到的就是ChatGPT这样的自然语言处理工具,那么大语言模型是什么?大语言模型和生成式AI是什么关系?就让我以亚马逊云科技为例子,浅显易懂地带你入门大语言模型吧。首先,让我们来了解一下大语言模型和生成式AI的概念。大语言模型是......
  • [题解] P4435 [COCI2017-2018#2] ​​Garaža
    P4435[COCI2017-2018#2]Garaža给你一个长度为\(n\)的序列\(a\),单点改,查询区间\(\gcd\)不为1的子区间个数。\(n,Q\le10^5,a_i\le10^9\)。先看单次全局查询怎么做。考虑一个分治,每次我们要计算跨过分治中心\(mid\)的答案。因为这个是单调的,所以可以双指针做......
  • Azure DevOps 发布.Net项目到Windows IIS站点之通过公网IP(账号、密码)
    在AzureDevOps中通过指定公网IP发布代码到指定目录#ASP.NETCore(.NETCore7.0)#BuildandtestASP.NETCoreprojectstargeting.NETCore7.0.#Addstepsthatpublishsymbols,savebuildartifacts,andmore:#https://docs.microsoft.com/azure/devops/pipeli......
  • Azure DevOps 发布.Net项目到Windows IIS站点之Azure项目发布内网VM
    当你有一个需求,需要通过AzureDevOps发布到一个没有公网的VM的时候,你将需要使用以下脚本trigger:-masterpool:vmImage:'windows-2022'variables:-name:Build.ArtifactStagingDirectoryvalue:'$(Build.Repository.LocalPath)\artifacts'-name:buildConf......
  • 【Azure Storage Blob】如何通过.NET Azure Storage Blobs SDK获取到Blob的MD5值呢?
    问题描述通过.NETAzureStorageBlobsSDK,获取Blob的MD5值,查看了Azure操作手册中,介绍可以使用 blob.Properties.ContentMD5属性。//blob文件测试CloudBlobClientblobClient=storageAccount.CreateCloudBlobClient();CloudBlobContainercontainer=blobClient......