Exam AZ-204 All QuestionsBrowse all questions from this 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.

    Correct Answer: A, B

    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
applepieOptions: BC

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

nardkOptions: AB

A. metadata B. type

1CY1

Kubernetes us meant to be out of scope.

james2033Options: AB

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