Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 124 discussion

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

The security team is exploring whether or not the Databricks secrets module can be leveraged for connecting to an external database.

After testing the code with all Python variables being defined with strings, they upload the password to the secrets module and configure the correct permissions for the currently active user. They then modify their code to the following (leaving all other variables unchanged).



Which statement describes what will happen when the above code is executed?

  • A. The connection to the external table will succeed; the string "REDACTED" will be printed.
  • B. An interactive input box will appear in the notebook; if the right password is provided, the connection will succeed and the encoded password will be saved to DBFS.
  • C. An interactive input box will appear in the notebook; if the right password is provided, the connection will succeed and the password will be printed in plain text.
  • D. The connection to the external table will succeed; the string value of password will be printed in plain text.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Hadiler
4 months ago
Selected Answer: A
A is the correct answer
upvoted 2 times
...
vexor3
4 months, 1 week ago
Selected Answer: A
A is correct
upvoted 2 times
...
Deb9753
5 months, 3 weeks ago
Answer A : When using Databricks secrets, the actual value of the secret is typically protected from being displayed in plain text. Databricks automatically redacts secret values when they are printed in the notebook. So, when you use the print(password) statement, the output will not show the actual password but will instead show [REDACTED].
upvoted 1 times
...
imatheushenrique
5 months, 3 weeks ago
A. A. The connection to the external table will succeed; the string "REDACTED" will be printed.
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 ...