Salesforce Certified MuleSoft Platform Architect free question 8 / 10 · Domain 7: Deploying API implementations to CloudHub
A company has apps in a production environment and a test environment and wants to publish both under one custom domain through a dedicated load balancer. To keep cost down, it would like to use a single dedicated load balancer. Which statement matches the dedicated load balancer documentation?
- Create an Anypoint VPC first and associate the two environments with it, and one dedicated load balancer can serve the two
- An Anypoint VPC comes first, but a VPC can be associated with one environment, so the environments need a dedicated load balancer of their own
- A dedicated load balancer is created per environment, and it can be created from the environment settings without an Anypoint VPC
- No Anypoint VPC is needed: one dedicated load balancer is created for the organization and the environments can use it
Show the answer and explanation
Answer: A
Why this is correct
The Dedicated Load Balancers page describes the load balancer as an optional component that routes external HTTP and HTTPS traffic to multiple Mule applications on CloudHub workers in a VPC. To use one in an environment you must first create an Anypoint VPC. Because multiple environments can be associated with the same Anypoint VPC, the same dedicated load balancer can serve different environments, so associating production and test with one VPC lets a single load balancer do the job.
Why the other options are wrong
"A dedicated load balancer is created per environment, and it can be created from the environment settings without an Anypoint VPC" … The page says you must first create an Anypoint VPC to use a dedicated load balancer.
"An Anypoint VPC comes first, but a VPC can be associated with one environment, so the environments need a dedicated load balancer of their own" … The page says multiple environments can be associated with the same Anypoint VPC, which is why one dedicated load balancer can serve different environments.
"No Anypoint VPC is needed: one dedicated load balancer is created for the organization and the environments can use it" … The VPC is a prerequisite, and the sharing happens through environments associated with the same VPC rather than at the organization level.
Creating a dedicated load balancer
To create and configure a dedicated load balancer, you must be an administrator of the organization to which it is associated, and DLB names must be unique across all DLBs defined in Anypoint Platform.