Question 223 of 511
vSphere SecurityhardMultiple ChoiceObjective-mapped

Quick Answer

The correct step is to integrate vCenter Server with an external identity provider (IdP) such as ADFS or Okta that supports MFA, and use a service account with MFA for API access. This is correct because vCenter Server’s built-in administrator account cannot enforce multi-factor authentication for both interactive vSphere Client logins and OAuth 2.0 token-based API integrations on its own; only an external IdP can centralize authentication, enforce MFA policies, and issue the tokens required for modern API access. On the VMware Certified Professional Data Center Virtualization VCP-DCV exam, this scenario tests your understanding of identity federation and the limitations of local vCenter Single Sign-On—a common trap is assuming you can simply enable MFA on the built-in administrator account, which does not support API token flows. Remember the key distinction: local accounts lack MFA for APIs, while external IdPs provide unified MFA for both interfaces. Memory tip: “One IdP to rule them all—MFA for GUI and API.”

VCP-DCV vSphere Security Practice Question

This VCP-DCV practice question tests your understanding of vsphere security. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

A company has a vSphere environment with 20 ESXi hosts and 500 VMs. The security team mandates that all administrative access to vCenter Server must be through a single, highly restricted account with multi-factor authentication (MFA). The account must be used for both the vSphere Client and API integrations. Which step should the administrator take?

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Integrate vCenter Server with an external identity provider (e.g., ADFS, Okta) that supports MFA, and use a service account with MFA for API access.

Option B is correct because integrating vCenter Server with an external identity provider (IdP) such as ADFS or Okta allows the use of a single service account that supports multi-factor authentication (MFA) for both the vSphere Client and API integrations. This approach meets the security mandate by centralizing authentication through an IdP that enforces MFA, while also supporting OAuth 2.0 token-based API access, which is required for modern vSphere API integrations. The built-in administrator account cannot be directly configured with MFA in a way that satisfies both interactive and API access requirements without external integration.

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.

  • Configure the built-in administrator account to require smart card authentication.

    Why it's wrong here

    Smart card authentication is not equivalent to MFA and may not be supported for API integrations.

  • Integrate vCenter Server with an external identity provider (e.g., ADFS, Okta) that supports MFA, and use a service account with MFA for API access.

    Why this is correct

    External identity providers can enforce MFA and work with both UI and API access.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a new local account and configure it as a member of the Administrators group, then enforce MFA via a third-party tool on the vCenter Server OS.

    Why it's wrong here

    Third-party MFA on the OS is not supported and would not cover API access.

  • Disable the built-in administrator account and create a new local account with the same privileges.

    Why it's wrong here

    Local accounts do not support MFA; disabling the built-in account can cause issues.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume the built-in administrator account can be directly configured with MFA for all access types, but vCenter Server does not natively support MFA for local accounts or API integrations without an external identity provider.

Detailed technical explanation

How to think about this question

Under the hood, vCenter Server supports external identity providers via the vSphere Authentication Framework, which uses SAML 2.0 or OAuth 2.0 for federated identity. When integrated with an IdP like ADFS or Okta, the service account can be configured to require MFA at the IdP level, and API integrations use OAuth 2.0 tokens that are validated against the IdP, ensuring MFA is enforced for both interactive and programmatic access. A real-world scenario is a regulated environment where a single privileged account must be used for automation (e.g., Terraform or PowerCLI) and GUI access, and the IdP handles MFA challenges transparently via token refresh flows.

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 junior network technician can log in to a core router but cannot reach the enable prompt or configuration mode. The AAA server is authenticating the login — but the authorisation policy only grants privilege level 1, not 15. Authentication (who you are) is working; authorisation (what you can do) is not.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related VCP-DCV practice-question pages

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

Practice this exam

Start a free VCP-DCV practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this VCP-DCV question test?

vSphere Security — This question tests vSphere Security — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Integrate vCenter Server with an external identity provider (e.g., ADFS, Okta) that supports MFA, and use a service account with MFA for API access. — Option B is correct because integrating vCenter Server with an external identity provider (IdP) such as ADFS or Okta allows the use of a single service account that supports multi-factor authentication (MFA) for both the vSphere Client and API integrations. This approach meets the security mandate by centralizing authentication through an IdP that enforces MFA, while also supporting OAuth 2.0 token-based API access, which is required for modern vSphere API integrations. The built-in administrator account cannot be directly configured with MFA in a way that satisfies both interactive and API access requirements without external integration.

What should I do if I get this VCP-DCV question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

This VCP-DCV practice question is part of Courseiva's free VMware 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 VCP-DCV exam.