exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 8 question 2 discussion

Actual exam question from Microsoft's AZ-304
Question #: 2
Topic #: 8
[All AZ-304 Questions]

You migrate App1 to Azure.
You need to ensure that the data storage for App1 meets the security and compliance requirements.
What should you do?

  • A. Create Azure RBAC assignments.
  • B. Create an access policy for the blob service.
  • C. Modify the access level of the blob service.
  • D. Implement Azure resource locks.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Ario
Highly Voted 3 years, 7 months ago
Correct Answer is B
upvoted 30 times
...
syu31svc
Highly Voted 3 years, 6 months ago
"Once App1 is migrated to Azure, you must ensure that new data can be written to the app, and the modification of new and existing data is prevented for a period of three years." Answer is B
upvoted 11 times
marda304
3 years, 1 month ago
But isn't this feature retention policy instead of access policy?
upvoted 1 times
LillyLiver
2 years, 9 months ago
Well, we have two separate requirements for this question; 1: Once App1 is migrated to Azure, you must ensure that new data can be written to the app, and the modification of new and existing data is prevented for a period of three years. 2: On-premises users and services must be able to access the Azure Storage account that will host the data in App1. The question is; "You migrate App1 to Azure. You need to ensure that the data storage for App1 meets the security and compliance requirements. What should you do?" RBAC would surely handle the bullet 2. But I think this question is actually suggesting that the storage needs immutability enabled so 'modification of new and existing data is prevented...'. To me, the access policy would handle the requirement of both objectives. It will prevent the modification of data, but still allow the users to access the storage account. So I would choose 'B' for this question.
upvoted 2 times
...
...
...
DylanCoffee
Most Recent 2 years, 4 months ago
I think, 1,Once App1 is migrated to Azure, you must ensure that new data can be written to the app, and the modification of new and existing data is prevented for a period of three years. 2,On-premises users and services must be able to access the Azure Storage account that will host the data in App1. 3,Access to the public endpoint of the Azure Storage account that will host the App1 data must be prevented. these three items belong to security and compliance requirement. It can be met with security settings - shared access signature - allow permissions and expiry date of storage account. So answer should be B.
upvoted 1 times
...
sapien45
2 years, 10 months ago
security and compliance requirements = Private access policy for the storage account B
upvoted 1 times
...
vuphongtran
3 years ago
If the question is to meet the authentication and authorization requirements, the answer should be A. If it's to meet the Security and Compliance Requirements, the answer should be B, IMHO
upvoted 1 times
...
megapokerbum
3 years, 1 month ago
I don't know if this applies but it does lend to the answer possibly being correct. On https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/howto-assign-access-portal Use Azure RBAC to assign a managed identity access to another resource After you've enabled managed identity on an Azure resource, such as an Azure VM or Azure virtual machine scale set: Sign in to the Azure portal using an account associated with the Azure subscription under which you have configured the managed identity. Navigate to the desired resource on which you want to modify access control. In this example, we are giving an Azure virtual machine access to a storage account, so we navigate to the storage account. Select Access control (IAM). Select Add > Add role assignment to open the Add role assignment page. Select the role and managed identity. For detailed steps, see Assign Azure roles using the Azure portal.
upvoted 2 times
...
therealss
3 years, 2 months ago
I'm not so sure. The provided answer/explanation of A seems pretty compelling. Maybe the process of elimination might help here. Answer B saids "Create an access policy for the blob service". This pretty much translates to use shared access signatures (SAS tokens). But this is contradictory to the requirement which saids "To access the resources in Azure, App1 must use the managed identity of the virtual machines that will host the app." SAS tokens aren't tied to IDs (except user delegated SAS, but I don't think that's what they're after here). RBAC, on the other hand, is 100% tied to a credential, such as the aforementioned managed identity. So all in all, I vote for A, "Create Azure RBAC assignments."
upvoted 1 times
Axial30z
3 years, 1 month ago
The question says you need to meet the security and compliance requirements 'Access to the public endpoint of the Azure Storage account that will host the App1 data must be prevented.' On this basis I think an access policy will fit the solution.
upvoted 2 times
...
...
icedog
3 years, 2 months ago
Selected Answer: B
voting B
upvoted 1 times
...
yyuryyucicuryyforme
3 years, 3 months ago
User delegation SAS and stored access policy would seem to do it. https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview https://docs.microsoft.com/en-us/rest/api/storageservices/create-user-delegation-sas https://docs.microsoft.com/en-us/rest/api/storageservices/define-stored-access-policy https://docs.microsoft.com/en-us/rest/api/storageservices/set-container-acl
upvoted 1 times
...
china5000
3 years, 3 months ago
Correct answer is: B - Create an access policy for the blob service
upvoted 1 times
...
massnonn
3 years, 3 months ago
Selected Answer: B
the correct is b
upvoted 2 times
...
mtk93
3 years, 3 months ago
Selected Answer: B
Only policy will do. "Once App1 is migrated to Azure, you must ensure that new data can be written to the app, and the modification of new and existing data is prevented for a period of three years. Answer is B
upvoted 2 times
...
Dpejic
3 years, 4 months ago
On exam 24.12.2021
upvoted 1 times
...
Dpejic
3 years, 4 months ago
Appere on exam 23-dec-2021
upvoted 1 times
...
Seijkoh
3 years, 4 months ago
Selected Answer: B
Answer is B
upvoted 2 times
...
tteesstt
3 years, 6 months ago
The answer is B.
upvoted 5 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