Complete the code to register a domain using AWS CLI.
aws route53domains register-domain --domain-name [1] --duration-in-years 1 --admin-contact file://contact.json --registrant-contact file://contact.json --tech-contact file://contact.json --privacy-protect-admin-contact
The domain name to register must be specified after --domain-name. Here, mydomain.net is used as an example.
Complete the code to check the availability of a domain using AWS CLI.
aws route53domains check-domain-availability --domain-name [1]The --domain-name option specifies the domain to check. Here, example.org is used.
Fix the error in the AWS CLI command to enable auto-renew for a registered domain.
aws route53domains update-domain-[1] --domain-name example.com --auto-renew trueThe correct subcommand is update-domain-auto-renew to enable or disable auto-renewal.
Fill in the blank to create a JSON file snippet for domain contact information.
{
"ContactType": "[1]",
"Email": "user@example.com"
}The ContactType must be one of the valid types like ADMIN, TECH, or REGISTRANT. Here, ADMIN is used.
Fill all three blanks to complete the AWS CLI command to transfer a domain to Route 53.
aws route53domains transfer-domain-to-aws --domain-name [1] --auth-code [2] --duration-in-years [3]
The command requires the domain name, the authorization code from the current registrar, and the number of years to register the domain for. Here, example.com, ABCD1234, and 2 are used.