exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 11 question 4 discussion

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

DRAG DROP -
You need to add YAML markup at line CS17 to ensure that the ContentUploadService can access Azure Storage access keys.
How should you complete the YAML markup? To answer, drag the appropriate YAML segments to the correct locations. Each YAML segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: volumeMounts -
Example:
volumeMounts:
- mountPath: /mnt/secrets
name: secretvolume1
volumes:
- name: secretvolume1
secret:
mysecret1: TXkgZmlyc3Qgc2VjcmV0IEZPTwo=

Box 2: volumes -

Box 3: secret -
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret

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
mlantonis
Highly Voted 2 years, 11 months ago
Box 1: volumeMounts Box 2: volumes Box 3: secret Reference: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret
upvoted 34 times
KingChuang
1 year, 4 months ago
On my exam 2022-12-26. Chose: volumeMounts volumes secert
upvoted 4 times
...
...
rdemontis
Highly Voted 3 years, 1 month ago
Answers are correct!
upvoted 28 times
...
BaoNguyen2411
Most Recent 9 months, 1 week ago
got this question on 29/06/2023
upvoted 2 times
...
NightshadeRC
9 months, 1 week ago
Had this question today: 2023-07-26
upvoted 1 times
...
AlexeyG
1 year, 2 months ago
Got this in 16/02/2023
upvoted 3 times
...
adilkhan
1 year, 3 months ago
correct! https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret#mount-secret-volume---yaml
upvoted 1 times
...
OPT_001122
1 year, 4 months ago
1: volumeMounts 2: volumes 3: secret
upvoted 1 times
...
meoukg
2 years, 1 month ago
Got it on 03/2022, I chose as below: 1: volumeMounts 2: volumes 3: secret
upvoted 2 times
...
petitbilly
2 years, 1 month ago
Got this one 03/2022
upvoted 2 times
...
BrettusMaximus
3 years ago
Correct. But a trick question. accesskey is the name of the volume
upvoted 14 times
coffecold
1 year, 5 months ago
Another trick thing: -volumeMounts belongs to a particular container (of many containers) -volumes contains a volume that can be shared among all containers https://learn.microsoft.com/en-us/azure/container-instances/container-instances-reference-yaml#schema
upvoted 2 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