CodePipeline Flashcards

1
Q

This service is a fully managed, continuous integration and continuous delivery service

A

code pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

____ ____ can orchstrate the build, test, and even deployment of your app every time ther eis a chnage to your code - all based on a user defined sw release process.

A

code pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T oR F

Traditional manual approaches to code delivery can slow and be prone to errors, whereas an automated process allows developers to frequently release new features and bu fixes in a fast and reliable way.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

____ ____ allows you to model your release process as a workflow or pipeline made of different tasks, such as the simple workflow presented below:

code update–>build–>test–>deploy

A

code pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

in this service, you define what happens and where for each of the different stages of the workflow and this can be modelled using the ____ _____ GUI or CLI.

A

code pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

____ ____ integrates with code commit, code build, code deplopy, lambda, EB, CF, ECS, as wella s 3rd oarth tools like github and jenkins.

A

code pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

every code cahnge psuhed to your code repo auto enters the workflow and triggers the set of actions defined for each stage of teh _____

A

pipeline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The ____ auto stops if one of the stages fails. This means that bugs are caught before the code is deployed while they are still easy to fix.

code update–>build–>test–>deploy

A

pipeline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The ____ _____ is used to define the parameters that will be used for a codedeploy deployment. The file structure depends on whether you are deploying to Lambda or Ec2/on prem.

A

appspec file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

for ____ deploy, the appspec file may be written in YAML or JSON and contains the following fields:

_____: reserved for future use - currently the only allowed value is 0.0

_____: the name and properties of the Lambda function to deploy

_____: specifies Lambda functions to run at set points in teh deployment lifecycle to validate the deployment ie: validation tests to run before allowing traffic to be sent to your newly deployed instanaces.

  1. resources
  2. lambda
  3. hooks
  4. version
  5. 6.
A
  1. Lambda
  2. version
  3. resources
  4. hooks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The follwing hooks rae availablke for use:

_____:used to specify the tasks or functions you want ot run before traffic is routed to the newly deployed Lambda function. (ie: test to validate that the function has been deployed correctly)

_____: Used to specify the tasks of functions you want to run after the traffic has been routed to the newly deployed Lambdas function. (Ie: test to validate that the function is accepting traffic correctly and behaving as expected)

AfterAllowTraffic

BeforeAllowTraffic

NeverAllowTraffic

TrafficSucks

A

BeforeAllowTraffic

AfterAllowTraffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

For ec2 anD on prem deployments, the appspec.yml muyst be placed in teh ___of the directory of your revision - this is the directory containing your app source code, otherwise the deployment will fail.

A

root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

put the typical setup in order

/config

/source

appspec.yml

/scripts

mywebapp folder

A

mywebapp folder

appspec.yml

/scripts

/config

/source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

____: Run tasks on instances before they are deregistered from ALB

____: deregister intances from ALB

____: Run tasks on instances after they are deregistered from a LB.

BlockTraffic

AfterBlockTraffic

BeforeBlockTraffic

A

BeforeBlockTraffic

BlockTraffic

AfterBlockTraffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Name the terminology for each definition and put them in the correct run order for hooks

____:restarts any services that were stopped during Application Stop

_____: gracefullly stop the app in prep for deploying the new version

_____: register instances with a LB

_____: the codedeploy agent copies the app revision files from their temp location to their current location

______: the codedeploy agent copies the app revision files to a temp location.

____: run tasks on instances before they are registered with a LB

____: details of any tests to validate the service

____: run tasks on instances after they are registered with a LB.

____: details of any pre-installation scripts (ie: backing up current version, decrypting files)

_____:details of any post-installation scripts (ie: configuration tasks, change file permissions)

  1. Application Stop
  2. AfterInstall
  3. Application Start
  4. AfterAllowtraffic
  5. Download Bundle
  6. Validate Service
  7. AllowTraffic
  8. BeforeAllowTraffic
  9. Install
  10. Before Install
A

Application stop: gracefullly stop the app in prep for deploying the new version

Download Bundle: the codedeploy agent copies the app revision files to a temp location.

Before Install: details of any pre-installation scripts (ie: backing up current version, decrypting files)

Install: the codedeploy agent copies the app revision files from their temp location to their current location

After Install: details of any post-installation scripts (ie: configuration tasks, change file permissions)

Application Start :restarts any services that were stopped during Application Stop

Validate Service: details of any tests to validate the service

BeforeAllowTraffic: run tasks on instances before they are registered with a LB

AllowTraffic: register instances with a LB

AfterAllowTraffic: run tasks on instances after they are registered with a LB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A