Assessment Test

  1. You have an application running on Amazon Elastic Compute Cloud (Amazon EC2) that needs read-only access to several AWS services. What is the best way to grant that application permissions only to a specific set of resources within your account?

    1. Use API credentials derived based on the AWS account.
    2. Launch the EC2 instance into an AWS Identity and Access Management (IAM) role and attach the ReadOnlyAccess IAM-managed policy.
    3. Declare the necessary permissions as statements in the AWS SDK configuration file on the EC2 instance.
    4. Launch the EC2 instance into an IAM role with custom IAM policies for the permissions.
  2. You have deployed a new application in the US West (Oregon) Region. However, you have accidentally deployed ...

Get AWS Certified Developer Official Study Guide, Associate Exam now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.