AZ-204 · Question #519
AZ-204 Question #519: Real Exam Question with Answer & Explanation
The correct answer is A: metadata. When configuring a custom scaling rule for Azure Container Apps using KEDA with an Azure Event Hub trigger, the type and metadata fields are essential to define the event source and its specific configuration.
Question
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.
Options
- Ametadata
- Btype
- CauthenticationRef
- Dname
- EmetricType
Explanation
When configuring a custom scaling rule for Azure Container Apps using KEDA with an Azure Event Hub trigger, the type and metadata fields are essential to define the event source and its specific configuration.
Common mistakes.
- C. The
authenticationReffield is used to refer to an externalTriggerAuthenticationobject for authentication, but it is optional and not as fundamental astypeandmetadatafor defining the core scaling logic. - D. The
namefield is an optional identifier for the trigger and does not affect its functionality for scaling based on the event source. - E. The
metricTypefield is typically associated with Horizontal Pod Autoscaler (HPA) metrics or specific KEDA scalers for interpreting metric values, but it's not a general top-level field for defining the event source itself in KEDA triggers.
Concept tested. KEDA trigger configuration for Azure Event Hub
Reference. https://keda.sh/docs/2.12/scalers/azure-event-hub/
Community Discussion
No community discussion yet for this question.