Professional Standards & Competencies Flashcards
7 cards from real AZ-204 practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Professional Standards & Competencies flashcards as text
A developer is responsible for an Azure Cosmos DB application. Which professional competency ensures the application remains available during a regional outage?
Answer: Enabling multi-region writes with automatic failover
Multi-region writes with automatic failover ensure the application can serve traffic from a healthy region if one region becomes unavailable.
As part of AZ-204 competency, a developer must handle token expiration gracefully in an app using MSAL. What is the correct approach?
Answer: Use MSAL's AcquireTokenSilent to refresh tokens automatically from cache
MSAL's AcquireTokenSilent method automatically retrieves valid tokens from cache or refreshes them silently, providing a seamless user experience.
An Azure developer wants to validate API request payloads before they reach the backend. Which Azure API Management policy should they apply?
Answer: validate-content policy with a JSON schema
The validate-content policy in API Management validates incoming request bodies against a defined JSON schema, rejecting malformed payloads early.
A developer is designing retry logic for calls to an Azure Storage account. Which professional standard library should they use for automatic retries with exponential backoff?
Answer: Azure SDK built-in retry policies via RetryOptions
Azure SDKs provide built-in retry policies with configurable exponential backoff, eliminating the need for custom retry logic.
An Azure developer must ensure sensitive data fields in Application Insights telemetry are not logged. Which feature accomplishes this?
Answer: Using a TelemetryInitializer to redact or remove sensitive properties
A TelemetryInitializer intercepts telemetry before it is sent and can remove or mask sensitive fields from all telemetry types.
When deploying an Azure Container App, a developer wants to follow the 12-factor app methodology. Which practice is most aligned with this standard?
Answer: Storing config in environment variables injected at runtime
The 12-factor app methodology requires strict separation of config from code, achieved by injecting configuration through environment variables.
A developer needs to document API contracts for an Azure API Management-hosted API. Which industry-standard format should they use for the OpenAPI specification?
Answer: An OpenAPI (Swagger) YAML or JSON definition imported into API Management
API Management natively supports importing and exporting OpenAPI YAML or JSON definitions, enabling standard contract-first API development.