ExamGecko
Home Home / Amazon / DOP-C01

Amazon DOP-C01 Practice Test - Questions Answers, Page 35

Question list
Search
Search

List of questions

Search

Related questions











You are in charge of a large-scale highly available multi-tier web application infrastructure. This architecture consists of Amazon Route53 with a load balancer and multiple Amazon EC2 instances. You have been tasked to come up with a process to provide Blue/Green style deployments. Which technique should you use to deliver this new requirement?

A.
Using Elastic Beanstalk re-deploy your application and configure Elastic Beanstalk Deployment types, and then use Amazon Route53's alias resource record set to swap between Elastic Beanstalk deployment types.
A.
Using Elastic Beanstalk re-deploy your application and configure Elastic Beanstalk Deployment types, and then use Amazon Route53's alias resource record set to swap between Elastic Beanstalk deployment types.
Answers
B.
Re-deploy your application behind a load balancer using an AWS CloudFormation template, launch a new AWS CloudFormation stack during each deployment, update your Amazon Route53 alias resource record set to point to the new load balancer, and finally, terminate your old AWS CloudFormation stack.
B.
Re-deploy your application behind a load balancer using an AWS CloudFormation template, launch a new AWS CloudFormation stack during each deployment, update your Amazon Route53 alias resource record set to point to the new load balancer, and finally, terminate your old AWS CloudFormation stack.
Answers
C.
Re-deploy your application behind a load balancer using Auto Scaling groups, create a new identical Auto Scaling group, and associate it to the load balancer. During deployment, create a new Amazon Route53 hosted zone, add this new load balancer to the zone in an alias resource record set, and then remove your old Auto Scaling group.
C.
Re-deploy your application behind a load balancer using Auto Scaling groups, create a new identical Auto Scaling group, and associate it to the load balancer. During deployment, create a new Amazon Route53 hosted zone, add this new load balancer to the zone in an alias resource record set, and then remove your old Auto Scaling group.
Answers
D.
Re-deploy your application behind a load balancer using an OpsWorks stack, and use AWS OpsWorks stack versioning. During deployment, create a new version of your application, tell OpsWorks to launch the new version behind your load balancer, and when the new version launches, update your Amazon Route53 alias resource retort to point to the new load balancer.
D.
Re-deploy your application behind a load balancer using an OpsWorks stack, and use AWS OpsWorks stack versioning. During deployment, create a new version of your application, tell OpsWorks to launch the new version behind your load balancer, and when the new version launches, update your Amazon Route53 alias resource retort to point to the new load balancer.
Answers
Suggested answer: B

A company has developed a static website hosted on an Amazon S3 bucket. The website is deployed using AWS CloudFormation. The CloudFormation template defines an S3 bucket and a custom resource that copies content into the bucket from a source location.

The company has decided that it needs to move the website to a new location, so the existing CloudFormation stack must be deleted and re-created. However, CloudFormation reports that the stack could not be deleted cleanly. What is the MOST likely cause and how can the DevOps Engineer mitigate this problem for this and future versions of the website?

A.
Deletion has failed because the S3 bucket has an active website configuration. Modify the CloudFormation template to remove the WebsiteConfiguration property from the S3 bucket resource.
A.
Deletion has failed because the S3 bucket has an active website configuration. Modify the CloudFormation template to remove the WebsiteConfiguration property from the S3 bucket resource.
Answers
B.
Deletion has failed because the S3 bucket is not empty. Modify the custom resource's AWS Lambda function code to recursively empty the bucket when RequestType is Delete.
B.
Deletion has failed because the S3 bucket is not empty. Modify the custom resource's AWS Lambda function code to recursively empty the bucket when RequestType is Delete.
Answers
C.
Deletion has failed because the custom resource does not define a deletion policy. Add a DeletionPolicy property to the custom resource definition with a value of RemoveOnDeletion.
C.
Deletion has failed because the custom resource does not define a deletion policy. Add a DeletionPolicy property to the custom resource definition with a value of RemoveOnDeletion.
Answers
D.
Deletion has failed because the S3 bucket is not empty. Modify the S3 bucket resource in the CloudFormation template to add a DeletionPolicy property with a value of Empty.
D.
Deletion has failed because the S3 bucket is not empty. Modify the S3 bucket resource in the CloudFormation template to add a DeletionPolicy property with a value of Empty.
Answers
Suggested answer: B

The development team is creating a social media game which ranks users on a scoreboard. The current implementation uses an Amazon RDS for MySQL database for storing user data; however, the game cannot display scores quickly enough during performance testing.

Which service would provide the fastest retrieval times?

A.
Migrate user data to Amazon DynamoDB for managing content.
A.
Migrate user data to Amazon DynamoDB for managing content.
Answers
B.
Use AWS Batch to compute and deliver user and score content.
B.
Use AWS Batch to compute and deliver user and score content.
Answers
C.
Deploy Amazon CloudFront for user and score content delivery.
C.
Deploy Amazon CloudFront for user and score content delivery.
Answers
D.
Set up Amazon ElastiCache to deliver user and score content.
D.
Set up Amazon ElastiCache to deliver user and score content.
Answers
Suggested answer: D

A company wants to use AWS CloudFormation for infrastructure deployment. The company has strict tagging and resource requirements and wants to limit the deployment to two Regions. Developers will need to deploy multiple versions of the same application.

Which solution ensures resources are deployed in accordance with company policy?

