You are encryption your database connection password to use in the kettle. properties file. The output of the encr script is:
Encrypted XYZabc123
In this scenario, which syntax is correct?
Suggested Answer: A
Get Premium HCE-5920 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
34 comments · newest first
VE
Veronika
10 months ago
C just looks wrong, but I'm surprised it's even an option!
LO
Loreta
11 months ago
Wait, is it really case-sensitive?
LA
Lashon
11 months ago
I think B is a typo, not sure about that one.
MA
Marsha
11 months ago
Definitely A, looks right to me!
HA
Haydee
11 months ago
The correct syntax should include "Encrypted".
TE
Terry
12 months ago
I thought the password had to be in quotes, but I'm not clear if that applies to all options here.
GW
Gwenn
12 months ago
I feel like the correct answer should have an equals sign, but I can't recall if it was a dash or an equals sign in the options.
KA
Kallie
12 months ago
I remember practicing a similar question, and I think the function needs to be spelled correctly. Was it "Encrypted" or "Encfypted"?
DE
Delsie
1 year ago
I think the syntax should include "Encrypted" in it, but I'm not sure if it's option A or D.
JE
Jeanice
1 year ago
I'm feeling pretty confident about this. The correct answer is option B: DB_PASSWORD=String('XYZabc123'). The output is already encrypted, so we just need to store it as a string.
RO
Rosalind
1 year ago
I'm not sure about this one. The options all look a bit different from the example output. I'll need to review my notes on encryption before answering.
NY
Nydia
1 year ago
Okay, I think I've got this. The output is "Encrypted XYZabc123", so the correct syntax is option D: DB_PASSWORD=Encrypted XYZabc123.
CH
Christiane
1 year ago
Hmm, I'm a bit confused by the output of the encr script. I'll need to double-check the expected format for the password in the properties file.
FL
Fletcher
1 year ago
This looks like a tricky encryption question. I'll need to carefully read through the options and think about the correct syntax for storing an encrypted password.
WI
Wilbert
2 years ago
Encryption, schmencryption. Just put the password in there as is, man. C is the way to go!
SH
Sheldon
2 years ago
Wait, wait, wait. Isn't the correct answer C? I mean, the password is just 'XYZABC123', no need to do anything fancy with it.
MI
Miesha
2 years ago
Haha, I love these encryption questions! I reckon the answer is A. Gotta use that 'Encrypted()' function to make it work, right?
ER
Erick
2 years ago
User 4: A is the way to go. 'Encrypted()' is necessary for encryption.
DY
Dylan
2 years ago
User 3: I'm not sure, but A seems to be the right choice.
CA
Carolann
2 years ago
User 2: Yeah, I agree. A is the correct syntax for encrypting the password.
RO
Rodolfo
2 years ago
Yep, A) is the way to go for encrypting the password.
CA
Carin
2 years ago
User 1: I think the answer is A. You need to use the 'Encrypted()' function.
MA
Markus
2 years ago
I think so too. A) looks like the right choice.
WI
Wilson
2 years ago
Definitely! That's the correct syntax.
MI
Minna
2 years ago
A) DB_PASSWORD=Encfypted(XYZABC123)
TI
Tiffiny
2 years ago
I see your point, but I still think option A is the correct one because it follows the format of the output from the encr script
BR
Brynn
2 years ago
I disagree, I believe the correct syntax is D) DB_PASSWORD=Encrypted XY2ABC123
TI
Tiffiny
2 years ago
I think the correct syntax is A) DB_PASSWORD=Encrypted(XYZABC123)
KA
Karrie
2 years ago
Hmm, I'm leaning towards B. Doesn't the documentation say we need to use the 'String()' function to wrap the encrypted value?
AP
Apolonia
2 years ago
I'm pretty sure the correct answer is D. The output of the encryption script is 'Encrypted XYZabc123', so the correct syntax would be to use that value directly.
GI
Giovanna
2 years ago
I would go with D as well. It makes sense to use the exact output of the encryption script.
TA
Talia
2 years ago
I'm not so sure, I think A might be the correct syntax to use the encrypted password.
SA
Sabra
2 years ago
Yeah, I agree. D seems to be the right choice in this scenario.
TU
Tuyet
2 years ago
I think the correct syntax is D. Just use the output of the encryption script directly.