Azure Subscription Resources Creation Date and Time - Exam AZ-303

Viewing Resource Creation Date and Time in Azure Subscription RG1

Question

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates.

You need to view the date and time when the resources were created in RG1.

Solution: From the Subscription blade, you select the subscription, and then click Resource providers.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

From the RG1 blade, click Deployments

https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell

No, the proposed solution does not meet the goal of viewing the date and time when the resources were created in RG1.

The proposed solution of selecting the subscription and clicking on Resource Providers would only display a list of resource providers registered in the subscription, and it would not provide any information about when the resources in RG1 were created.

To view the date and time when the resources were created in RG1, you can follow these steps:

  1. Go to the Azure portal and log in with your Azure account.
  2. In the left-hand menu, select Resource groups.
  3. Select the RG1 resource group from the list.
  4. In the RG1 overview page, you can see the Last modified timestamp, which indicates the last time a change was made to the resource group.
  5. To see more details about the resources in the resource group, select the Resources tab.
  6. In the Resources tab, you can see a list of all the resources deployed in the resource group, along with their creation timestamps.

Alternatively, you can also use Azure PowerShell or Azure CLI to view the creation timestamps of the resources in RG1. For example, using Azure PowerShell, you can run the following command to get the creation time of a specific resource:

python
(Get-AzResource -ResourceId <resource-id>).CreatedAt

Replace <resource-id> with the ID of the resource whose creation time you want to view. You can get the resource ID from the Azure portal or by running the Get-AzResource command without any parameters to get a list of all the resources in the subscription.