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 6 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 6
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 fail; 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.
  • E. The connection to the external table will succeed; the string "REDACTED" will be printed.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
benni_ale
1 month, 2 weeks ago
Selected Answer: E
Shave like a bomber
upvoted 1 times
...
akashdesarda
1 month, 3 weeks ago
Selected Answer: E
Whatever we read using dbutls.secret module is always printed as '[REDACTED]', but when consumed in code, underlying vales are passed.
upvoted 2 times
...
imatheushenrique
5 months, 3 weeks ago
E. The connection to the external table will succeed; the string "REDACTED" will be printed.
upvoted 1 times
...
PrashantTiwari
9 months, 2 weeks ago
E is correct
upvoted 1 times
...
AziLa
10 months, 1 week ago
correct ans is E
upvoted 1 times
...
Jay_98_11
10 months, 2 weeks ago
Selected Answer: E
E is correct
upvoted 2 times
...
ATLTennis
10 months, 3 weeks ago
Selected Answer: E
E is correct
upvoted 2 times
...
kz_data
11 months, 1 week ago
Selected Answer: E
Correct answer E
upvoted 2 times
...
sturcu
1 year, 1 month ago
Selected Answer: E
Correct: https://docs.databricks.com/en/external-data/jdbc.html
upvoted 4 times
...
Brian9
1 year, 3 months ago
https://learn.microsoft.com/en-us/azure/databricks/security/secrets/redaction Option E - which is selected answer seems correct.
upvoted 3 times
...
8605246
1 year, 3 months ago
This option is correct, although the password won't be printed out, the connection will still succeed.
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 ...