Prepare for the VMware Advanced Deploy VMware vRealize Automation 8.x (v2) exam with our extensive collection of questions and answers. These practice Q&A are updated according to the latest syllabus, providing you with the tools needed to review and test your knowledge.
QA4Exam focus on the latest syllabus and exam objectives, our practice Q&A are designed to help you identify key topics and solidify your understanding. By focusing on the core curriculum, These Questions & Answers helps you cover all the essential topics, ensuring you're well-prepared for every section of the exam. Each question comes with a detailed explanation, offering valuable insights and helping you to learn from your mistakes. Whether you're looking to assess your progress or dive deeper into complex topics, our updated Q&A will provide the support you need to confidently approach the VMware 3V0-31.22 exam and achieve success.
TASK 12
As the Cloud Administrator, you have been tasked to update the Atlas App cloud template in the Atlas project. Perform the following tasks:
1. Edit the existing cloud template Atlas App. such that it is a multi-tier application that meets the following requirements:
* 2 Web servers
* 1 Database server
* The Database server is always built before the Web servers
* 2 NSX Networks:
o The first network should use the NAT feature
* Resource Name: external
* Second network should be an existing network
* Resource Name: internal o All networks should be restricted to use only the Atlas project networks
o The internal network should be restricted to use only the nsx-atlas-existing NSX network
* Both the web and db VMs should be connected to the internal network
2. Add an NSX load balancer to provide access from the outside to the two Web servers:
* Resource Name: IbWeb
* Port: 443
* Protocol: HTTPS
3. Assign an existing Security Group to the Web servers:
* Resource Name: sgWeb
* Instances: Web Sewers
* Constraint Tag Key: sg
* Constraint Tag Value: atlasweb
To update the Atlas App cloud template to meet the specified requirements, you would perform the following steps in vRealize Automation:
Task 1: Edit the Cloud Template for Multi-tier Application
Access the vRealize Automation console and navigate to Design > Cloud Templates.
Open the existing cloud template named ''Atlas App''.
Modify the template to include:
2 Web Server Instances: Define two instances of the web server component.
1 Database Server Instance: Define a single instance of the database server component.
Build Order: Ensure the database server is set to be built before the web servers by adjusting the dependsOn property.
2 NSX Networks:
External Network (NAT): Create a network resource with the name external and configure it to use NAT.
Internal Network (Existing): Create a network resource with the name internal and link it to the existing nsx-atlas-existing network.
Restrict Networks: Apply constraints to ensure that only networks associated with the Atlas project are used.
Task 2: Add NSX Load Balancer
In the cloud template, add an NSX load balancer resource with the name lbWeb.
Configure the load balancer to distribute traffic to the web servers on port 443 using the HTTPS protocol.
Task 3: Assign Security Group to Web Servers
Define a security group resource with the name sgWeb.
Assign this security group to the web server instances.
Use constraint tags with the key sg and value atlasweb to ensure the security group is applied correctly.
Here is a simplified example of what the YAML configuration might look like:
resources:
dbServer:
type: Cloud.Machine
properties:
...
webServer1:
type: Cloud.Machine
properties:
dependsOn: dbServer
...
webServer2:
type: Cloud.Machine
properties:
dependsOn: dbServer
...
external:
type: Cloud.Network
properties:
networkType: nat
...
internal:
type: Cloud.Network
properties:
networkType: existing
constraints:
- tag: 'nsx-atlas-existing'
...
lbWeb:
type: Cloud.LoadBalancer
properties:
port: 443
protocol: HTTPS
...
sgWeb:
type: Cloud.SecurityGroup
properties:
instances: [webServer1, webServer2]
constraints:
- tag: 'sg:atlasweb'
...
Make sure to adjust the properties and configurations as needed to fit the specific details of your environment and the Atlas project. After updating the cloud template, validate the changes and ensure that the template meets all the requirements before saving.
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: vcapadmin@corp.local
* 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
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 vcapadmin@corp.local 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.
TASK 2
As a Cloud Administrator you have two tasks to complete:
1. Onboard new interns into vRealize Automation and assign the correct access. The Interns are split into two Active Directory groups, interns-group-a and interns-group-b. The interns-group-a group requires access to Cloud Assembly and the interns-group-b group requires access to Service Broker. The interns should be allocated the most restrictive access available.
2 Assist in resolving issues reported by the following users who do not have the correct access permissions in vRealize Automation. Each user should have the minimum permissions required to fulfill their role:
* A User with logon id appdevuset2@corp.local is only responsible for creating new and deploying from cloud templates in Cloud Assembly.
The following additional information is provided to help complete both tasks:
* IDM URL: https://identity-manager.corp.tocal/SAAS/admin or use bookmark
* IDM System Domain Username: admin
* IDM Admin Password: VMware1!
* AD Organization Unit ON: OU=lnterns.DC=corp.DC=local
* vRealize Automation URL: vr-automalion.corp.local
* Cloud Administrator Username: vca pad mm @corp. local
* Cloud Administrator Password: VMware1!
To complete the tasks as a Cloud Administrator, follow these steps:
Task 1: Onboard New Interns into vRealize Automation
Log in to the Identity Manager (IDM) using the provided URL and credentials.
Navigate toIdentity & Access Management.
UnderEnterprise Groups, find and selectinterns-group-aandinterns-group-b.
Assigninterns-group-awith the role ofCloud Assembly User, which is the most restrictive access for Cloud Assembly.
Assigninterns-group-bwith the role ofService Broker User, which is the most restrictive access for Service Broker.
Ensure that the AD Organization Unit is correctly set toOU=Interns,DC=corp,DC=localfor proper group synchronization.
Task 2: Resolve Access Permissions Issues
Log in to the vRealize Automation URL using the Cloud Administrator credentials.
Go toIdentity & Access Management.
Locate the user with the logon idappdevuser2@corp.local.
Assign this user the role ofCloud Assembly Userto allow creating and deploying from cloud templates in Cloud Assembly.
Verify that the user has the minimum permissions required and does not have any additional roles that exceed their responsibility.
By following these steps, you should be able to onboard the interns with the correct access and resolve the access permissions issues for the specified user. Always ensure to adhere to the principle of least privilege, granting users the minimum level of access necessary to perform their roles.
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: vcapadmin@corp.local
* 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
To complete Task 6 for the Saturn Project, follow these steps:
Step 1: Create an ABX Action
Log in to the vRealize Automation console athttps://vr-automation.corp.localusing the provided credentials.
Navigate toExtensibility>Actions.
Click onNew Action.
Enter theAction Nameas ''Saturn-Python-Script''.
Select theScripting Languageas Python and theFaaS Provideras On-Prem.
Use theImport Packageoption 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 toExtensibility>Subscriptions.
Click onNew Subscription.
Enter theSubscription Nameas ''Execute-Python-Script''.
Set theEvent Topicto trigger after the compute resource gets provisioned, which is typically the ''Compute Provision'' event.
Define theConditionsfor 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 9
As the Cloud Administrator. you have been tasked to troubleshoot and fix errors of an existing cloud template. You must ensure:
1. VM resource uses storage tag:
* Key: storage. Value: gold
2. Network resource uses network tag:
* Key: net
* Value: nsx-routed
3. Configure NSX Network Type: routed
4. A virtual machine can be successfully deployed from the cloud template using the information provided.
NOTE: One or more of the tasks above may take some time to complete For expediency, it is recommended that once the task has started successfully that you continue with the exam and return later to confirm the task has been completed successfully. There are no dependencies between any_questions and therefore the successful completion of this question does no! impact the ability to attempt any_others_guestion in this exam.
NOTE: Not all available tags will appear on the tag selection drop-down when you're editing the cloud template.
Information required to complete the tasks:
* vRealize Automation URL: vr-aulomation.oorp.local
* Cloud Admin Username: vcapadmin@corp.local
* Cloud Admin Password: VMware1!
* Project Name: Earth
* Cloud Template name: Earth-TS-Fix
* Deployment name: Earth-Fixed
* Hostname: earth-fixed
NOTE: Do not create any new profit or tags.
To troubleshoot and fix the errors in the existing cloud template and ensure the requirements are met, you can follow these steps:
Ensure VM Resource Uses Storage Tag:
Edit the cloud template named Earth-TS-Fix.
Locate the VM resource definition.
Add or update the storage tag to use the key storage with the value gold:
tags:
- key: storage
value: gold
Ensure Network Resource Uses Network Tag:
Within the same cloud template, find the network resource definition.
Add or update the network tag to use the key net with the value nsx-routed:
tags:
- key: net
value: nsx-routed
Configure NSX Network Type: Routed:
Still in the cloud template, ensure the network profile is set to a routed network type by specifying the appropriate network profile that has been pre-configured with the routed type.
networks:
- network: '${resource.Cloud_NSX_Network_1.id}'
networkType: routed
Deploy Virtual Machine from the Cloud Template:
Save the changes to the cloud template.
Initiate a deployment using the Earth-Fixed deployment name and verify that the virtual machine deploys successfully with the specified hostname earth-fixed.
Monitor the deployment process and ensure that the VM and network resources are correctly tagged and that the network is configured as routed.
Full Exam Access, Actual Exam Questions, Validated Answers, Anytime Anywhere, No Download Limits, No Practice Limits
Get All 12 Questions & Answers