wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

aws learning day

Total questions: 34

Worksheet time: 3hrs 50mins

Name
Class
Date
1.

What would cause an access denied error when attempting to download an archive file from Amazon S3 during a pipeline execution?

a)

Insufficient user permissions for the user initiating the pipeline

b)

Insufficient user permissions for the user uploading the Amazon S3 archive

c)

Insufficient role permissions for the Amazon S3 service role

d)

Insufficient role permissions for the AWS CodePipeline service role

2.

What would be the most secure means of providing secrets to an AWS CodeBuild environment?

a)

Create a custom build environment with the secrets included in configuration files.

b)

Upload the secrets to Amazon S3 and download the object when the build job runs. Protect the bucket and object with an appropriate bucket policy.

c)

Save the secrets in AWS Systems Manager Parameter Store and query them as needed. Encrypt the secrets with an AWS Key Management Service (AWS KMS) key. Include appropriate AWS KMS permissions to your build environment’s IAM role.

d)

Include the secrets in the source repository or archive.

3.

If you want to implement a deployment pipeline that deploys both source files and large binary objects to instance(s), how would you best achieve this while taking cost into consideration?

a)

Store both the source files and binary objects in AWS CodeCommit.

b)

Build the binary objects into the AMI of the instance(s) being deployed. Store the source files in AWS CodeCommit.

c)

Store the source files in AWS CodeCommit. Store the binary objects in an Amazon S3 archive.

d)

Store the source files in AWS CodeCommit. Store the binary objects on an Amazon Elastic Block Store (Amazon EBS) volume, taking snapshots of the volume whenever a new one needs to be created.

e)

Store the source files in AWS CodeCommit. Store the binary objects in Amazon S3 and access them from an Amazon CloudFront distribution.

4.

How do you output build artifacts from AWS CodeBuild to AWS CodePipeline?

a)

Write the outputs to STDOUT from the build container.

b)

Specify artifact files in the buildspec.yml configuration file.

c)

Upload the files to Amazon S3 from the build environment.

d)

Output artifacts are not supported with AWS CodeBuild.

5.

In what ways can pipeline actions be ordered in a stage? (Select TWO.)

a)

Series

b)

Parallel

c)

Stages support only one action each

d)

First-in-first-out (FIFO)

e)

Last-in-first-out (LIFO)

6.

If you specify a hook script in the ApplicationStop lifecycle event of an AWS CodeDeploy appspec.yml, will it run on the first deployment to your instance(s)?

a)

Yes

b)

No

c)

The ApplicationStop lifecycle event does not exist.

d)

It will run only if your application is running.

7.

What is the only deployment type supported by on-premises instances?

a)

In-place

b)

Blue/green

c)

Immutable

d)

Progressive

8.

Can data passed to build projects using environment variables be encrypted or protected?

a)

Yes, this is supported natively by AWS CodeBuild.

b)

No, it is not supported.

c)

No, but this can be enabled in the console.

d)

No, but this can be supported using other AWS products and services.

9.

If an instance is running low on storage, and you find that there are a large number of deployment revisions stored by AWS CodeDeploy, what can be done to free up this space permanently?

a)

Delete the old revisions.

b)

Add an additional Amazon EBS volume.

c)

Configure the AWS CodeDeploy agent to store fewer revisions.

d)

Delete all of the revisions, and push all new code.

10.

What is the minimum number of stages required by a pipeline in AWS CodePipeline?

a)

0

b)

1

c)

2

d)

3

11.

In which of the pipeline actions can you execute AWS Lambda functions?

a)

Invoke

b)

Deploy

c)

Build

d)

Approval

e)

Test

12.

If a single pipeline contains multiple sources, such as an AWS CodeCommit repository and an Amazon S3 archive, under what circumstances will the pipeline be triggered?

a)

When either a commit is pushed to the repository or the archive is updated, regardless of timing.

b)

When a commit is pushed to the repository and the archive is updated at the same time.

c)

When either a commit is pushed to the repository or the archive is updated, but not when both are updated at the same time.

d)

AWS CodePipeline does not support multiple sources in the same pipeline.

13.

How does AWS Lambda support in-place deployments?

a)

Function versions are overwritten during the deployment.

b)

Function versions are overwritten during the deployment.

c)

AWS Lambda does not support in-place deployments.

d)

Function aliases are overwritten during the deployment.

14.

If you would like to delete an AWS CloudFormation stack before you deploy a new one in your pipeline, what would be the correct set of actions?

a)

One action that specifies “Create or update a stack.”

b)

Two actions: the first specifies “Create or update a stack,” and the second specifies “Delete a stack.”

c)

Three actions: the first specifies “Delete a stack,” the second specifies “Create or update a stack,” and the third specifies “Replace a failed stack.”

d)

Two actions: the first specifies “Delete a stack,” and the second specifies “Create or update a stack.”

15.

If your AWS CodeDeploy configuration includes creation of a file, nginx.conf, but the file already exists on the server (prior to the use of AWS CodeDeploy), what is the default behavior that will occur during deployment?

a)

The file will be replaced.

b)

The file will be renamed nginx.conf.bak, and the new file will be created.

c)

The deployment will fail.

d)

The deployment will continue, but the file will not be modified.

