โ† All Microsoft Certified: Azure Developer Associate Flashcard Decks

Azure Functions and Serverless Computing Flashcards

6 cards from real Microsoft Certified: Azure Developer Associate practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Azure Functions and Serverless Computing flashcards as text
  1. What command initializes a new Azure Functions project using the Azure Functions Core Tools?

    Answer: func init

    `func init` scaffolds a new Azure Functions project with the appropriate host configuration for the chosen runtime.

  2. Which setting in `host.json` configures the Application Insights instrumentation key for a Functions app?

    Answer: APPLICATIONINSIGHTS_CONNECTION_STRING app setting

    Azure Functions connects to Application Insights via the `APPLICATIONINSIGHTS_CONNECTION_STRING` application setting (preferred over instrumentation key).

  3. In an Azure Function, what interface should the injected logger implement for structured logging?

    Answer: ILogger

    Azure Functions supports `ILogger` (from Microsoft.Extensions.Logging) for structured, leveled log output that integrates with Application Insights.

  4. Which Durable Functions pattern is best suited for implementing a recurring job that runs forever without accumulating history?

    Answer: Eternal orchestration with continueAsNew

    `continueAsNew` replaces the current orchestration with a fresh instance, keeping history small for long-running eternal loops.

  5. What is the purpose of the `extensions.csproj` file generated by `func extensions install`?

    Answer: Manages NuGet packages for binding extensions in the non-.NET isolated model

    `extensions.csproj` lists the NuGet binding extension packages so the Functions host can load triggers like Service Bus or Event Grid.

  6. What Azure Functions feature allows you to inject dependencies like database clients using the built-in IoC container?

    Answer: Dependency injection via Startup class

    Azure Functions supports dependency injection by registering services in a `Startup` class that inherits `FunctionsStartup`, mirroring ASP.NET Core DI.