ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 362 - AZ-400 discussion

Report
Export

You plan to create a GitHub workflow that will use GitHub Actions. The actions will require a 256-KB secret. You need to recommend a solution to store and encrypt the secret. The secret value must be accessible only to the workflow. The solution must minimize administrative effort What should you recommend?

A.
Store the secret in the organization-level GitHub secrets.
Answers
A.
Store the secret in the organization-level GitHub secrets.
B.
Store the secret in the repository-level GitHub secrets.
Answers
B.
Store the secret in the repository-level GitHub secrets.
C.
Encrypt the secret value and store the value in the repository. Store the decryption key in the repository-level GitHub secrets.
Answers
C.
Encrypt the secret value and store the value in the repository. Store the decryption key in the repository-level GitHub secrets.
D.
Encrypt the secret value and store the value in the repository. Store the decryption key in the organization-level GitHub secrets.
Answers
D.
Encrypt the secret value and store the value in the repository. Store the decryption key in the organization-level GitHub secrets.
Suggested answer: C

Explanation:

https://docs.github.com/en/actions/security-guides/encrypted-secrets "To use secrets that are larger than 48 KB, you can use a workaround to store encrypted secrets in your repository and save the decryption passphrase as a secret on GitHub." Because it requires less administrative privilege it's at repository level

asked 02/10/2024
Ben Johnson
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first