New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 4 Question 118 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 118
Topic #: 4
[All AZ-400 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Francesco
3 months ago
Definitely going with libsodium, it's widely recommended!
upvoted 0 times
...
Audry
3 months ago
BouncyCastle is pretty solid too, though.
upvoted 0 times
...
Theola
3 months ago
Wait, can you really use hashlib for this? Seems off.
upvoted 0 times
...
Louann
3 months ago
CryptoNet? Never heard of it, is it reliable?
upvoted 0 times
...
Levi
4 months ago
I think libsodium is the best choice here.
upvoted 0 times
...
Dortha
4 months ago
CryptoNet sounds familiar, but I can't recall if it's specifically meant for this kind of secret management.
upvoted 0 times
...
Yong
4 months ago
I feel like hashlib is more for hashing rather than encryption, so it might not be the right choice here.
upvoted 0 times
...
Carmela
4 months ago
I remember practicing a similar question, and I think BouncyCastle was mentioned as a good option for encryption in Java contexts.
upvoted 0 times
...
Luisa
5 months 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.
upvoted 0 times
...
Eleni
5 months 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.
upvoted 0 times
...
Dominga
5 months 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.
upvoted 0 times
...
Ivan
5 months 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.
upvoted 0 times
...
Berry
5 months 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.
upvoted 0 times
...
Billy
11 months ago
Haha, BouncyCastle? Sounds like something straight out of a spy movie!
upvoted 0 times
Launa
9 months ago
User 4: I've heard good things about CryptoNet as well, it might be worth considering.
upvoted 0 times
...
Annice
9 months ago
User 3: BouncyCastle does sound like it's from a spy movie, but it's actually a popular choice for encryption libraries.
upvoted 0 times
...
Nada
10 months ago
User 2: Yeah, libsodium is known for its strong encryption capabilities.
upvoted 0 times
...
Aleisha
10 months ago
User 1: I think libsodium would be a good choice for encryption.
upvoted 0 times
...
...
Claudia
11 months ago
CryptoNet? Never heard of it. I'd stick with a more established library like libsodium.
upvoted 0 times
Asha
10 months ago
User2
upvoted 0 times
...
Valda
10 months ago
User1
upvoted 0 times
...
...
Leonardo
11 months ago
I personally prefer CryptoNet for encryption, it has worked well for me in the past.
upvoted 0 times
...
Denny
11 months ago
I'm not sure about libsodium, I think hashlib might be a better option.
upvoted 0 times
...
Junita
11 months ago
I agree with Lura, libsodium is a good choice for encryption.
upvoted 0 times
...
Lavera
11 months ago
Hmm, hashlib is for hashing, not encryption. Definitely not the right choice.
upvoted 0 times
...
Luis
12 months ago
BouncyCastle is a good option too, but it might be overkill for this simple use case.
upvoted 0 times
Bettye
10 months ago
C) hashlib
upvoted 0 times
...
Eveline
10 months ago
B) libsodium
upvoted 0 times
...
Lawana
10 months ago
C) hashlib
upvoted 0 times
...
Cassi
11 months ago
B) libsodium
upvoted 0 times
...
Charlette
11 months ago
A) CryptoNet
upvoted 0 times
...
Fletcher
11 months ago
A) CryptoNet
upvoted 0 times
...
...
Herminia
12 months ago
I think libsodium is the way to go here. It's a well-known and secure library for handling encryption tasks.
upvoted 0 times
...
Lura
12 months ago
I think we should use libsodium for encryption.
upvoted 0 times
...

Save Cancel