AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 327


You are developing several microservices to run on Azure Container Apps for a company. External TCP ingress traffic from the internet has been enabled for the microservices.

The company requires that the microservices must scale based on an Azure Event Hub trigger.

You need to scale the microservices by using a custom scaling rule.

Which two Kubernetes Event-driven Autoscaling (KEDA) trigger fields should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer: AB

To scale microservices using Kubernetes Event-driven Autoscaling (KEDA) with Azure Event Hub, you need to define a custom scaling rule which includes specifying the metadata and type trigger fields. The 'metadata' field is essential because it provides the specific parameters needed for the event source, such as the event hub name and consumer group. The 'type' field is required to specify the type of event source, which in this case is an Azure Event Hub. Both these fields are integral to setting up a scalable configuration based on Azure Event Hub triggers.

Discussion

4 comments
Sign in to comment
applepieOptions: BC
Jul 29, 2023

https://keda.sh/docs/2.11/scalers/azure-event-hub/

nardkOptions: AB
Sep 10, 2023

A. metadata B. type

james2033Options: AB
Mar 13, 2024

Scale the microservices by using a custom scaling rule --> Choose two Kubernetes event-driven auto-scaling trigger: metadata + type.

1CY1
Jul 16, 2024

Kubernetes us meant to be out of scope.