exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 44 discussion

Actual exam question from Microsoft's AI-102
Question #: 44
Topic #: 1
[All AI-102 Questions]

SIMULATION -
Use the following login credentials as needed:
To enter your username, place your cursor in the Sign in box and click on the username below.
To enter your password, place your cursor in the Enter password box and click on the password below.

Azure Username: [email protected] -

Azure Password: XXXXXXXXXXXX -
The following information is for technical support purposes only:

Lab Instance: 12345678 -

Task -
You need to ensure that a user named [email protected] can regenerate the subscription keys of AAA12345678. The solution must use the principle of least privilege.
To complete this task, sign in to the Azure portal.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Manually rotate subscription keys
1. (Update your application code to reference the secondary key for the Azure account and deploy.)
2. In the Azure portal, navigate to your Azure account.
3. Under Settings, select Authentication.
4. To regenerate the primary key for your Azure account, select the Regenerate button next to the primary key.
5. (Update your application code to reference the new primary key and deploy.)
6. Regenerate the secondary key in the same manner.
Reference:
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-maps/how-to-manage-authentication.md

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
ziggy1117
Highly Voted 1 year, 6 months ago
Cognitive Services Contributor Lets you create, read, update, delete and manage keys of Cognitive Services.
upvoted 12 times
rdemontis
1 year ago
agree with you
upvoted 1 times
...
...
omankoman
Most Recent 5 months, 3 weeks ago
This type of simulation question was not included in the real exam, which was taken on 12 June.
upvoted 1 times
...
nanaw770
6 months, 2 weeks ago
Simulation questions will not appear on the actual exam as of May 25, 2024; ET should remove this type of question.
upvoted 2 times
...
joesatriani
7 months, 1 week ago
Will these simulation questions appear in exams on 2024 as of May?
upvoted 1 times
...
M25
1 year, 3 months ago
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#cognitive-services-user Classic Storage Account Key Operator Service Role: Classic Storage Account Key Operators are allowed to list and regenerate keys on Classic Storage Accounts
upvoted 2 times
...
mgafar
1 year, 7 months ago
1. Sign in to the Azure portal (https://portal.azure.com/) using your account credentials. 2. In the left-hand navigation menu, click on "All services" and search for "Subscriptions." Click on the "Subscriptions" service to open the list of your Azure subscriptions. 3. Find the subscription with the ID "AAA12345678" and click on it to open the subscription details page. 4. In the left-hand navigation menu of the subscription details page, click on "Access control (IAM)." 5. Click on the "+ Add" button to add a new role assignment. This will open the "Add role assignment" pane. 6. In the "Role" dropdown menu, search for and select the "User Access Administrator" role. This role allows a user to manage access to Azure resources, including the ability to manage subscription keys, while adhering to the principle of least privilege. 7. In the "Select" field, type "[email protected]" and select the user from the list of suggestions. 8. Click on the "Save" button to complete the role assignment process.
upvoted 3 times
AnonymousJhb
10 months, 1 week ago
NEVER! this question asks for principle of least privilege. you do not apply the RBAC IAM role at the subscription level. you need to drill down past the resource group and directly on the resource, go to IAM > and add the user account as a Cognitive Services Contributor
upvoted 1 times
...
ziggy1117
1 year, 6 months ago
user access administrator does not allow you to regenerate keys. but it allows you to add users
upvoted 1 times
Jo_Hannes
1 year, 4 months ago
Cognitive Services Contributor Lets you create, read, update, delete and manage keys of Cognitive Services.
upvoted 1 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 ...