exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 4 question 76 discussion

Actual exam question from Microsoft's AZ-400
Question #: 76
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 use?

  • A. CryptoNet
  • B. BouncyCastle
  • C. libsodium
  • D. hashlib
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MrAZ105
7 months, 1 week ago
Selected Answer: C
C is correct
upvoted 1 times
...
maqsoodshah
7 months, 3 weeks ago
To update the secrets in a GitHub repository using the GitHub REST API, you need to use the libsodium encryption library (Option C). Explanation: libsodium: This is the recommended library for encrypting secrets for use with GitHub, as it provides a secure way to encrypt data before sending it over a network. GitHub uses the libsodium library for its encryption processes, which makes it the correct choice when wrapping secrets. CryptoNet and BouncyCastle: While these are also encryption libraries, they are not specifically tied to the GitHub API's requirements for secrets management. hashlib: This library is primarily used for hashing and does not provide encryption functionality necessary for securely wrapping secrets. Therefore, the correct answer is C. libsodium.
upvoted 2 times
...
schwagalla
7 months, 3 weeks ago
Selected Answer: C
c
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 ...