A.
Create AWS Trusted Advisor checks to find and remediate unapproved CloudFormation StackSets.
A.
Create AWS Trusted Advisor checks to find and remediate unapproved CloudFormation StackSets.
Answers
B.
Create a CloudFormation drift detection operation to find and remediate unapproved CloudFormation StackSets.
B.
Create a CloudFormation drift detection operation to find and remediate unapproved CloudFormation StackSets.
Answers
C.
Create CloudFormation StackSets with approved CloudFormation templates.
C.
Create CloudFormation StackSets with approved CloudFormation templates.
Answers
D.
Create AWS Service Catalog products with approved CloudFormation templates.
D.
Create AWS Service Catalog products with approved CloudFormation templates.
Answers
Suggested answer: C

Explanation:

Reference: https://aws.amazon.com/blogs/aws/use-cloudformation-stacksets-to-provision-resources-across-multiple-awsaccounts-and-regions/

When using Amazon SQS how much data can you store in a message?

A.
8 KB
A.
8 KB
Answers
B.
2 KB
B.
2 KB
Answers
C.
16 KB
C.
16 KB
Answers
D.
4 KB
D.
4 KB
Answers
Suggested answer: A

Explanation:

With Amazon SQS version 2008-01-01, the maximum message size for both SOAP and Query requests is 8KB. If you need to send messages to the queue that are larger than 8 KB, AWS recommends that you split the information into separate messages. Alternatively, you could use Amazon S3 or Amazon SimpleDB to hold the information and include the pointer to that information in the Amazon SQS message. If you send a message that is larger than 8KB to the queue, you will receive a MessageTooLong error with HTTP code 400.

When thinking of AWS OpsWorks, which of the following is true?

A.
Stacks have many layers, layers have many instances.
A.
Stacks have many layers, layers have many instances.
Answers
B.
Instances have many stacks, stacks have many layers.
B.
Instances have many stacks, stacks have many layers.
Answers
C.
Layers have many stacks, stacks have many instances.
C.
Layers have many stacks, stacks have many instances.
Answers
D.
Layers have many instances, instances have many stacks.
D.
Layers have many instances, instances have many stacks.
Answers
Suggested answer: A

Explanation:

The stack is the core AWS OpsWorks component. It is basically a container for AWS resources – Amazon EC2 instances, Amazon RDS database instances, and so on – that have a common purpose and should be logically managed together. You define the stack's constituents by adding one or more layers. A layer represents a set of Amazon EC2 instances that serve a particular purpose, such as serving applications or hosting a database server. An instance represents a single computing resource, such as an Amazon EC2 instance.

Reference: http://docs.aws.amazon.com/opsworks/latest/userguide/welcome.html

When writing plays, tasks and playbooks, Ansible fully supports which high level language to describe these?

A.
YAML
A.
YAML
Answers
B.
Python
B.
Python
Answers
C.
XML
C.
XML
Answers
D.
JSON
D.
JSON
Answers
Suggested answer: A

Explanation:

This can be bit of a trick question. While Ansible Playbooks in this course are written in YAML, Ansible will accept plays, tasks and playbooks in JSON, as JSON a subset of YAML. However, the preferred and fully supported method is YAML.

Reference: http://docs.ansible.com/ansible/YAMLSyntax.html

Consider the portion of a CloudTrail log file below. Which type of event is being captured?

"eventTime":"2016-07-16T17:35:32Z",

"eventSource":"signin.amazonaws.com",

"eventName":"ConsoleLogin",

"awsRegion":"us-west-1", "sourceIPAddress":"192.1.2.10",

A.
.
A.
.
Answers
B.
AWS console sign-in
B.
AWS console sign-in
Answers
C.
AWS log off
C.
AWS log off
Answers
D.
AWS error
D.
AWS error
Answers
E.
AWS deployment
E.
AWS deployment
Answers
Suggested answer: A

Explanation:

CloudTrail records attempts to sign into the AWS Management Console, the AWS Discussion Forums and the AWS Support Center. Note, however, that CloudTrail does not record root sign-in failures.

Reference: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-awsconsole-sign-in-events.html

What needs to be done in order to remotely access a Docker daemon running on Linux?

A.
add certificate authentication to the docker API
A.
add certificate authentication to the docker API
Answers
B.
change the encryption level to TLS
B.
change the encryption level to TLS
Answers
C.
enable the TCP socket
C.
enable the TCP socket
Answers
D.
bind the Docker API to a unix socket
D.
bind the Docker API to a unix socket
Answers
Suggested answer: C

Explanation:

The Docker daemon can listen for Docker Remote API requests via three different types of Socket: unix, tcp, and fd. By default, a unix domain socket (or IPC socket) is created at /var/run/docker.sock, requiring either root permission, or docker group membership. If you need to access the Docker daemon remotely, you need to enable the tcp Socket. Beware that the default setup provides unencrypted and un-authenticated direct access to the Docker daemon - and should be secured either using the built in HTTPS encrypted socket or by putting a secure web proxy in front of it.

Reference: https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option

Which of these is not a Pseudo Parameter in AWS CloudFormation?

A.
AWS::StackName
A.
AWS::StackName
Answers
B.
AWS::AccountId
B.
AWS::AccountId
Answers
C.
AWS::StackArn
C.
AWS::StackArn
Answers
D.
AWS::NotificationARNs
D.
AWS::NotificationARNs
Answers
Suggested answer: C

Explanation:

This is the complete list of Pseudo Parameters: AWS::AccountId, AWS::NotificationARNs, AWS::NoValue, AWS::Region, AWS::StackId, AWS::StackName.

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameterreference.html

Total 557 questions
Go to page: of 56