exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 28 discussion

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

DRAG DROP -
You are developing an application to use Azure Blob storage. You have configured Azure Blob storage to include change feeds.
A copy of your storage account must be created in another region. Data must be copied from the current storage account to the new storage account directly between the storage servers.
You need to create a copy of the storage account in another region and copy the data.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
To move a storage account, create a copy of your storage account in another region. Then, move your data to that account by using AzCopy, or another tool of your choice.
The steps are:
✑ Export a template.
✑ Modify the template by adding the target region and storage account name.
✑ Deploy the template to create the new storage account.
✑ Configure the new storage account.
✑ Move data to the new storage account.
✑ Delete the resources in the source region.
Note: You must enable the change feed on your storage account to begin capturing and recording changes. You can enable and disable changes by using Azure
Resource Manager templates on Portal or Powershell.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed

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
MariusN
Highly Voted 4 years, 5 months ago
I think you first have to export the Resource Manager template before you can create a new template deployment. So, swap options 1 and 2 from the solution. In the first link of the solution's text, exporting is also considere as the first step.
upvoted 157 times
Kobee
4 years, 5 months ago
Solution is right. The option "Create a new Template deployment" is not present on the first link. And you can first create the template if you want to export it. So Create first and then export the new template
upvoted 1 times
...
Kobee
4 years, 5 months ago
Solution is right. The option "Create a new Template deployment" is not present on the first link. And you have to first create the template if you want to export it. So Create first and then Export the new template
upvoted 1 times
dancsita
4 years, 2 months ago
you are exporting a different (existing) template, which will be used in a brand new template deployment
upvoted 1 times
...
...
pablocg
4 years, 5 months ago
I agree with you. In the first link, in the step to modify the template it first creates the template deployment from the marketplace. You can see the general steps to deploy an ARM template from the portal in the docs: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/quickstart-create-templates-use-the-portal#edit-and-deploy-the-template
upvoted 2 times
...
bharatdilse
3 years, 10 months ago
AzCopy can be called from within the template also. That makes the deployment fully automatic
upvoted 2 times
...
...
victor
Highly Voted 4 years, 2 months ago
Answer is Wrong. correct Sequence is Export Create Modify Deploy AZ copy
upvoted 117 times
Robert12345Robert
3 years, 9 months ago
I agree, see: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/quickstart-create-templates-use-the-portal
upvoted 4 times
...
noro5
3 years, 2 months ago
Yes, confirmation: https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal
upvoted 6 times
...
...
msavx
Most Recent 2 months ago
Someone has clearly messed with the screen shot... see the left column borders for the second and third options. The values have been shuffled. According to https://learn.microsoft.com/en-us/azure/operational-excellence/relocation-storage-account?tabs=azure-portal. the correct order would be... Export Modify Create Deploy AzCopy
upvoted 1 times
...
Christian_garcia_martin
8 months, 3 weeks ago
To all of yours dont know what is first Create or Modify. Export Modify Create Deploy AZ copy. you need to modify first becouse it would attempt to create a new storage account with the same name and in the same region, which is not allowed as storage account names must be unique across Azure.
upvoted 2 times
...
fuji36850
11 months ago
I think there are 2 ways: Export > Modify(in notepad) > Create Deployment Export > Create Deployment -> Modify (inside deployment window)
upvoted 5 times
...
james2033
11 months, 4 weeks ago
1, export 2, create 3, modify 4, deploy 5, use AzCopy
upvoted 3 times
...
FeriAZ
1 year, 2 months ago
1.Export a Resource Manager template. 2.Modify the template by changing the storage account name and region. 3.Create a new template deployment. 4.Use AZCopy to copy the data to the new storage account. Before deploying the template to create a new storage account, you need to modify the exported template. Since you cannot have two storage accounts with the same name in Azure, you'll need to change the storage account name. You also need to update the region to reflect the target region where you want the new storage account to be created.
upvoted 2 times
...
AhmedAbdelAziz
1 year, 2 months ago
Export Modify Create Deploy AZ copy
upvoted 7 times
...
11_NickName_11
1 year, 5 months ago
What you all think about this: Deploy the template to create a new storage account in the target region(Move section)? https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal
upvoted 1 times
11_NickName_11
1 year, 5 months ago
https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal#move
upvoted 1 times
11_NickName_11
1 year, 5 months ago
My mistake, clearly states: "create a new storage account",so as far I'm agree with this one: Export - Create New Template Deployment Modify Deploy AzCopy
upvoted 1 times
11_NickName_11
1 year, 5 months ago
Sorry, I mean this one: * Export a template. * Modify the template by adding the target region and storage account name. * Create a new Template deployment * Deploy the template to create the new storage account. * Use AzCopy
upvoted 4 times
...
...
...
...
macobuzi
1 year, 8 months ago
According to Microsoft document:https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal - Export - Modify - Deploy - Create -AzCopy
upvoted 1 times
macobuzi
1 year, 7 months ago
Sorry, correct order is: - Export - Modify - Create - Deploy - AzCopy Need to create the template before deploying it
upvoted 3 times
...
...
maqsoodshah
2 years ago
1. Export a template. 2. Modify the template by adding the target region and storage account name. 3. Deploy the template to create the new storage account. 4. Create a new template deployment 5. Use AZCopy to Copy data to the new storage account. https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal
upvoted 3 times
macobuzi
1 year, 8 months ago
You messed up at 3 and 4. You need to create the template before deploying it.
upvoted 3 times
...
...
Defa
2 years, 1 month ago
Modify before create. https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal
upvoted 2 times
...
Strawberry_123
2 years, 2 months ago
As per my understanding, correct answer is-Export/Create/Modify/Deploy/Az Copy 1. Export the template and download/save it. 2.Create a new template and load the previously exported template's json file. 3.Modify the required details. 4.Deploy it. 4.Use Az copy https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal
upvoted 3 times
...
narenazure
2 years, 3 months ago
https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal Export Create Modify Deploy AZ copy
upvoted 3 times
...
Knightie
2 years, 8 months ago
Creating a Template vs Creating a Template Deployment are two different things. Export Template. Modify the Template, Create the Deployment, Deployment the Template, Do Copy.
upvoted 6 times
...
kbsivaiyer
2 years, 9 months ago
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal it is export, modify, create, deploy, azcopy
upvoted 4 times
Wengatz
2 years, 8 months ago
Thanks for the link, but according to that, the order is export > create > modify > deploy > azcopy
upvoted 3 times
...
...
BasitJamil
2 years, 9 months ago
Export New Template Manager Modify Deploy AzCopy
upvoted 3 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