nerdexam
MicrosoftMicrosoft

GH-200 · Question #85

GH-200 Question #85: Real Exam Question with Answer & Explanation

Sign in or unlock GH-200 to reveal the answer and full explanation for question #85. The question stem and answer options stay visible for context.

Author and Maintain Workflows

Question

As a developer, you are authoring a workflow that will deploy to both DevCloud and TestCloud resources. Each cloud resource is accessed with a different deployment key. Which approach best allows you to use the same reusable workflow in separate jobs to target the different cloud resources?

Options

  • APopulate a DEPLOY_KEY repository secret with a JSON object containing DevCloud and
  • BUse a marketplace action to conditionally parse the DEPLOY_KEY repository secret based on the
  • CStore the different keys in a DEPLOY_KEY environment secret in the DevCloud and TestCloud
  • DCreate repository secrets named DevCloud.DEPLOY_KEY and TestCloud.DEPLOY_KEY so that

Unlock GH-200 to see the answer

You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Reusable Workflows#Environment Secrets#Secrets Management#Workflow Management
Full GH-200 PracticeBrowse All GH-200 Questions