VCP-CMA 2024 Question 209
Select 3You are designing a VMware Aria Automation template to deploy a virtual machine that requires an NSX-T on-demand network. The network must be dynamically created during deployment, and the YAML file must be properly configured to define the network constructs. Which key attributes must you include in the YAML file to define an NSX-T on-demand network?
- A
type: NSX.Network
- B
properties: constraint: zone
- C
properties: networkType: routed
- D
type: Cloud.NSX.Network
- E
properties: cidr: '192.168.1.0/24'
- F
properties: loadBalancer: true
Show answer and explanation
Correct answers: C, D, E
Explanation
To define an NSX-T on-demand network in a VMware Aria Automation template, you must specify the correct resource type ('Cloud.NSX.Network') and include necessary properties such as 'networkType' and 'cidr'. The 'networkType' attribute ensures the network is routed, and the 'cidr' attribute defines the IP range for the network. Omitting these attributes or using incorrect ones can result in deployment failures.
- A. Incorrect.
Incorrect: 'type: NSX.Network' is not a valid type for defining a network in VMware Aria Automation templates. The correct type is 'Cloud.NSX.Network'.
- B. Incorrect.
Incorrect: While 'constraint: zone' is a valid attribute for certain resource definitions, it is not required or relevant for defining an NSX-T on-demand network.
- C. Correct.
Correct: 'properties: networkType: routed' specifies that the network created is a routed network, which is required for NSX-T on-demand networks.
- D. Correct.
Correct: 'type: Cloud.NSX.Network' is the correct type definition for an NSX-T on-demand network in VMware Aria Automation templates.
- E. Correct.
Correct: 'properties: cidr: '192.168.1.0/24'' defines the IP address range for the NSX-T on-demand network, which is a critical part of its configuration.
- F. Incorrect.
Incorrect: While load balancers may be part of a network configuration, 'properties: loadBalancer: true' is not a required or valid attribute for defining an NSX-T on-demand network.