ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 356 - AZ-400 discussion

Report
Export

You have a GitHub repository that contains workflows. The workflows contain steps that execute predefined actions. Each action has one or more versions. You need to request the specific version of an action to execute.

Which three attributes can you use to identify the version? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A.
the SHA-based hashes
Answers
A.
the SHA-based hashes
B.
the tag
Answers
B.
the tag
C.
the runner
Answers
C.
the runner
D.
the branch
Answers
D.
the branch
E.
the serial
Answers
E.
the serial
Suggested answer: A, B, D

Explanation:

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions "We strongly recommend that you include the version of the action you are using by specifying a get ref, SHA, or Docker tag. If you don't specify a version, it could break your workflows or cause unexpected behavior when the action owner publishes an update. Using the commit SHA of a released action version is the safest for stability and security. If the action publishes major version tags, you should expect to receive critical fixes and security patches while still retaining compatibility. Note that this behavior is at the discretion of the action's author. Using the default branch of an action may be convenient, but if someone releases a new major version with a breaking change, your workflow could break."

asked 02/10/2024
Brett Tin
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first