ACloud Guru Certified Cloud Practitioner Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the ACloud Guru Certified Cloud Practitioner Exam with flashcards and multiple choice questions. Each question includes hints and explanations to ensure you're ready for your certification!

Practice this question and more.


What allows users to execute commands in the AWS Command Line Interface (CLI)?

  1. IAM Policies

  2. Access Keys

  3. IAM Roles

  4. Access Groups

The correct answer is: Access Keys

The ability for users to execute commands in the AWS Command Line Interface (CLI) is facilitated by access keys. Access keys are a pair of security credentials consisting of an access key ID and a secret access key. These keys enable programmatic access to AWS services through the CLI or AWS SDKs (Software Development Kits). When you configure the CLI with your access keys, you effectively authenticate yourself to make requests to AWS services. Access keys are essential for operations that involve the CLI, as they allow for secure communication with AWS resources, ensuring that only authorized users can conduct actions like creating, modifying, or deleting resources. Other choices such as IAM policies, IAM roles, and access groups play significant roles within the overall AWS security architecture but do not serve as the method for executing CLI commands. IAM policies define permissions that determine what actions a user or service can perform, while IAM roles allow for temporary access to AWS resources under specified conditions. Access groups are not a specific component in AWS's identity and access management framework, making them less relevant in this context.