QuestionQ1
Author and manage workflowsWhat is the output of the following event-trigger block in a workflow?

- A It throws a workflow syntax error, pointing to the types definition in issue_comment event.
- B It runs the workflow when an issue or issue comment in the workflow's repository is created or modified.
- C It runs the workflow when an issue is edited or when an issue comment created.
- D It runs the workflow when an issue is created or edited, or when an issue or pull request comment is created.
- E It throws a workflow syntax error, pointing to the types definition in issues event.
QuestionQ2
Author and manage workflowsYou need to create a reusable GitHub Actions workflow template named ci.yml. The solution must ensure that ci.yml is shown in the GitHub Actions New workflow interface.
Where should ci.yml be stored?
- A .github/workflow-templates
- B .github/templates
- C the root directory of each repository
- D .github/workflows
Community Discussion
QuestionQ3
Consume and troubleshoot workflowsAs a developer, you are using a Docker container action in your workflow. What must be in place for the action to run successfully?
- A The job env must be set to a Linux environment.
- B The action must be published to the GitHub Marketplace.
- C The referenced action must be hosted on Docker Hub.
- D The job runs-on must specify a Linux machine with Docker installed.
Community Discussion
QuestionQ4
Author and maintain actionsWhen creating and managing custom actions in an enterprise environment, which of the following is a best practice?
- A creating a separate repository for each action so that the version can be managed independently
- B creating a separate branch in application repositories that only contains the actions
- C creating a single repository for all custom actions so that the versions for each action are all the same
- D including custom actions that other teams need to reference in the same repository as application code
Community Discussion
QuestionQ5
Consume and troubleshoot workflowsAs a developer, you must integrate a GitHub Actions workflow with a third-party code-quality provider that uses the Checks API. How should you initiate a follow-up workflow?
- A Add the workflow_run webhook event as a trigger for the workflow for the code quality integration name
- B Add the check_run webhook event as a trigger for the workflow when the code quality integration is completed
- C Add the pull_request webhook event as a trigger for the workflow when the code quality integration is synchronized
- D Add the deployment webhook event as a trigger for the workflow when the code quality integration is completed















Community Discussion