DevOps Professional Exam Flashcards Preview

AWS Certifications > DevOps Professional Exam > Flashcards

Flashcards in DevOps Professional Exam Deck (59):
1

If you do not specify a deletion policy on a CloudFormation stack, what is the default policy?

Delete

2

Name the 4 parts of a CFN structure?

Parameters
Mappings
Resources
Outputs

3

What do you pass in the "Parameters" section of a CFN object?

Password information, IP's, names, etc

4

What do you pass in the "Resources" section of a CFN object?

Where a resource is configured and specified.

5

What do you pass in the "Outputs" section of a CFN object?

This displays the result of the CFN stack creation.

6

What two things CANNOT be changed in an Opsworks Stack without building it?

VPC & Region

7

Opsworks autohealing is enabled at the _______ level NOT the _______ level.

layer; stack

8

Opsworks autohealing is enabled at the _______ level NOT the _______ level.

layer; stack

9

What is the difference between DependsOn and (Creation Policies, Wait Conditions/Wait Condition Handlers)

DependsOn waits until the resource is active while the Creation Policies and Wait Conditions are for more complex actions that require the application to notify it's ready.

10

What is the difference between Creation Policies and Wait Conditions/Wait Condition Handlers?

Creation Policies are only for EC2 and Autoscaling Groups.

11

What are the 5 Opsworks Lifecycle Events?

Setup
Configure
Deploy
Undeploy
Shutdown

12

Why does the "SETUP" event occur in the Opsworks Lifecycle Events?

Occurs when an instance has finished booting

13

Why does the "CONFIGURE" event occur in the Opsworks Lifecycle Events?

-When an instance enters or leaves online
-Associate or Disassociate EIP
-Attach or detach a load balancer to layer

14

Why does the "DEPLOY" event occur in the Opsworks Lifecycle Events?

Occurs when you run the deploy command on an instance OR when your application is loaded on an OpsWorks stack.

15

Why does the "UNDEPLOY" event occur in the Opsworks Lifecycle Events?

Occurs when you delete an application or run undeploy

16

Why does the "SHUTDOWN" event occur in the Opsworks Lifecycle Events?

Runs when an instance is shutdown, but before the instance is terminated. Allows cleanup.

17

How many OPSworks stacks can an RDS instance be associated with?

1

18

An OPSworks stack clone operation (does/doesn't) copy an existing RDS instance.

doesn't

19

_________ allows you to install custom cookbooks from multiple repositories. Feature enables with Chef ______.

Berkshelf; 11.10

20

What are the 4 steps of the CodePipeline release process

Source
Build
Staging
Production

21

Instances can be in a Wait state for a finite period of time. The default amount of time is _______.

1 Hour

22

Max time instance can be in Wait state is ___ hours or _____ the heartbeat timeout, whichever is smaller.

48; 100x

23

At the conclusion of a lifecycle hook, the result is either __________ or __________.

ABANDON or CONTINUE

24

If you suspend ____________, Auto Scaling launches the instances but does not add them to the target group.

AddToLoadBalancer

25

If you application performs operations or workflows that take a long time to complete, what service can the Elastic Beanstalk environment do for you?

Manages an SQS queue and running a daemon process on each instance.

26

A ________________ configuration file can be used to deploy a set of Docker containers as an Elastic Beanstalk application.

Dockerrun.aws.json

27

One of your instances in your Autoscaling group health check returns the status of Impaired to Auto Scaling. What will Auto Scaling do in this case?

Terminate the launch the new instance

28

Cloudformation _________ allow you to preview how proposed changes to a stack might impact your running resources.

Change sets

29

A ____________ is a container for an IAM role that you can use to pass role information to an EC2 instance when the instance starts.

Instance Profile

30

With Elastic Beanstalk, ______________ have many environments, environments have many _____________.

Applications have many environments, environments have many deployments.

31

Which EBS volumes are best for NoSQL Cluster deployments?

io1 -> Provisioned IOPS SSD

32

A ________ queue is where other (source) queues can send messages that for some reason could not be successfully processed.

Dead Letter Queue

33

AWS ________ does not directly support AWS OpsWorks for monitoring your stacks.

Config

34

AWS DynamoDB ________ tables provide a fully managed solution for deploying a multi-region, multi-master database.

Global tables

35

To determine whether a log file was modified, deleted, or unchanged after CloudTrail delivered it, you can use CloudTrail _______________ Validation.

Log File Integrity Validation.

36

By default, your Elastic Beanstalk environment uses ________ deployments if you created with the console or EB CLI, or ___________ deployments if you created with a different client (API, SDK, AWS CLI)

rolling; all at once

37

If an EC2 instance has failed a health check, what will the ELB do?

The ELB stops sending traffic to the instance that failed the health check.

38

You need what to build a multi-container Docker platform using Elastic Beanstalk?

Prebuilt images stored in a public or private online image repository.

39

What two deployment types are available with the CodeDeploy service?

In-place deployment
Blue/Green Deployment

40

Instances that are on the ________ state in an Autoscaling Group are still part of the Autoscaling Group, but they do not actively receive traffic.

standby state

41

Which caching engine does Opswork have built in support for?

Memcache - but you can customize your stack to use ElastiCache Redis if needed.

42

Which two environment types are available in the Elastic Beanstalk environment?

Single instance
Load balancing, Autoscaling

43

You are planning on use AWS Code Deploy in your AWS Environment. Which of the features of AWS Code Deploy can be used to specify scripts to be run on each instance at various stages of the deployment process?

AppSpec file (Application specification file)

44

Where can you use intrinsic functions in a CloudFormation template?

Resource Properties
Outputs
Metadata Attributes
Update Policy Attributes

45

What 4 commands are available for OpsWorks stacks?

1. Update custom cookbooks
2. Execute Recipes
3. Setup
4. Configure

46

Which CLI command is used to spin up new EC2 instances?

aws ec2 run-instances

47

You can only use _______ load balancers with OpsWorks stacks.

Classic

48

In OpsWorks, each load balancer can only handle ______ layer(s).

one

49

You can use the ______ Command from the Amazon EC2 console to configure instances without having to login to each instance.

Run Command

50

In CloudFormation, for sensitive parameters values such as passwords, you can set the _______ property to true to ensure the password is not visible when anybody tries to describe the stack.

NoEcho

51

What CLI command can be used to describe CloudFormation stack resources?

aws cloudformation list-stack-resources

52

Elastic Load Balancer logs get produced but the service at what two intervals?

5 minutes and 60 minutes

53

What is the amount of time that Opswork stacks service waits for a response from an underlying instance before deeming it as a failed instance?

5 minutes

54

What is the BEST way to automation the creation of EBS snapshots?

Using Cloudwatch Events to trigger snapshots of EBS Volumes.

55

There is no ______________ resource for CloudFormation.

AWS:EC2::Container

56

Opsworks works with Chef recipes and not _________ containers.

Docker

57

The __________ Elastic Beanstalk CLI command can be used to create an application in a specified environment.

eb create

58

The _________ resource is used in CloudFormation to create a nested stack.

AWS::CloudFormation::Stack

59

Where in the cloudformation template would you ideally pass user data?

The properties section of the ECS instance in the resource section.