Microsoft Certified: Azure Developer Associate (AZ-204) flashcards
154 free flashcards. Tap a card to flip it.
Cosmos DB Global Distribution (Reads)
Flip cardAzure Cosmos DB's global distribution capabilities allow data to be replicated across multiple Azure regions. For read-heavy workloads, deploying read replicas in regions geographically close to users significantly reduces read latency by serving data from the nearest replica.
- Replicate data across any number of Azure regions.
- Reads served from the closest replica for lowest latency.
- Requires specifying preferred regions for client SDK.
- Consistency level choice impacts read latency trade-offs.
Memory trick: Replicas Reduce Round Trips for Reads.
Cosmos DB Core (SQL) API
Flip cardThe native API for Azure Cosmos DB, designed for storing and querying JSON documents using a SQL-like query language.
- Optimized for JSON documents.
- Flexible schema and robust indexing.
- Supports rich SQL queries.
- Good for time-series, IoT, and general-purpose NoSQL.
Memory trick: For IoT data, the Core (SQL) API is the 'Core' choice for flexible, fast JSON.
Azure Blob Storage (RA-GRS)
Flip cardAzure Blob Storage is Microsoft's object storage solution for the cloud, optimized for storing massive amounts of unstructured data. Read-Access Geo-Redundant Storage (RA-GRS) provides geo-redundant replication with read access to the secondary region.
- Stores unstructured data (blobs, files, images, videos).
- RA-GRS provides high availability and disaster recovery.
- Allows read access to data in the secondary region for lower latency and resilience.
Memory trick: Blobs for Big Binary, RA-GRS for Global Reads.
Cosmos DB Partitioning Strategy
Flip cardThe choice of partition key and item ID to distribute data across logical and physical partitions for optimal performance, scalability, and cost.
- Partition key determines logical partition for data distribution.
- Item ID (document ID) must be unique within a logical partition.
- Choose partition key based on frequently accessed query patterns to minimize cross-partition queries.
Memory trick: Partitioning is like organizing a library: group similar books for easy finding.
Azure Files
Flip cardAzure Files offers fully managed file shares in the cloud that are accessible via industry-standard Server Message Block (SMB) and Network File System (NFS) protocols. It allows for file share migration from on-premises to Azure without rewriting applications.
- Managed file shares in the cloud.
- Supports SMB and NFS protocols.
- Can be mounted by cloud or on-premises clients.
- Ideal for 'lift and shift' of file-based applications.
Memory trick: Azure Files are like your network drive, but in the cloud.
Azure Blob Storage Block Blobs (Put Block List)
Flip cardBlock blobs in Azure Blob Storage are composed of blocks of data, each identified by a block ID. The `Put Block` operation uploads individual blocks, and `Put Block List` commits a list of blocks to form a complete blob, enabling efficient, concurrent, and resumable uploads of large files.
- Ideal for large files (up to ~190.7 TiB).
- Allows concurrent upload of file chunks (blocks).
- Supports resumable uploads by committing a list of blocks.
Memory trick: Blocks for Big files, List for Linking them right.
Cosmos DB Bounded Staleness
Flip cardA consistency level that guarantees that reads are not 'too' stale. Clients can define the maximum staleness allowed, either by time interval or by the number of versions.
- Compromise between Strong and eventual consistency.
- Configurable time or version lag.
- Good for globally distributed applications needing performance with controlled consistency.
Memory trick: Bounded Staleness is like a 'time-bound' promise for fresh data.
Cosmos DB Autoscale Throughput
Flip cardAutoscale provisioned throughput in Azure Cosmos DB automatically scales the Request Units per second (RU/s) of your database or container based on usage, optimizing costs and performance for variable workloads.
- Automatically adjusts RU/s based on traffic.
- Ideal for unpredictable and variable workloads.
- Helps optimize costs by only paying for consumed throughput within a defined range.
Memory trick: Auto-scaling is smart for spiky loads.
Cosmos DB Strong Consistency
Flip cardThe highest consistency level in Azure Cosmos DB, guaranteeing that reads always return the most recent committed version of an item.
- All replicas are consistent before a write is acknowledged.
- Global order of operations is maintained.
- Highest latency for writes, potentially higher cost, but no stale reads.
Memory trick: Consistency levels are a spectrum, from 'eventually agrees' to 'always agrees'.
Azure Blob Storage
Flip cardA service for storing large amounts of unstructured object data, such as text or binary data, in the cloud.
- Stores objects like images, videos, documents, and log files.
- Highly scalable to petabytes.
- Offers global accessibility and various access tiers (Hot, Cool, Archive).
Memory trick: Picking storage is like choosing a container; what fits best?
Azure Files with ZRS
Flip cardAzure Files offers fully managed file shares in the cloud, accessible via standard SMB and NFS protocols. Zone-Redundant Storage (ZRS) ensures data is synchronously replicated across three Azure availability zones in the primary region, providing high availability.
- Provides SMB/NFS file shares.
- Accessible from multiple VMs simultaneously.
- ZRS offers redundancy within a single region across availability zones.
Memory trick: Azure Files is for familiar File Shares, ZRS for Zone Safety.
Azure Blob Storage (Versioning)
Flip cardAzure Blob Storage is Microsoft's object storage solution for the cloud. It is optimized for storing massive amounts of unstructured data, such as text or binary data. Versioning automatically saves a new version of a blob each time it's modified or deleted, allowing for restoration of previous states.
- Stores unstructured data (e.g., images, videos, documents).
- Supports various access tiers (Hot, Cool, Archive).
- Versioning provides data protection and historical access.
- Highly scalable and durable.
Memory trick: Blob's Big Binary Backups, Globally.
Cosmos DB for IoT Data
Flip cardAzure Cosmos DB is well-suited for IoT data ingestion and processing due to its globally distributed, highly scalable, and schema-agnostic nature. Its ability to handle high write throughput and offer low-latency reads makes it ideal for storing time-series sensor data.
- Schema-agnostic (JSON document model).
- Globally distributed, multi-region capabilities.
- High write throughput (millions of operations/sec).
- Low-latency reads and rich query API.
Memory trick: Cosmos Captures Constant Change and Queries.
Azure Blob Storage Archive Tier
Flip cardThe lowest-cost storage tier for rarely accessed data, with the highest latency for retrieval (hours to retrieve).
- Lowest storage cost, highest retrieval cost and latency.
- Ideal for long-term backups, archival data, and compliance.
- Rehydration (moving to hotter tier) is required before access.
Memory trick: Think of tiers as temperature: Hot for active, Cool for infrequent, Archive for deep freeze.
Azure Table Storage
Flip cardA NoSQL key-value store service in Azure for storing large amounts of structured, non-relational data, offering high scalability and low cost.
- Stores entities with PartitionKey and RowKey.
- Schemaless design, allowing flexible properties.
- Cost-effective for large volumes of simple data with fast lookups.
Memory trick: Choosing a NoSQL store is about matching data shape to speed needs.
Azure.Storage.Blobs NuGet Package
Flip cardThe `Azure.Storage.Blobs` NuGet package is the official and recommended client library for interacting with Azure Blob Storage from .NET applications. It is part of the Azure SDK for .NET (version 12.x and later), designed for modern C# features and improved usability.
- Latest generation of Azure Storage client libraries.
- Follows Azure SDK design guidelines.
- Provides asynchronous APIs.
- Supports various authentication methods.
Memory trick: Azure.Storage.Blobs is the newest, the rest are just old news.
Azure Queue Visibility Timeout
Flip cardA duration during which a dequeued message is hidden from other consumers, preventing duplicate processing in distributed systems.
- Applied when a message is dequeued.
- If message is not deleted within timeout, it becomes visible again.
- Crucial for 'at-least-once' delivery and fault tolerance.
Memory trick: Visibility timeout is like a 'do not disturb' sign on a message for a short period.
Azure Blob Storage RA-GRS
Flip cardRead-access geo-redundant storage (RA-GRS) provides read-only access to data in the secondary region in addition to geo-replication. This allows applications to read from the secondary endpoint during a primary region outage, offering higher availability and disaster recovery capabilities.
- Replicates data to a secondary region (as GRS).
- Provides read-only access to data in the secondary region.
- Enables high availability during primary region outages.
- No need for storage account failover for reads.
Memory trick: LRS, ZRS, GRS, RA-GRS: The more letters, the more copies and resilience.
Cosmos DB Cassandra API
Flip cardThe Azure Cosmos DB Cassandra API provides a highly scalable, globally distributed, and low-latency database service for Apache Cassandra applications.
- Ideal for time-series, IoT, and archival data.
- Supports Cassandra Query Language (CQL).
- Offers high throughput and low latency for large datasets.
Memory trick: Choosing the right Cosmos DB API is like picking the perfect tool from a specialized toolbox.
Cosmos DB Partitioning Strategy (Single-Key)
Flip cardChoosing an effective partition key in Azure Cosmos DB is crucial for performance and cost. A good partition key distributes data evenly and supports frequent query patterns by allowing single-partition queries, where all relevant data for a query resides within one logical partition.
- Distributes data across logical and physical partitions.
- Impacts query performance and cost (single- vs. cross-partition).
- Should have high cardinality and spread request units evenly.
Memory trick: Partition by the popular path for performance.
Blob Listing with Prefix
Flip cardThe `ListBlobs` operation in Azure Blob Storage allows specifying a prefix to filter the returned blobs, effectively listing blobs within a virtual directory.
- Server-side filtering for efficiency.
- Treats hierarchical data like folders.
- Can be combined with delimiters for directory enumeration.
- Reduces data transfer and processing.
Memory trick: Listing blobs with a prefix is like searching a folder with a specific starting name.
Azure Blob Lifecycle Management
Flip cardAutomates the process of tiering blobs to different access tiers (Hot, Cool, Archive) or deleting them based on rules, optimizing storage costs.
- Moves data between Hot, Cool, and Archive tiers.
- Rules are based on age, last modified, or last accessed time.
- Helps optimize storage costs and meet compliance requirements.
Memory trick: Think of lifecycle management as an automated 'storage butler' for your blobs.
Azure Service Bus
Flip cardAzure Service Bus is a fully managed enterprise integration message broker. It can decouple applications and services, offering features like reliable asynchronous message delivery, message sessions for ordered processing, dead-lettering, and publish/subscribe capabilities.
- Enterprise messaging as a service.
- Supports both queues and topics.
- Guaranteed message delivery (at-least-once).
- Message sessions enable ordered processing.
Memory trick: Service Bus Secures Sequential Sending.
Azure Blob Archive Tier
Flip cardThe lowest-cost storage tier for Azure Blob Storage, optimized for rarely accessed data with flexible latency requirements (hours).
- Lowest storage cost.
- Highest retrieval latency (hours).
- High retrieval cost.
- Ideal for long-term retention and compliance.
Memory trick: Think of Hot, Cool, and Archive as a 'temperature' scale for data access.
Cosmos DB for IoT
Flip cardAzure Cosmos DB is well-suited for IoT solutions due to its ability to handle high-volume, high-velocity data ingestion, flexible schema, and low-latency access.
- Scales horizontally for high throughput.
- Schema-agnostic (NoSQL APIs).
- Low-latency reads and writes.
- Supports geospatial, time-series, and other complex queries.
Memory trick: Cosmos DB is the 'Cosmic' solution for IoT's vast data.
Azure Blob Listing with Prefix
Flip cardWhen listing blobs in Azure Blob Storage, the `prefix` parameter allows you to filter the results to only include blobs whose names begin with the specified string, effectively simulating listing contents of a virtual directory.
- Filters blobs server-side, improving efficiency.
- Useful for querying 'virtual directories' in flat blob storage.
- Can be combined with `delimiter` for hierarchical listing.
Memory trick: Prefix points to the folder's path.
Azure Table Storage Keys
Flip cardPartitionKey and RowKey form the unique primary key for entities in Azure Table Storage, determining data distribution and query performance.
- PartitionKey groups related entities.
- RowKey uniquely identifies an entity within a partition.
- Queries on PartitionKey and RowKey are most efficient.
- A good design balances write distribution and read performance.
Memory trick: Think of 'P'artition as the 'P'rimary grouping, and 'R'ow as the 'R'ecord within.
Azure Queue Storage
Flip cardAzure Queue Storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size, and a queue can contain millions of messages, up to the total capacity limit of a storage account.
- Simple, scalable, durable message queuing.
- Messages up to 64 KB.
- Accessed via REST API (HTTP/HTTPS).
- Ideal for decoupling application components and asynchronous processing.
Memory trick: Queue for Quick, Simple Messages.
Cosmos DB Core (SQL) API for IoT
Flip cardAzure Cosmos DB's Core (SQL) API is a NoSQL document database designed for high-performance, globally distributed applications, capable of storing unstructured JSON data with flexible schemas, making it ideal for high-volume IoT telemetry.
- Supports JSON documents with flexible schema.
- Offers high throughput and low-latency access.
- Provides robust SQL-like querying capabilities for JSON.
Memory trick: Cosmos DB Core handles IoT's JSON flow.
Cosmos DB Partitioning
Flip cardThe process of dividing data into smaller, more manageable logical and physical partitions based on a partition key to optimize data distribution and query performance.
- Essential for scalability and performance.
- Choosing the right partition key is crucial.
- Impacts cost and throughput (RU/s).
Memory trick: Partitioning is like organizing a library: put similar books together for easy finding.
Azure Blob Versioning
Flip cardA feature of Azure Blob Storage that automatically saves the previous state of a blob each time it's modified or deleted, allowing recovery of earlier versions.
- Creates new versions on write or delete.
- Enables point-in-time recovery.
- Supports compliance auditing.
- Increases storage costs due to multiple versions.
Memory trick: Versioning is like a 'Time Machine' for your blobs, letting you go back to any version.
Azure Storage Customer-Managed Keys (CMK)
Flip cardCMK allows customers to use their own encryption keys for data at rest in Azure Storage, stored in Azure Key Vault, providing full control over key lifecycle.
- Keys are stored in Azure Key Vault.
- Customer controls key creation, rotation, and revocation.
- Azure Storage uses these keys for server-side encryption.
Memory trick: Think of encryption keys as house keys; who holds them determines control.
RA-GRS
Flip cardRead-Access Geo-Redundant Storage (RA-GRS) replicates data to a secondary region hundreds of miles away and provides read access to the data in the secondary region.
- Offers geo-redundancy for disaster recovery.
- Allows read access to the secondary endpoint.
- Provides the highest level of durability and availability.
Memory trick: Remember R.A.G.S. for Read-Access Geo-Redundant Storage, allowing reads from afar.
Azure Table Storage for Configuration
Flip cardAzure Table Storage is a NoSQL data store that offers a cost-effective way to store structured, non-relational data in the cloud. It's ideal for small, frequently read key-value data like application configuration settings due to its high availability and low cost.
- Key-value store for structured data.
- Highly available and scalable.
- Very cost-effective for large volumes of small data.
- Strong consistency within a partition.
Memory trick: Tables are Tiny, Tidy, and Terrific for Config.
Cosmos DB Global Distribution (Reads/Writes)
Flip cardAzure Cosmos DB global distribution allows data to be replicated across multiple Azure regions. By configuring a single write region and multiple read regions, applications can achieve low-latency reads from the closest replica while ensuring strong consistency for writes in the primary region.
- Distribute data globally for high availability and low latency.
- Can configure single-region writes or multi-master writes.
- Client SDKs use `PreferredLocations` to route reads to nearest replica.
Memory trick: Reads follow proximity, Writes follow the primary.
Azure Logic Apps
Flip cardAzure Logic Apps is a cloud service that helps you schedule, automate, and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, devices, and services across enterprises or organizations.
- Visual designer for workflow creation.
- Supports long-running, stateful processes.
- Connects to hundreds of services via connectors.
- Ideal for integration and orchestration.
Memory trick: Logic orchestrates a long, step-by-step dance.
Azure Event Hubs
Flip cardA highly scalable data streaming platform and event ingestion service that can process millions of events per second. It's ideal for big data scenarios like IoT telemetry and application logging.
- High-throughput event ingestion.
- Supports multiple concurrent consumers.
- Provides ordering guarantees within partitions.
Memory trick: Event Hubs is like a giant river for data, all streams flow in and multiple cities can drink from it.
Azure Service Bus Sessions
Flip cardA feature of Azure Service Bus queues and subscriptions that provides guaranteed ordered delivery and exactly-once processing of related messages.
- Ensures all messages with the same SessionId are processed sequentially.
- Messages within a session are handled by a single receiver.
- Crucial for scenarios requiring message order (e.g., order processing).
Memory trick: Service Bus has 'superpowers' for tricky message flows.
Azure Service Bus Topics
Flip cardA publish/subscribe messaging component within Azure Service Bus that allows producers to send messages to a topic, and multiple subscribers to receive copies of those messages via subscriptions.
- Enables fan-out messaging.
- Supports multiple independent subscribers.
- Provides advanced features like filtering, dead-lettering, and transactional guarantees.
Memory trick: Service Bus Topics are like a newspaper, many subscribers get the same news reliably.
Azure Service Bus Transactions
Flip cardA feature in Azure Service Bus that allows you to group multiple send and receive operations into an atomic unit, ensuring that all operations succeed or all fail together.
- Guarantees atomicity for a sequence of operations.
- Crucial for reliable messaging scenarios where data consistency is paramount.
- Supports sending to queues/topics and receiving from queues/subscriptions within a single transaction.
Memory trick: Service Bus is the 'banker' of messages, ensuring all transactions are atomic.
Azure IoT Edge Modules
Flip cardAzure IoT Edge Modules are Docker-compatible containers that run Azure services, third-party services, or your own custom code directly on IoT Edge devices. They enable local processing and analytics at the edge.
- Containerized units of logic.
- Run directly on IoT Edge devices.
- Enable edge analytics, filtering, and pre-processing.
- Managed from the cloud via IoT Hub.
Memory trick: A factory machine module doing work right on the spot.
Event Hubs for Big Data Ingestion
Flip cardAzure Event Hubs acts as a front door for ingesting massive amounts of data from diverse sources, especially in big data and IoT scenarios.
- Handles millions of events per second.
- Supports multiple consumer groups for parallel processing.
- Provides configurable data retention for historical analysis.
Memory trick: IoT data flows through Event Hubs, the super-stream collector.
Service Bus PeekLock Mode
Flip cardA message receiving mode in Azure Service Bus that provides explicit control over message completion or abandonment.
- Message is locked upon retrieval, not deleted.
- Requires explicit completion to remove from queue.
- Ensures messages are not lost if consumer fails.
Memory trick: PeekLock: See the message, take a lock, then decide its fate.
API Management Throttling
Flip cardA feature in Azure API Management to control the number of requests clients can make to an API over a specific time period, preventing overuse and protecting backend services.
- Protects backend APIs from abuse.
- Enforces rate limits and quotas.
- Can be configured with burst capacity settings.
Memory trick: APIM is the traffic cop for your APIs, ensuring no one speeds or jams the lanes.
Azure Event Grid
Flip cardAzure Event Grid is a fully managed event routing service that enables event-driven architectures by routing events from various sources to different handlers.
- Supports publish-subscribe model.
- Offers advanced filtering for subscribers.
- Delivers events reliably with dead-lettering and retry policies.
- Integrates with numerous Azure services and custom webhooks.
Memory trick: The event grid announces news, and interested parties pick what they want.
Azure API Management (APIM)
Flip cardA fully managed service that helps organizations publish, secure, transform, maintain, and monitor APIs.
- Acts as a facade for backend APIs (e.g., Azure Functions).
- Provides capabilities for authentication, authorization, usage quotas, and caching.
- Enables developers to expose APIs securely to internal and external consumers.
Memory trick: APIM is the 'bouncer' and 'manager' for your APIs.
Azure Logic Apps Retry Policies
Flip cardA configuration setting for actions in Azure Logic Apps that specifies how to handle transient failures, such as network glitches or API rate limits, by automatically retrying the action.
- Common policies include Default, None, Exponential interval, and Fixed interval.
- Exponential interval is ideal for handling rate limits (429 errors) and transient network issues.
- Configured on individual actions, often within the connector properties.
Memory trick: Logic Apps are 'smart workers' that know how to politely wait for APIs.
Azure Durable Functions
Flip cardAn extension of Azure Functions that lets you write stateful functions in a serverless compute environment. It enables reliable long-running orchestrations and managing state across function invocations.
- Supports stateful workflows.
- Ideal for long-running processes, fan-out/fan-in.
- Automatically manages state, checkpoints, and restarts.
Memory trick: Durable Functions are like a persistent robot chef following a complex recipe, even if it has to pause for ingredients.
Azure Functions Consumption Plan & Blob Trigger
Flip cardThe Azure Functions Consumption Plan is a serverless hosting option that automatically scales and bills only for the resources consumed during function execution. A Blob trigger executes a function when a new or updated blob is detected in Azure Blob Storage.
- Consumption Plan: Pay-per-execution, automatic scaling, no server management.
- Blob Trigger: Event-driven by Blob Storage changes (new/updated blobs).
- Ideal for cost-effective, event-driven processing of files.
- Functions can be configured for long-running tasks within plan limits.
Memory trick: Consume only when an image triggers; no waste, just smart processing.
Durable Functions Orchestration
Flip cardA pattern in Azure Durable Functions that defines stateful workflows programmatically. Orchestrator functions manage the execution of other activity functions, handling state, retries, and compensation.
- Defines reliable, stateful workflows.
- Manages function execution and state.
- Supports complex patterns like compensation and error handling.
Memory trick: Durable Functions are the conductor of a complex symphony, ensuring every part plays in order and restarting if a musician makes a mistake, or even undoing if needed.
Service Bus Sessions
Flip cardA feature in Azure Service Bus that provides ordered handling of an unbounded sequence of related messages. All messages belonging to a session are processed by a single receiver, in order.
- Guarantees message order for a group of messages.
- Ensures messages from a session are processed by one receiver.
- Useful for conversational patterns or stateful workflows.
Memory trick: Service Bus Sessions are like a dedicated lane for each customer's messages, keeping them in perfect order.
APIM rate-limit-by-key Policy
Flip cardThe Azure API Management 'rate-limit-by-key' policy restricts the number of API calls a consumer can make within a specified time period, with the limit dynamically determined by a key value extracted from the request context.
- Enforces request quotas on a per-key basis.
- Key can be an expression (e.g., user ID, IP address, header value).
- Prevents backend systems from being overwhelmed.
- Configurable for different time periods and call limits.
Memory trick: A traffic cop limiting cars based on their unique license plate.
API Management Facade
Flip cardAzure API Management can act as a facade for backend APIs, abstracting their implementation details, transforming protocols (e.g., SOAP to REST), and applying policies uniformly.
- Hides backend complexity.
- Enables protocol translation.
- Applies security, caching, and throttling.
Memory trick: APIM is the universal translator and security guard for all your APIs.
Azure Service Bus Message Sessions
Flip cardA feature of Azure Service Bus that enables ordered and concurrent processing of related messages.
- Guarantees FIFO delivery for messages within a session.
- Ensures all messages for a session are processed by a single receiver.
- Useful for scenarios requiring strict message ordering per entity (e.g., customer, order).
Memory trick: Service Bus Sessions keep related messages in a tidy, sequential line.
Azure IoT Hub
Flip cardA managed service that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages. It provides secure, reliable, and scalable device-to-cloud and cloud-to-device messaging.
- Enables secure device connectivity.
- Ingests high-volume telemetry data.
- Provides device management capabilities (identity registry, twin, direct methods).
Memory trick: IoT Hub is the command center for your devices, managing their identities and ensuring their data gets through.
Azure Function Blob Trigger
Flip cardAn Azure Functions trigger that allows a function to execute automatically when a new or updated blob is detected in Azure Blob Storage.
- Monitors a specified container for changes.
- Provides the blob's content or metadata to the function.
- Ideal for processing newly uploaded files.
Memory trick: Triggers are the 'start button' for your function, each button for a different event.
Azure Logic Apps Retry Policy
Flip cardA configuration for actions in Azure Logic Apps that specifies how to automatically re-attempt failed operations.
- Handles transient errors (e.g., network issues, temporary service unavailability).
- Configurable with different types (e.g., exponential, fixed interval).
- Improves workflow reliability.
Memory trick: Retry Policy: If at first you don't succeed, try, try, try again!
Service Bus PeekLock and MaxDeliveryCount
Flip cardAzure Service Bus PeekLock receive mode makes a message invisible to other consumers while it's being processed, allowing for explicit completion or abandonment. The queue's MaxDeliveryCount property dictates how many times a message can be delivered (and potentially abandoned) before it's automatically moved to the dead-letter queue.
- PeekLock ensures 'at-least-once' delivery with explicit settlement.
- Message is invisible during PeekLock duration.
- Abandoning or lock expiry returns message to queue.
- MaxDeliveryCount (on the queue) controls retry attempts before dead-lettering.
Memory trick: A locked package (PeekLock) gets retried until it's delivered or discarded (MaxDeliveryCount).
Azure Function Consumption Plan
Flip cardA hosting plan for Azure Functions where compute resources are dynamically allocated and deallocated based on demand. You pay only for the time your code is running and the memory it consumes.
- Scales automatically, including to zero.
- Pay-per-execution billing model.
- Ideal for event-driven, intermittent workloads.
Memory trick: Consumption plan is like a smart meter for your code, only charging when the lights are on.
APIM <set-body> Policy
Flip cardAn Azure API Management policy used to set the content of the request or response body.
- Allows modification of JSON, XML, or other body content.
- Can use expressions to dynamically transform data.
- Applied in either inbound or outbound processing sections.
Memory trick: APIM policies are the rules that shape your API's behavior.