VMware Advanced Deploy VMware vRealize Automation 8.6 - 3V0-31.22 Exam Practice Test

TASK 6
As the Cloud Administrator for the Saturn Project, you have been tasked to:
1. Create an ABX Action
2. Create a subscription to trigger the action only if the following conditions are met:
a. The Cloud Template is Saturn Ubuntu 18 only.
b The action should fire immediately after the compute resource gets provisioned.
c. The action should trigger only for the current project.
Additional Information required to complete the tasks:
* URL: https://vr-automation.corp.local
* Username: [email protected]
* Password: VMware1!
* Action Name: Saturn-Python-Script
* Python Script Content: "C:\Exam Files\Question 6\Satum Python Script.txt'
* FaaS Provider: On-Prem
* Subscription Name: Execute-Python-Script
Correct Answer:
See the Explanation for complete Solution
Explanation:
To complete Task 6 for the Saturn Project, follow these steps:
Step 1: Create an ABX Action
Log in to the vRealize Automation console at https://vr-automation.corp.local using the provided credentials.
Navigate to Extensibility > Actions.
Click on New Action.
Enter the Action Name as "Saturn-Python-Script".
Select the Scripting Language as Python and the FaaS Provider as On-Prem.
Use the Import Package option to upload the content of the Python script from "C:\Exam Files\Question 6\Satum Python Script.txt".
Save the action.
Step 2: Create a Subscription
Go to Extensibility > Subscriptions.
Click on New Subscription.
Enter the Subscription Name as "Execute-Python-Script".
Set the Event Topic to trigger after the compute resource gets provisioned, which is typically the "Compute Provision" event.
Define the Conditions for the subscription:
The Cloud Template is "Saturn Ubuntu 18" only.
The action should trigger only for the current project.
Save the subscription.
Ensure that the conditions for the subscription match the exact criteria needed for the Saturn Project. The action will now be triggered automatically under the specified conditions after the compute resource is provisioned.
TASK 11
As the Cloud Administrator. you have been tasked with building a Continuous Integration/Continuous Development (CI/CD) pipeline for the Oberon Project. The requirements for this pipeline are:
* The pipeline should deploy the monolithic application. OberonWeb. only it approved by the project leader.
* The requestor should be able to specify the name of the deployment at the request time.
The following information is required to complete the task:
* vRealize Automation FODN: vr-automation.corp.local
* Cloud Administrator Username: [email protected]
* Cloud Administrator Password: VMware1!
Pipeline Information:
* Project Name: Oberon
* Pipeline Name: OberonWeb
* Pipeline inputs:
o deploymentName
* Stage Name: OberonWebApp
* Pipeline Tasks
o Deployment Task
o Approval Task
Approval Task Information:
* Task Name: Approval Task
* Approvers: vcapadmin@corp. local
* Summary: Approval Task
* Description:
o This is an approval for $(input. deploymentName)
Deployment Task Information:
* Task Name: Deployment Task
* Cloud Template Name: Oberon Web
* Version: 1
Deployment Name: Oberon Web App Test Important Notes:
* You must run the Pipeline, but do not approve the task
Correct Answer:
See the Explanation for complete Solution
Explanation:
To build the CI/CD pipeline for the Oberon Project with the specified requirements, you would perform the following steps in vRealize Automation:
Log in to the vRealize Automation console at vr-automation.corp.local using the provided Cloud Administrator credentials.
Navigate to the Code Stream service to access the pipeline management features.
Create a new pipeline with the name "OberonWeb" within the "Oberon" project.
Define the pipeline inputs to include deploymentName, which allows the requestor to specify the name of the deployment at request time.
Add a stage to the pipeline named "OberonWebApp".
Within the stage, add two tasks:
Deployment Task: Configure this task to deploy the "Oberon Web" cloud template, specifying the version as 1.
Approval Task: Set up this task with the name "Approval Task", and assign [email protected] as the approver. The summary should be "Approval Task", and the description should include the dynamic reference to the input deployment name, such as "This is an approval for $(input.deploymentName)".
Ensure that the Approval Task precedes the Deployment Task within the pipeline to enforce that the deployment only occurs after approval by the project leader.
Save the pipeline configuration.
Run the pipeline by initiating a new pipeline execution and providing a test deployment name when prompted, such as "Oberon Web App Test".
Do not approve the deployment when the Approval Task is triggered, as per the instructions.
By following these steps, you will have configured a CI/CD pipeline that meets the requirements of deploying the OberonWeb application only after approval by the project leader, and allows the requestor to specify the deployment name at the time of the request.
0
0
0
0