nerdexam
GitHub

GITHUB-ACTIONS · Question #49

As a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose…

The correct answer is A. Encrypt the dataset. C. Store the dataset in a GitHub encrypted secret. D. Store the encryption keys in a GitHub encrypted secret. First, the dataset should be encrypted before being stored. This ensures that the data is protected when stored in a repository. The encrypted dataset can be stored in a GitHub secret, ensuring it is securely kept and not exposed publicly. The encryption key needed to decrypt…

GitHub Actions - Security and Secrets

Question

As a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose three.)

Options

  • AEncrypt the dataset.
  • BLeverage the actions/download-secret action in the workflow.
  • CStore the dataset in a GitHub encrypted secret.
  • DStore the encryption keys in a GitHub encrypted secret.
  • ECompress the dataset
  • FCommit the encrypted dataset to the same repository as the workflow
  • GCreate a GitHub encrypted secret with the Large object option selected and upload the dataset.

How the community answered

(28 responses)
  • A
    68% (19)
  • B
    4% (1)
  • E
    14% (4)
  • F
    4% (1)
  • G
    11% (3)

Explanation

First, the dataset should be encrypted before being stored. This ensures that the data is protected when stored in a repository. The encrypted dataset can be stored in a GitHub secret, ensuring it is securely kept and not exposed publicly. The encryption key needed to decrypt the dataset should also be stored in a GitHub secret to maintain security during the workflow, allowing access only when needed.

Topics

#secrets management#large secrets#encryption#dataset handling

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice