VCP-CMA 2024 exam dumps

VCP-CMA 2024 practice question 212 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 212

Select 3

You are tasked with creating a VMware Aria Automation template to deploy a virtual machine that requires an NSX-T On-Demand network and custom inputs. The template must ensure the network is dynamically created during deployment. Which YAML syntax and constructs are required to define the On-Demand network in the template?

  1. A

    Use the 'type: Cloud.NSX.Networks' with the 'onDemand: true' property.

  2. B

    Include the 'properties: networkType: routed' under the network resource.

  3. C

    Define an input property referencing the network resource using 'inputs: networkName'.

  4. D

    Specify 'type: Cloud.NSX.Network' and set the 'existing: true' property.

  5. E

    Add a dependency on the network resource in the virtual machine resource.

Show answer and explanation

Correct answers: A, B, E

Explanation

To create an NSX-T On-Demand network in a VMware Aria Automation template, you must use the 'type: Cloud.NSX.Networks' construct with 'onDemand: true' to dynamically create the network. Additionally, specifying 'properties: networkType: routed' ensures the network is routed, which is a common configuration for On-Demand networks. Declaring a dependency on the network resource in the virtual machine resource ensures the network is created before the virtual machine deployment. Inputs are optional for user-provided values, and 'existing: true' is only for referencing pre-existing networks.

  • A. Correct.

    Correct. The 'type: Cloud.NSX.Networks' with 'onDemand: true' is required to define an NSX-T On-Demand network in a VMware Aria Automation template.

  • B. Correct.

    Correct. The 'properties: networkType: routed' is necessary to specify the type of network being created dynamically.

  • C. Incorrect.

    Incorrect. Inputs can be used for user-provided values, but they do not directly define the On-Demand network construct.

  • D. Incorrect.

    Incorrect. 'type: Cloud.NSX.Network' with 'existing: true' is used for referencing existing networks, not for creating an On-Demand network.

  • E. Correct.

    Correct. A dependency on the network resource must be declared in the virtual machine resource to ensure proper order of resource creation.

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