AWS Certified Solutions Architect – Professional — Question 345

Which of the following commands accepts binary data as parameters?

Answer options

Correct answer: A

Explanation

The --user-data parameter in the AWS CLI allows users to pass binary data, such as shell scripts or configuration files, which are then base64-encoded. Other parameters like --ciphertext-key and --aws-customer-key typically require specific text strings or hex-encoded values rather than raw binary data. The option --describe-instances-user is not a valid AWS CLI parameter that accepts binary input.