AZ-204 · Question #519
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 correct answer is A. metadata B. type. 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
Options
- Ametadata
- Btype
- CauthenticationRef
- Dname
- EmetricType
How the community answered
(23 responses)- A83% (19)
- C4% (1)
- D4% (1)
- E9% (2)
Why each option
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.
The `metadata` field is a collection of key-value pairs that provides the specific configuration details for the chosen KEDA scaler, such as `connectionStringSetting`, `consumerGroup`, and `eventHubName` for an Azure Event Hub trigger.
The `type` field specifies the event source for the KEDA scaler (e.g., 'azure-eventhub'), which tells KEDA which specific scaler to use to monitor and react to events.
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.
The `name` field is an optional identifier for the trigger and does not affect its functionality for scaling based on the event source.
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
Source: https://keda.sh/docs/2.12/scalers/azure-event-hub/
Topics
Community Discussion
No community discussion yet for this question.