Valid NCP-MCA Dumps shared by ExamDiscuss.com for Helping Passing NCP-MCA Exam! ExamDiscuss.com now offer the newest NCP-MCA exam dumps, the ExamDiscuss.com NCP-MCA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com NCP-MCA dumps with Test Engine here:
An administrator wants to create a blueprint for a development environment that uses an existing on-premise GitLab repository. Every new development environment requires a new user in the GitLab repo. Which two tasks should the administrator perform within a Calm blueprint to automate this process? (Choose two.)
Correct Answer: A,B
To automate the creation of a new user in GitLab for every new development environment, the administrator should perform the following tasks within a Calm blueprint: * Create an HTTP pre-create task to create the user in GitLab via REST API. This task will send an HTTP request to the GitLab server with the user information and credentials, and receive a response with the user ID and status. The administrator can use the response to verify the user creation and store the user ID as a variable for later use. * Create runtime-editable variables for user and password in the blueprint. These variables will allow the administrator to specify the user name and password for the new GitLab user at the time of launching the blueprint. The variables can be passed as parameters to the HTTP pre-create task and used in the REST API call. * The other two options are not correct because: * Adding a task within the service to ask for user and password at runtime is redundant and unnecessary, as the runtime-editable variables can already provide this functionality. * Creating a task script to login with ssh to GitLab and create a random user and password is not a good practice, as it exposes the GitLab server to security risks and does not use the REST API that GitLab provides for user management. References: * Nutanix Certified Professional - Multicloud Automation (NCP-MCA) 6.5 Exam, page 17 * Nutanix Calm User Guide, section "HTTP Task" * GitLab API Documentation, section "Create user"