1. N X

N

N

Y

2. Y N Y

Page 9

  1. D X B

While a blob is in the Archive tier, it can’t be read or modified. To read or download a blob in the Archive tier, you must first rehydrate it to an online tier, either Hot or Cool. Data in the Archive tier can take up to 15 hours to rehydrate

  1. BoundedStaleness

–enable-automatic-failover

eastus=1

  1. –sku SHARED X

image-name: latest

container set images.azurecr.io

Should be: –sku B1 –is-linux

Windows: –deployment-source-url -u

Linux: –deployment-container-image-name -i

6. Service bus queue

Active Message Count

Average

7. Fetch

Metadata.Add

SetMetadataAsync

Page 10

  1. N

https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services

Service Purpose Type When to use
Event Grid Reactive programming Event distribution (discrete) React to status changes
Event Hubs Big data pipeline Event streaming (series) Telemetry and distributed data streaming
Service Bus High-value enterprise messaging Message Order processing and financial transactions
  1. A

  2. Create Upgrade Copy

  3. C

  4. A

Page 11

  1. metadata/identiry

new NetworkCredential

  1. orderBy X

descending

https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-manage-indexing-policy?tabs=dotnetv2%2Cpythonv3#composite-index

  1. 4 X

Department X

Partitions relate to producers - and the logical way to partition the incoming data is by the only value you have at that point, the highway name/id. So the selected answer is correct (6 Partitions, by Highway).

  1. Helm

kubectl

ingress controller

  1. NoFilter X should be SQL/Correlation Filter

SQLFilter*3

NoFilter

https://docs.microsoft.com/en-us/azure/service-bus-messaging/topic-filters#filters

Page 12

  1. User request -> No edge servers has image in the cache -> origin server returns images -> subsequent

  2. CE X DE

C. a single property value that appears frequently in the documents

D. a concatenation of multiple property values with a random suffix appended

https://docs.microsoft.com/en-us/azure/cosmos-db/synthetic-partition-keys

20. Y

Y

Y

  1. Host X

Lease container

Monitored container X

Delegate

You are a developer for a software as a service (SaaS) company that uses an Azure Function to process orders. The Azure Function currently runs on an Azure Function app that is triggered by an Azure Storage queue. You are preparing to migrate the Azure Function to Kubernetes using Kubernetes-based Event Driven Autoscaling (KEDA). You need to configure Kubernetes Custom Resource Definitions (CRD) for the Azure Function. Which CRDs should you configure?

ScaledObject?

You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2. When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute. You need to design the process that starts the photo processing. Solution: Trigger the photo processing from Blob storage events.

Page 5

  1. 1
    2
    3
    4
    5
    
    FROM
    WORKDIR
    COPY
    RUN
    CMD
    
  2. A x

You are developing an Azure Function App that processes images that are uploaded to an Azure Blob container. Images must be processed as quickly as possible after they are uploaded, and the solution must minimize latency. You create code to process images when the Function App is triggered. You need to configure the Function App. What should you do?

A. Use an App Service plan. Configure the Function App to use an Azure Blob Storage input trigger.

B. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage trigger.

C. Use a Consumption plan. Configure the Function App to use a Timer trigger.

D. Use an App Service plan. Configure the Function App to use an Azure Blob Storage trigger. Most Voted

E. Use a Consumption plan. Configure the Function App to use an Azure Blob Storage input trigger.

  1. 1
    2
    3
    
    copyIndex
    copy
    dependsOn
    

24.

1
2
3
4
N
N   x   maxDequeueCount
Y
Y

25. Strong Bounded Staleness Eventual

Page 6

  1. Azure Backup X PowerShell

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource#create-an-image-of-a-vm-using-powershell

Azure Blob storage

27. D X BD

28. Create Export Modify Deploy Use

29. Hybrid Runbook Worker X

Custom Script Extension X

https://docs.microsoft.com/en-us/azure/virtual-machines/run-command-overview

30. New-AzResourceGroup New-AzAppServicePlan New-AzWebapp New-AzWebappSlot

Page 7

31. -AssignIdentity $UserAssigned X

https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview

32. B

33. B

34. N Y N

35. Custom handler

Trigger

Page 8

36. WEBSITE

/home

https://docs.microsoft.com/en-us/azure/app-service/reference-app-settings?tabs=kudu%2Cdotnet#custom-containers

37.

AC X

38. A X

AZ-204: Develop event-based solutions

Azure Event Grid

After completing this module, you’ll be able to:

  • Describe how Event Grid operates and how it connects to services and event handlers.
  • Explain how Event Grid delivers events and how it handles errors.
  • Implement authentication and authorization.
  • Route custom events to web endpoint by using Azure CLI.

Definition: Azure Event Grid is an eventing backplane that enables event-driven, reactive programming. It uses the publish-subscribe model. Publishers emit events, but have no expectation about how the events are handled. Subscribers decide on which events they want to handle.

Concepts:

  • Events - What happened.
  • Event sources - Where the event took place.
  • Topics - The endpoint where publishers send events.
  • Event subscriptions - The endpoint or built-in mechanism to route events, sometimes to more than one handler. Subscriptions are also used by handlers to intelligently filter incoming events.
  • Event handlers - The app or service reacting to the event.

Schema

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
  {
    "topic": string,
    "subject": string,
    "id": string,
    "eventType": string,
    "eventTime": string,
    "data":{
      object-unique-to-each-publisher
    },
    "dataVersion": string,
    "metadataVersion": string
  }
]

Azure Event Hubs