VCP-CMA 2024 exam dumps

VCP-CMA 2024 practice question 124 of 269

VMware Certified Professional - Cloud Management and Automation 2024. Associate level, VMware. Free question with the correct answer and a full explanation.

VCP-CMA 2024 Question 124

Single answer

You are configuring an endpoint in VMware Aria Automation Pipelines to integrate with a Git repository. The organization requires secure authentication and wants to ensure that the pipeline can fetch code from private repositories. Which configuration step must you perform to meet these requirements?

  1. A

    Add the Git repository URL and select 'Public' as the repository type.

  2. B

    Configure a Personal Access Token (PAT) and associate it with the endpoint.

  3. C

    Enable the 'Auto-discovery' option to automatically detect private repositories.

  4. D

    Use a service account username and password for authentication instead of a token.

Show answer and explanation

Correct answer: B

Explanation

When integrating a Git repository with VMware Aria Automation Pipelines, secure and seamless access to private repositories is essential. Configuring a Personal Access Token (PAT) ensures that the pipeline can authenticate securely and fetch code from private repositories. This method is preferred over less secure alternatives like username and password.

  • A. Incorrect.

    This option is incorrect because selecting 'Public' as the repository type would not allow access to private repositories, which require authentication.

  • B. Correct.

    This option is correct because a Personal Access Token (PAT) is the secure method recommended for authenticating against private Git repositories in VMware Aria Automation Pipelines.

  • C. Incorrect.

    This option is incorrect because 'Auto-discovery' does not address authentication for private repositories, and it is not a required step for Git integration.

  • D. Incorrect.

    This option is incorrect because using a username and password is less secure compared to using a Personal Access Token (PAT), which is the preferred method in VMware Aria Automation Pipelines.

Timed practice exam

Take a VCP-CMA 2024 practice test under exam conditions

60 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam