exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 27 question 1 discussion

Actual exam question from Microsoft's AZ-204
Question #: 1
Topic #: 27
[All AZ-204 Questions]

HOTSPOT -
You need to ensure that validation testing is triggered per the requirements.
How should you complete the code segment? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
halmosi
Highly Voted 3 years, 2 months ago
Incorrect... 1. ImagePushed 2. repository 3. topic https://docs.microsoft.com/hu-hu/azure/event-grid/event-schema-container-registry?tabs=event-grid-event-schema
upvoted 116 times
Shion2009
3 years, 1 month ago
I'm not sure if this is correct. Take a look at Background Overview: "The ContentAnalysisService is deployed with Azure Container Instances from a private Azure Container Registry named contosoimages." "contentanalysisservice" is not the name of a repository and "contonsoimages" is the name of the ACR.
upvoted 2 times
jvyas
2 years, 11 months ago
"contentanalysisservice" is the name of the repository/service. check the line AM08 in application manifest file.
upvoted 3 times
...
Shion2009
3 years, 1 month ago
Okay, halmosi's answer seems possible: https://docs.microsoft.com/de-de/azure/event-grid/event-schema-container-registry?tabs=event-grid-event-schema
upvoted 3 times
Pozz4ever
3 years, 1 month ago
Sorry I Don't understand... as you said contentanalysisservice in the new of the service, I suppose, and contosoimages is the name of the ACR. so how can it be repository and topic?
upvoted 1 times
kapetan
3 years ago
An event does not have service, repository or imageCollection as top-level data, it has a topic. Regarding the repository, from the choises available, the target has only repository as property. It is all documented in the already given link: https://docs.microsoft.com/en-us/azure/event-grid/event-schema-container-registry?tabs=event-grid-event-schema
upvoted 7 times
Pozz4ever
3 years ago
thanks
upvoted 1 times
...
...
...
...
...
gbtest
2 years, 10 months ago
Yes, imho the answer should be ImagePushed, repository and topic. As the Example Event shows a Event Grid event schema, with explained the scheme. The schema of the Azure Container Registry EventGrid events doesn't contain fields like imagecollection, service, etc. Note that for eventType only ImagePushed, ImageDeleted, ChartPushed and ChartDeleted (last two raised form Helm charts) are valid. So 1 should be ImagePushed, send the json notes a data.target.repository
upvoted 2 times
...
KingChuang
1 year, 4 months ago
On my exam 2022-12-26. Chose: 1. ImagePushed 2. repository 3. topic
upvoted 2 times
...
rdemontis
3 years, 1 month ago
thanks for the tip! The answer indicated by the test seems to be completely "off topic" ;-)
upvoted 6 times
...
...
coffecold
Highly Voted 1 year, 6 months ago
Ok, I need to start memorizing all schemes of possible event system topics: Azure API Management Azure App Configuration Azure App Service Azure Blob Storage Azure Cache for Redis Azure Communication Services Azure Container Registry Azure Event Hubs Azure FarmBeats Azure Health Data Services Azure IoT Hub Azure Key Vault Azure Kubernetes Service Azure Machine Learning Azure Maps Azure Media Services Azure Policy Azure resource groups Azure Service Bus Azure SignalR Azure subscriptions....
upvoted 16 times
...
ENGs
Most Recent 7 months, 1 week ago
On my exam 2023-10 before the Update of the Exam
upvoted 1 times
...
katrang
7 months, 4 weeks ago
I would go for 1. ImagePushed 2. Repository 3. Topic Based on the grid event schema example everyone has linked to [{ "topic": "/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.ContainerRegistry/registries/<name>", "eventType": "Microsoft.ContainerRegistry.ImagePushed", "data": { "target": { "repository": "<name>", }, }, }]
upvoted 1 times
...
NightshadeRC
9 months, 3 weeks ago
Had this question today: 2023-07-26
upvoted 2 times
macobuzi
8 months, 2 weeks ago
What did you choose then?
upvoted 1 times
...
...
KGi
1 year, 2 months ago
The number of questions with incorrect responses is overwhelming. ExamTopics should mark the correct answers properly to make life easier for us. :(
upvoted 8 times
...
AlexeyG
1 year, 3 months ago
Got this in 16/02/2023
upvoted 4 times
...
OPT_001122
1 year, 5 months ago
ImagePushed Repository Topic
upvoted 2 times
...
gmishra88
1 year, 7 months ago
How does a new image being pushed mean a new deployment. And they expect me to remember the whole schema for all the services that can send events to EventGrid? And I could even imagine a blob storage being there. This requirement itself is at the edge of darkness and using a repository event to fulfill that requirement can only be thought of really junior hello world programmers of Microsoft.
upvoted 1 times
gmishra88
1 year, 7 months ago
EUREKA. Did you guys notice "All Internal services must only be accessible from internal Virtual Networks (VNets)." It NEVER said it should be connected to a vnet. It just said it should be ACCESSED from INTERNAL vnet (not Azure vnet). A nice red-herring planted by Microsoft guys (Do not be evil) THE ANSWER SHOULD BE CONSUMPTION PLAN
upvoted 1 times
...
...
TMakki
1 year, 9 months ago
This question is also in Udemy. 1. ImagePushed 2. repository 3. topic
upvoted 2 times
Ciupaz
7 months ago
Which course?
upvoted 1 times
...
...
Sandeep12093
1 year, 11 months ago
1. Imagepushed - acr has only 4 event types imagepushed, imagedeleted, chartpushed n chart deleted 2. Service ? 3. Repository - this is correct as per MS documentation
upvoted 1 times
Sandeep12093
1 year, 11 months ago
I just checked ACR event schema 3. Topic - since it has id,eventtype,topic,subject,data,dataversion.... there is no repository
upvoted 1 times
Sandeep12093
1 year, 11 months ago
2. REPOSITORY https://docs.microsoft.com/en-us/azure/container-registry/container-registry-event-grid-quickstart Check image it has schema written.
upvoted 1 times
...
...
...
SivajiTheBoss
2 years, 2 months ago
100 % correct answer: Cross referenced in Udemy ImagePushed Repository Topic
upvoted 3 times
...
petitbilly
2 years, 2 months ago
Got this one 03/2022
upvoted 1 times
...
leonidn
2 years, 3 months ago
ImagePushed Repository Topic https://docs.microsoft.com/en-us/azure/event-grid/event-schema-container-registry?tabs=event-grid-event-schema
upvoted 2 times
...
mc0re
2 years, 9 months ago
"Image pushed into a repository" is not the same as "image deployed, container is running". One cannot start testing on a pushed image, only after it has been deployed.
upvoted 3 times
MiraA
2 years, 7 months ago
Hmm, maybe some multi-step task will be used so "ImagePushed" event means the image will be run as a container in a moment? Or is there some functionality in that private ACR which will run/deploy the updated image automatically? https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tasks-multi-step
upvoted 1 times
...
...
Harichakradhar
2 years, 9 months ago
100 % correct ImagePushed Repository Topic
upvoted 4 times
...
sien
3 years ago
Indeed, ImagePushed Repository and Topic
upvoted 7 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago