NCP-NS practice question 5 of 10
An administrator recently deployed a new set of virtual machines... 3-tier web application... restricted as follows: Only application VMs can talk to database VMs on port 3306 Frontend VMs should only communicate with application VMs on port 8080 Which action will correctly create and configure the Security Policies in Nutanix Flow to satisfy this task?
Full set: 105 questionsThe most efficient and logical method is to create a single Application Security Policy centered on the application tier. This policy secures the Application VMs by defining specific inbound and outbound rules based on categories.
1. Secured Group: The Application VMs are defined as the application to be secured.
2. Inbound Rule: An inbound rule allows traffic from the Frontend VMs category on TCP port 8080.
3. Outbound Rule: An outbound rule allows traffic to the Database VMs category on TCP port 3306. This single policy enforces the required communication paths while adhering to the principle of least privilege, as all other traffic is implicitly denied.
Using multiple policies: Creates unnecessary complexity and management overhead compared to a single, consolidated application policy for the entire application. Using an Isolation Policy: This policy type is incorrect as it would block all traffic to and from the specified VMs, preventing the required inter-tier communication. Incorrectly defining rules: Placing all rules as only inbound or only outbound would fail to model the complete 3-tier traffic flow correctly and violate the requirements.
1. Nutanix Flow Networking Guide (v6.8): In the "Application Security Policy" section, it states, "An application policy secures a group of VMs. You can define rules to control inbound and outbound traffic for the secured group of VMs." This directly supports creating a policy with both inbound and outbound rules for the central application tier. (Reference: Flow Networking Guide, Chapter: "Security Policies", Section: "Application Security Policy").
2. Nutanix University - Nutanix Hybrid Cloud Fundamentals Course: The module on Flow Networking and Microsegmentation explains that the best practice for multi-tier applications is to create a single application policy. This policy defines the application at its core and then specifies the allowed communication paths to and from other tiers using inbound and outbound rules. (Reference: Nutanix Hybrid Cloud Fundamentals, Module: "Flow Networking and Microsegmentation").
Keep practicing
Take the free NCP-NS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other NCP-NS practice questions
- Question 1An administrator has been tasked with configuring virtual switches and setting the approp…
- Question 2An administrator has a VPC with a single active gateway node that successfully peers with…
- Question 3What is the additional resource requirement for each Prism Central VM when enabling Flow …
- Question 4An administrator needs to configure a security policy that controls VM-to-VM communicatio…
- Question 6What must an administrator do before disabling the Network Controller?
- Question 7When creating a VPC, enabling the Transit VPC toggle changes the role of the VPC. What do…
