BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 4 Question 118 Discussion

Posted by Na on Mar 20, 2025 at 09:22 PM

You have a GitHub repository that uses GitHub Actions and stores access keys by using GitHub encrypted secrets.

You plan to update the secrets by using the GitHub REST API.

You need to wrap the secrets before adding them to a REST-based call.

Which encryption library should you are that you use?

Suggested Answer: B

Get Premium AZ-400 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
34 comments · newest first
FR
Francesco 11 months ago
Definitely going with libsodium, it's widely recommended!
AU
Audry 11 months ago
BouncyCastle is pretty solid too, though.
TH
Theola 12 months ago
Wait, can you really use hashlib for this? Seems off.
LO
Louann 12 months ago
CryptoNet? Never heard of it, is it reliable?
LE
Levi 12 months ago
I think libsodium is the best choice here.
DO
Dortha 1 year ago
CryptoNet sounds familiar, but I can't recall if it's specifically meant for this kind of secret management.
YO
Yong 1 year ago
I feel like hashlib is more for hashing rather than encryption, so it might not be the right choice here.
CA
Carmela 1 year ago
I remember practicing a similar question, and I think BouncyCastle was mentioned as a good option for encryption in Java contexts.
LU
Luisa 1 year ago
I think we might need to use libsodium for wrapping the secrets, but I'm not entirely sure if it's the best choice for this scenario.
EL
Eleni 1 year ago
This is a tricky one. I'm not super familiar with the different encryption libraries, so I'll have to do some quick research to figure out which one is the most appropriate for this use case. Hopefully, I can find a clear answer before the exam ends.
DO
Dominga 1 year ago
Okay, let's see here. We need to encrypt the secrets before sending them to the GitHub API. I'm leaning towards BouncyCastle since it's a robust and flexible cryptography library, but I'll double-check the other options just to be sure.
IV
Ivan 1 year ago
Hmm, I'm a bit unsure about this one. I know we need to wrap the secrets before sending them, but I'm not sure which encryption library would be the best choice. I'll have to think this through carefully.
BE
Berry 1 year ago
This looks like a straightforward question about encrypting data for a GitHub API call. I think I'll go with libsodium since it's a well-known and widely-used cryptography library.
BI
Billy 2 years ago
Haha, BouncyCastle? Sounds like something straight out of a spy movie!
LA
Launa 1 year ago
↳ replying to Billy
User 4: I've heard good things about CryptoNet as well, it might be worth considering.
AN
Annice 1 year ago
↳ replying to Billy
User 3: BouncyCastle does sound like it's from a spy movie, but it's actually a popular choice for encryption libraries.
NA
Nada 1 year ago
↳ replying to Billy
User 2: Yeah, libsodium is known for its strong encryption capabilities.
AL
Aleisha 2 years ago
↳ replying to Billy
User 1: I think libsodium would be a good choice for encryption.
CL
Claudia 2 years ago
CryptoNet? Never heard of it. I'd stick with a more established library like libsodium.
AS
Asha 2 years ago
↳ replying to Claudia
User2
VA
Valda 2 years ago
↳ replying to Claudia
User1
LE
Leonardo 2 years ago
I personally prefer CryptoNet for encryption, it has worked well for me in the past.
DE
Denny 2 years ago
I'm not sure about libsodium, I think hashlib might be a better option.
JU
Junita 2 years ago
I agree with Lura, libsodium is a good choice for encryption.
LA
Lavera 2 years ago
Hmm, hashlib is for hashing, not encryption. Definitely not the right choice.
LU
Luis 2 years ago
BouncyCastle is a good option too, but it might be overkill for this simple use case.
BE
Bettye 2 years ago
↳ replying to Luis
C) hashlib
EV
Eveline 2 years ago
↳ replying to Luis
B) libsodium
LA
Lawana 2 years ago
↳ replying to Luis
C) hashlib
CA
Cassi 2 years ago
↳ replying to Luis
B) libsodium
CH
Charlette 2 years ago
↳ replying to Luis
A) CryptoNet
FL
Fletcher 2 years ago
↳ replying to Luis
A) CryptoNet
HE
Herminia 2 years ago
I think libsodium is the way to go here. It's a well-known and secure library for handling encryption tasks.
LU
Lura 2 years ago
I think we should use libsodium for encryption.
0/2000 characters

Save Cancel