wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IAM 4thJune

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is the most secure way of giving access to AWS services to applications running on Ec2 instances?

a)

Creating Service users

b)

Creating service groups

c)

Roles

d)

Attaching policies to applications

2.

True or False : An explicit Deny in IAM precedes over an explicit allow

a)

TRUE

b)

FALSE

3.

TRUE or FALSE : By default a new user in IAM has permisiions to log in to the AWS Console.

a)

TRUE

b)

FLASE

4.

In an IAM policy, following entity represents the user or service to whom access to a resource is granted or denied?

a)

Statement ID

b)

Resources

c)

Principal

d)

Conditions

5.

Which of the following is not an IAM best practice?

a)

Delete user accounts not in use

b)

Configure IAM users long term Access/Secret key on EC2 instance instead of using Role

c)

Manage permissions by adding users to groups

d)

Enable MFA on user accounts

6.

Which of the following set of credentials are used to log in to AWS programmatically? (Choose two)

a)

Username

b)

Access Key

c)

Password

d)

Secret Access Key

7.

In order to grant access to users from another AWS account you should

a)

Share your AWS console credentials with remote user

b)

Share you Access/Secret keys with remote user

c)

Create IAM role and provide assume role permissions for remote account

d)

Create a new user into your AWS account and share credentials with remote user

8.

An EC2 Instance hosts a Java based application that accesses a DynamoDB table. This EC2 Instance is currently serving production users. Which of the following is a secure way for the EC2 Instance to access the DynamoDB table?

a)

UseIAM Roles with permissions to interact with DynamoDB and assign it to the EC2Instance

b)

UseKMS Keys with the right permissions to interact with DynamoDB and assign it to the EC2 Instance.

c)

UseIAM Access Keys with the right permissions to interact with DynamoDB and assign it to the EC2 Instance.

d)

UseIAM Access Groups with the right permissions to interact with DynamoDB and assign it to the EC2 Instance.

9.

An EC2 Instance setup in AWS will host an application which will make API calls to the Simple Storage Service. What is an ideal way for the application to access the Simple Storage Service?

a)

Pass API credentials to the instance using instance user data.

b)

Store API credentials as an object in a separate Amazon S3 bucket.

c)

Embed the API credentials into your application.

d)

Create and Assign an IAM role to the EC2 Instance.

10.

You are developing a mobile application that needs to issue temporary security credentials to users. This is essential due to security concerns. Which of the below services can help achieve this?

a)

AWS STS

b)

AWS Trusted Advisor

c)

AWS Config

d)

AWS Inspector

11.

Which user has no permission by default

a)

EC2 user

b)

IAM user

c)

Root user

d)

Service user

12.

Acronym of AWS IAM

a)

Amazons Web Services Identifies and Access Management

b)

Amazons Web Services Identifies and Access Management

c)

Amazon Web Services Identify and Access Managment

d)

Identify and Access Management

13.

What is Shared Access to your Account means? Choose Two

a)

Grant to the different people for different resources

b)

Easily share resources with the help of the shared access

c)

Grant to the different people for different resources

d)

Use resources in your AWS account without having to share your password or access key

14.

Users is?

a)

Permission to make AWS service requests

b)

Perfrom any action in any other account

c)

Entity that you create in AWS to represent the person or application

d)

Permissions associated with

15.

You use IAM to?

a)

To have a full access to all the resources

b)

Complete access to all AWS services

c)

Control who is authenticated (sign in) and authorized (has permissions)

d)

Access to all AWS and resources in the account