nerdexam
MicrosoftMicrosoft

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.

Submitted by fernanda_arg· Mar 30, 2026

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 authenticationRef field is used to refer to an external TriggerAuthentication object for authentication, but it is optional and not as fundamental as type and metadata for defining the core scaling logic.
  • D. The name field is an optional identifier for the trigger and does not affect its functionality for scaling based on the event source.
  • E. The metricType field 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.

Full AZ-204 PracticeBrowse All AZ-204 Questions