16.

How can you connect to an AWS CodeCommit repository without Git credentials?

a)

It is not possible.

b)

HTTPS

c)

SSH

d)

AWS CodeCommit credential helper

17.

Of the following, which event cannot be used to generate notifications to an Amazon Simple Notification Service (SNS) topic from AWS CodeCommit without using a trigger?

a)

Pull Request Creation

b)

Commit Comments

c)

Commit Creation

d)

Pull Request Comments

18.

Which pipeline actions support AWS CodeBuild projects? (Select TWO.)

a)

Invoke

b)

Deploy

c)

Build

d)

Approval

e)

Test

19.

Which account is billed for user-accessed AWS resources allocated by AWS Elastic Beanstalk?

a)

The account running the services

b)

The cross-account able to access the shared services

c)

The cross-account with the Amazon Simple Storage Service (Amazon S3) bucket holding a downloaded copy of the code artifact

d)

All accounts involved

20.

Which AWS Identity and Access Management (IAM) entities are used when creating an environment? (Select TWO.)

a)

Federated role

b)

Service role

c)

Instance profile

d)

Profile role

e)

User name and access keys

21.

Which of the following resources can AWS Elastic Beanstalk use to create a web server environment? (Select FOUR.)

a)

Amazon Cognito User Pool

b)

AWS Serverless Application Model (AWS SAM) Local

c)

Auto Scaling group

d)

Amazon Elastic Compute Cloud (Amazon EC2)

e)

AWS Lambda

22.

Which of the following operations can AWS Elastic Beanstalk do? (Select TWO.)

a)

Access an Amazon Simple Storage Service (Amazon S3) bucket

b)

Connect to an Amazon Relational Database Service (Amazon RDS) database

c)

Install agents for Amazon GuardDuty service

d)

Create and manage Amazon WorkSpaces

23.

What does the AWS Elastic Beanstalk service do?

a)

Deploys applications and architecture

b)

Stores static content

c)

Directs user traffic to Amazon Elastic Compute Cloud (Amazon EC2) instances

d)

Works with dynamic cloud changes as an IP address

24.

Which of the following AWS services enables you to automate your build, test, deploy, and release process every time there is a code change?

a)

AWS CodeCommit

b)

AWS CodeDeploy

c)

AWS CodeBuild

d)

AWS CodePipeline

25.

What can you not do to an Amazon Relational Database Service (Amazon RDS) instance with AWS Elastic Beanstalk?

a)

Create a database connection.

b)

Create a supported Oracle edition.

c)

Retain a database instance despite the deletion of the environment’s database.

d)

Create a snapshot of the existing database (before deletion).

26.

Which service can be used to restrict access to AWS Elastic Beanstalk resources?

a)

AWS Config

b)

Amazon Relational Database Service (Amazon RDS)

c)

AWS Identity and Access Management (IAM)

d)

Amazon Simple Storage Service (Amazon S3)

27.

Which of the following describes how customers are charged for AWS Elastic Beanstalk?

a)

A monthly fee based on an hourly rate for use.

b)

A one-time upfront cost for each environment running.

c)

No additional charges.

d)

A fee is charged only when scaling to support traffic changes.

28.

Which of the following languages is not supported by AWS Elastic Beanstalk?

a)

Java

b)

Node.js

c)

Objective C

d)

Go

29.

Which operating systems does AWS Elastic Beanstalk support? (Select TWO.)

a)

Amazon Linux

b)

Ubuntu

c)

Windows Server

d)

Fedora

e)

Jetty

30.

Which of the following components can AWS Elastic Beanstalk deploy? (Select TWO.)

a)

Amazon Elastic Compute Cloud (Amazon EC2) instances with write capabilities to an Amazon DynamoDB table

b)

A worker application using Amazon Simple Queue Service (Amazon SQS)

c)

An Amazon Elastic Container Service (Amazon ECS) cluster supporting multiple containers

d)

A mixed fleet of Spot and Reserved Instances with four applications running in each environment

e)

A mixed fleet of Reserved Instances scheduled between 9 a.m. to 5 p.m. and OnDemand Instances used for processing data workloads when needed randomly

31.

What option do you need to enable to call Amazon API Gateway from another server or service?

a)

You do not need to enable any options. Amazon API Gateway is ready to use as soon as it’s deployed.

b)

Enable cross-origin resource sharing (CORS).

c)

Deploy a stage.

d)

Deploy a resource.

32.

Can you create HTTP endpoints with Amazon API Gateway?

a)

Yes. You can create HTTP endpoints with Amazon API Gateway.

b)

No. API Gateway creates FTP endpoints.

c)

No. API Gateway only supports SSH endpoints.

d)

No. API Gateway is a secure service that only supports HTTPS.

33.

Which templating engine can you use to deploy infrastructure inside of AWS that is built for serverless technologies?

a)

AWS CloudFormation

b)

Ansible

c)

AWS OpsWorks for Automate Operations

d)

AWS Serverless Application Model (AWS SAM)

34.

What is the property name that you use to connect an AWS Lambda function to the Amazon API Gateway inside of an AWS Serverless Application Model (AWS SAM) template?

a)

events

b)

handler

c)

context

d)

runtime