Soru

Zorluk: ZorDeploy and Configure Azure Container Apps

You are configuring a custom domain (api.contoso.com) for a public-facing Azure Container App named inventory-api. You need to ensure the custom domain is validated and secured with an SSL/TLS certificate.

Which sequence of steps must you perform to configure the custom domain and certificate?

  1. 1Retrieve the Container App's default fully qualified domain name (FQDN) and the domain verification code.
  2. 2Create a CNAME record pointing to the Container App's FQDN, and a TXT record containing the verification code, with your DNS provider.
  3. 3Add the custom domain to the Container App to run the validation check.
  4. 4Create and bind an SSL/TLS certificate to the custom domain.

Cevap

To configure a custom domain and certificate for an Azure Container App, you must first retrieve the FQDN and verification code from Azure, then configure the CNAME and TXT records at the DNS provider, followed by adding the custom domain to the app to complete validation, and finally creating and binding the SSL/TLS certificate.
The correct order resolves dependencies chronologically. First, the FQDN and validation token are retrieved from the Container App. Second, these values are used to configure CNAME and TXT records at the DNS provider. Third, the domain is added and validated in the Azure Container App. Finally, a certificate is bound to the validated domain.

Adım Adım Çözüm

1
Retrieve the FQDN and verification code from the Container App settings.
The verification token and default domain name are obtained.
These values are required to configure the DNS records at your registrar.
2
Configure CNAME and TXT records at the DNS provider.
DNS records are updated to point to the Container App.
Azure requires public DNS records to prove ownership of the domain before it can be registered.
3
Add the custom domain to the Container App.
The custom domain is validated and registered in the Container App environment.
Validation queries the DNS provider and will fail if the TXT and CNAME records are not present.
4
Create and bind the SSL/TLS certificate.
HTTPS is secured for the custom domain.
You cannot issue or bind a certificate to a domain that is not registered with the Container App.

Anahtar Kavram

Configuring custom domains and TLS certificates for ingress in Azure Container Apps.
Tahmini Süre:2m 0s
Bu soruyu puanla