exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 54 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 54
Topic #: 1
[All Certified Data Engineer Professional Questions]

Which Python variable contains a list of directories to be searched when trying to locate required modules?

  • A. importlib.resource_path
  • B. sys.path
  • C. os.path
  • D. pypi.path
  • E. pylib.source
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
alexvno
Highly Voted 1 year, 4 months ago
Selected Answer: B
sys. path is a built-in variable within the sys module. It contains a list of directories that the interpreter will search in for the required module
upvoted 7 times
...
Sriramiyer92
Most Recent 4 months, 1 week ago
Selected Answer: B
sys.path is a list in Python that contains the directories the interpreter searches for modules when importing them. It is initialized with the default paths when Python starts and can be modified during runtime if needed.
upvoted 1 times
...
benni_ale
6 months ago
Selected Answer: B
sys.path is a built-in variable within the sys module. It contains a list of directories that the interpreter will search in for the required module.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago