nerdexam
Check_Point

156-815.71 · Question #105

What is the purpose of running the command mdsenv?

The correct answer is B. The mdsenv prepares the shell environment for running MDS level commands or commands for. See the full explanation below for the reasoning.

Question

What is the purpose of running the command mdsenv?

Options

  • AThe mdsenv command checks if all the environment variables required by the MDS are set; if any
  • BThe mdsenv prepares the shell environment for running MDS level commands or commands for
  • CThe mdsenv command sets the path variable so that the MDS commands (like mdsstart, mdsstop
  • DThe mdsenv command will run a special shell where interactive MDS commands can be run.

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    74% (20)
  • C
    15% (4)
  • D
    4% (1)

Community Discussion

7
Mei-Ling H.Mei-Ling H.Nov 10, 2025

B is correct. The word "prepares" is the key here, because mdsenv does not just set one variable or check variables, it sets up the entire shell environment so you can run MDS level commands or commands targeting a specific domain, which is a broader purpose than what A or C describe.

28
Dervla O.Dervla O.Nov 10, 2025

The "prepares" framing is solid, but the sharper eliminator is that A and C each describe a scope that is too narrow, which means you can confirm B through elimination even before you parse what "prepares" is doing in the stem.

0
Ola B.Ola B.Oct 9, 2025

So mdsenv sets up your shell to talk to a specific CMA, right, but which CMA does it target if you have multiple domains?

2
Prof. SaraProf. SaraOct 29, 2025

B is right, but what MDS context does mdsenv actually prepare the shell for?

2
Dervla O.Dervla O.Nov 5, 2025

I kept circling back to C because setting PATH feels like the most mechanical thing a shell-prep command would do, but when I read the stem again, "prepares the shell environment" in B is actually broader and more accurate, covering variables, paths, and context together rather than just one component of that setup.

2
Prof. SaraProf. SaraNov 7, 2025

Exactly right, and the blueprint language for that domain specifically uses "environment initialization" rather than "path configuration," so B maps directly to the testable objective while C is really just one line inside that broader process.

0
Wesley A.Wesley A.Oct 22, 2025

B is right. mdsenv sources the correct environment variables and sets the shell context so that when you run MDS level commands or commands targeting a specific CMA, the system knows which MDS to talk to, which is why you have to run it before anything else actually works.

0
Full 156-815.71 Practice