2V0-71.23 Question 183
Select 2You are tasked with deploying a microservices-based application to a workload cluster using the Tanzu Mission Control (TMC) Catalog. The application requires specific configurations to connect to a backend database and use a custom namespace. Which of the following steps should you perform to ensure the application is deployed successfully?
- A
Select the application from the TMC Catalog and configure its parameters, such as namespace and database connection details, before deployment.
- B
Manually create the custom namespace in the workload cluster before deploying the application from the TMC Catalog.
- C
Use the TMC CLI to apply cluster-level policies before deploying the application from the catalog.
- D
Verify that the workload cluster has sufficient resources for the application before deploying it from the TMC Catalog.
- E
Export the application’s Helm chart from the TMC Catalog and deploy it manually using kubectl commands.
Show answer and explanation
Correct answers: A, D
Explanation
When deploying an application using the TMC Catalog, it is important to configure the application parameters within the catalog before deployment and ensure that the workload cluster has sufficient resources. The TMC Catalog simplifies the deployment process by managing namespaces and other settings automatically, eliminating the need for manual intervention or external tools like kubectl for deployment.
- A. Correct.
Correct: The TMC Catalog allows you to configure application-specific parameters, such as namespace and database connection details, before deployment. This ensures the application is deployed with the correct settings.
- B. Incorrect.
Incorrect: TMC Catalog automatically handles namespace creation if specified in the deployment configuration. Manually creating the namespace is not required in this case.
- C. Incorrect.
Incorrect: While TMC CLI can be used for managing cluster-level policies, it is not a required step for deploying applications from the TMC Catalog unless specific policies are explicitly needed.
- D. Correct.
Correct: Ensuring that the workload cluster has sufficient resources (CPU, memory, storage, etc.) is a critical step before deploying any application to prevent deployment failures.
- E. Incorrect.
Incorrect: The TMC Catalog is designed to streamline the deployment process. Exporting a Helm chart and deploying it manually defeats the purpose of using the catalog for deployment.