The correct answer is to create a new client secret, update the daemon to use the new secret, then delete the old secret. This is because the security policy requires rotating client secrets every six months, yet the current secret’s endDateTime extends to 2025-12-31, far exceeding that interval—meaning it is non-compliant and must be replaced. In Microsoft Entra ID, daemon applications use client credentials for token acquisition, and rotating secrets prevents credential exposure while ensuring zero downtime by overlapping the new and old secrets during the update. On the MS-102 exam, this scenario tests your understanding of application credential lifecycle management, often appearing as a JSON exhibit where the trap is assuming a long-lived secret is acceptable if it hasn’t expired. Remember the rotation rhythm: create, swap, delete—never let a secret outlive its policy.
MS-102 Practice Question: Implement and manage Microsoft Entra identity and access
This MS-102 practice question tests your understanding of implement and manage microsoft entra identity and access. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Refer to the exhibit. You manage an application registration in Microsoft Entra ID. The JSON shows the current state of the app's password credentials. The application is used by a daemon to acquire tokens. The certificate used for authentication expires on 2025-12-31. The application is currently using a client secret. The security policy requires rotating secrets every 6 months. What is the best course of action?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "best"
Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a new client secret, update the daemon to use the new secret, then delete the old secret
Option C is correct because the security policy requires rotating secrets every 6 months, and the current secret's endDateTime is set to 2025-12-31, which exceeds that interval. Creating a new client secret, updating the daemon to use it, and then deleting the old secret ensures compliance with the rotation policy while maintaining uninterrupted token acquisition. This approach follows the least-privilege and secret rotation best practices for application credentials in Microsoft Entra ID.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Switch the daemon to use certificate-based authentication and remove the secret
Why it's wrong here
While certificate is more secure, it is not required by the policy.
✗
Do nothing; the secret does not expire until 2025-12-31
Why it's wrong here
Policy requires rotation every 6 months, not waiting for expiration.
✓
Create a new client secret, update the daemon to use the new secret, then delete the old secret
Why this is correct
This rotates the secret properly.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
Extend the endDateTime of the existing secret to 2026-12-31
Why it's wrong here
Extending does not rotate the secret; the same secret continues.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the distinction between secret expiration and rotation policy, where candidates mistakenly think that a long expiration date satisfies security requirements, but rotation policies mandate periodic replacement regardless of the original expiration date.
Detailed technical explanation
How to think about this question
Client secrets in Microsoft Entra ID are symmetric keys used in OAuth 2.0 client credentials grant flows for daemon applications. The secret's endDateTime property defines its expiration, but rotation policies require generating a new secret before the old one expires to limit exposure. Under the hood, the Microsoft Authentication Library (MSAL) can handle secret rotation seamlessly if the daemon is configured to try multiple credentials, but the recommended practice is to create a new secret, update the application code, and then remove the old one to avoid downtime.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this MS-102 question in full detail.
Implement and manage Microsoft Entra identity and access — This question tests Implement and manage Microsoft Entra identity and access — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Create a new client secret, update the daemon to use the new secret, then delete the old secret — Option C is correct because the security policy requires rotating secrets every 6 months, and the current secret's endDateTime is set to 2025-12-31, which exceeds that interval. Creating a new client secret, updating the daemon to use it, and then deleting the old secret ensures compliance with the rotation policy while maintaining uninterrupted token acquisition. This approach follows the least-privilege and secret rotation best practices for application credentials in Microsoft Entra ID.
What should I do if I get this MS-102 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This MS-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-102 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.