hardmultiple choiceObjective-mapped

A company uses Microsoft Entra ID Privileged Identity Management (PIM) to control access to administrator roles. They want to implement a monitoring solution that sends an email to the security team whenever a user activates the Global Administrator role outside of standard business hours (9 AM–5 PM). They also need to track all activation history for quarterly audits. Which solution should they implement?

Question 1hardmultiple choice
Full question →

A company uses Microsoft Entra ID Privileged Identity Management (PIM) to control access to administrator roles. They want to implement a monitoring solution that sends an email to the security team whenever a user activates the Global Administrator role outside of standard business hours (9 AM–5 PM). They also need to track all activation history for quarterly audits. Which solution should they implement?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Configure PIM to send notifications for role activations and stream PIM audit logs to Azure Log Analytics, then create an alert rule for activations outside business hours

Correct. PIM notifications for baseline, but time-based filtering requires log analytics alert rule on audit logs.

B

Distractor review

Use Microsoft Entra ID Identity Protection to detect risky activations and trigger a Logic App

Identity Protection is designed for risky sign-ins and user risk, not specifically for PIM role activations.

C

Distractor review

Enable Microsoft Entra ID diagnostic settings to send logs to Event Hubs and process with Azure Stream Analytics

Event Hubs and Stream Analytics can process logs, but this is an over-engineering; simpler log analytics alert is sufficient.

D

Distractor review

Use Azure Sentinel with a built-in connector for PIM and create a scheduled analytics rule

Azure Sentinel can do this, but it is a more complex and expensive SIEM; the requirement does not indicate need for full SIEM.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Configure PIM to send notifications for role activations and stream PIM audit logs to Azure Log Analytics, then create an alert rule for activations outside business hours — The required integration involves streaming PIM audit logs (via Microsoft Entra ID diagnostic settings) to a Log Analytics workspace, then creating an Azure Monitor alert rule that triggers when a Global Administrator activation occurs outside the defined hours. This allows custom notifications and retains logs for auditing. PIM notifications alone cannot filter by time. Azure Sentinel could be used but is more complex and costlier for this scenario. Logic Apps with Event Hubs is an alternative but not the standard approach.

What should I do if I get this AZ-305 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.