Quiz Flashcards
What is a proper definition of an IAM Role?
a) IAM Users in multiple User Groups
b) An IAM entity that defines a password policy for IAM Users
c) An IAM entity that defines a set of permissions for making requests to AWS services, and will be used by an AWS service
d) Permissions assigned to IAM Users to perform actions
c) An IAM entity that defines a set of permissions for making requests to AWS services, and will be used by an AWS service
Which of the following is an IAM Security Tool?
a) IAM Credentials Report
b) IAM Root Account Manager
c) IAM Services Report
d) IAM Security Advisor
a) IAM Credentials Report
Which answer is INCORRECT regarding IAM Users?
a) IAM Users can belong to multiple User Groups
b) IAM Users don’t have to belong to a User Group
c) IAM Policies can be attached directly to IAM Users
d) IAM Users access AWS services using root account credentials
d) IAM Users access AWS services using root account credentials
Which of the following is an IAM best practice?
a) Create several IAM Users for one physical person
b) Don’t use the root user account
c) Share your AWS account credentials with your colleague, so they can perform a task for you
d) Do not enable MFA for easier access
b) Don’t use the root user account
What are IAM Policies?
a) A set of policies that defines how AWS accounts interact with each other
b) JSON documents that define a set of permissions for making requests to AWS services, and can be used by IAM Users, User Groups, and IAM Roles
c) A set of policies that define a password for IAM Users
d) A set of policies defined by AWS that show how customers interact with AWS
b) JSON documents that define a set of permissions for making requests to AWS services, and can be used by IAM Users, User Groups, and IAM Roles
Which principle should you apply regarding IAM Permissions?
a) Grant most privilege
b) Grant more permissions if your employee asks you to
c) Grant least privilege
d) Restrict root account permissions
c) Grant least privilege
What should you do to increase your root account security?
a) Remove permissions from the root account
b) Only access AWS services through AWS Command Line Interface (CLI)
c) Don’t create IAM Users, only access your AWS account using the root account
d) Enable Multi-Factor Authentication (MFA)
d) Enable Multi-Factor Authentication (MFA)
IAM User Groups can contain IAM Users and other User Groups.
a) True
b) False
b) False
An IAM policy consists of one or more statements. A statement in an IAM Policy consists of the following, EXCEPT:
a) Effect
b) Principal
c) Version
d) Action
e) Resource
c) Version
Which EC2 Purchasing Option can provide you the biggest discount, but it is not suitable for critical jobs or databases?
a) Convertible Reserved Instances
b) Dedicated Hosts
c) Spot Instances
c) Spot Instances
What should you use to control traffic in and out of EC2 instances?
a) Network Access Control Lists (NACL)
b) Security Groups
c) IAM Policies
b) Security Groups
How long can you reserve an EC2 Reserved Instance?
a) 1 or 3 years
b) 2 or 4 years
c) 6 months or 1 year
d) Anytime between 1 and 3 years
a) 1 or 3 years
You would like to deploy a High-Performance Computing (HPC) application on EC2 instances. Which EC2 instance type should you choose?
a) Storage Optimized
b) Compute Optimized
c) Memory Optimized
d) General Purpose
b) Compute Optimized
Which EC2 Purchasing Option should you use for an application you plan to run on a server continuously for 1 year?
a) Reserved Instances
b) Spot Instances
c) On-Demand Instances
a) Reserved Instances
You are preparing to launch an application that will be hosted on a set of EC2 instances. This application needs some software installation and some OS packages need to be updated during the first launch. What is the best way to achieve this when you launch the EC2 instances?
a) Connect to each EC2 instance using SSH, then install the required software and updated your OS packages manually
b) Write a bash script that installs the required software and updates to your OS, then contact AWS support and provide them with the script. They will run it on your EC2 instances at launch.
c) Write a bash script that installs the required software and updates to your OS, then use this script in EC2 User Data when you launch your EC2 instances.
c
Which EC2 Instance Type should you choose for a critical application that uses an in-memory database?
a) Compute Optimized
b) Storage Optimized
c) Memory Optimized
d) General Purpose
c) Memory Optimized
You have an e-commerce application with an OLTP database hosted on-premises. This application has popularity which results in its database has thousands of requests per second. You want to migrate the database to an EC2 instance. Which EC2 Instance Type should you choose to handle this high-frequency OLTP database?
a) Compute Optimized
b) Storage Optimized
c) Memory Optimized
d) General Purpose
b) Storage Optimized
Security Groups can be attached to only one EC2 instance.
a) True
b) False
b) False
You’re planning to migrate on-premises applications to AWS. Your company has strict compliance requirements that require your applications to run on dedicated servers. You also need to use your own server-bound software license to reduce costs. Which EC2 Purchasing Option is suitable for you?
a) Convertible Reserved Instances
b) Dedicated Hosts
c) Spot Instances
b) Dedicated Hosts
You would like to deploy a database technology on an EC2 instance and the vendor license bills you based on the physical cores and underlying network socket visibility. Which EC2 Purchasing Option allows you to get visibility into them?
a) Spot Instances
b) On-Demand
c) Dedicated Hosts
d) Reserved Instances
c) Dedicated Hosts
Spot Fleet is a set of Spot Instances and optionally ……………
a) Reserved Instances
b) On-Demand Instances
c) Dedicated Hosts
d) Dedicated Instances
b) On-Demand Instances
You have launched an EC2 instance that will host a NodeJS application. After installing all the required software and configured your application, you noted down the EC2 instance public IPv4 so you can access it. Then, you stopped and then started your EC2 instance to complete the application configuration. After restart, you can’t access the EC2 instance, and you found that the EC2 instance public IPv4 has been changed. What should you do to assign a fixed public IPv4 to your EC2 instance?
a) Allocate an Elastic IP and assign it to your EC2 instance
b) From inside your EC2 instance OS, change network configuration from DHCP to static and assign it a public IPv4
c) Contact AWS upport and request a fixed public IPv4 to your EC2 instance
d) This can’t be done, you can only assign a fixed private IPv4 to your EC2 instance
a) Allocate an Elastic IP and assign it to your EC2 instance
You have an application performing big data analysis hosted on a fleet of EC2 instances. You want to ensure your EC2 instances have the highest networking performance while communicating with each other. Which EC2 Placement Group should you choose?
a) spread placement group
b) cluster placement group
c) partition placement group
b) cluster placement group
You have a critical application hosted on a fleet of EC2 instances in which you want to achieve maximum availability when there’s an AZ failure. Which EC2 Placement Group should you choose?
a) cluster placement group
b) partition placement group
c) spread placement group
c) spread placement group