DumpsFree provides high-quality dumps PDF & dumps VCE for candidates who are willing to pass exams and get certifications soon. We provide dumps free download before purchasing dumps VCE. 100% pass exam!

2021 Latest Amazon AWS-DevOps-Engineer-Professional Real Exam Dumps PDF [Q14-Q38]

Share

2021 Latest Amazon AWS-DevOps-Engineer-Professional Real Exam Dumps PDF

AWS-DevOps-Engineer-Professional Exam Dumps, AWS-DevOps-Engineer-Professional Practice Test Questions


What Does Target Audience for AWS DevOps Engineer - Professional Certification Look Like?

This certification targets developers and DevOps engineers who want to leverage their skills in how to handle AWS infrastructure and architecture solutions. Anyone who wants to become a well-paid DevOps Engineer will benefit from this certificate. Also, this certification aims at candidates who are interested in developing the proper knowledge of how to implement and manage different delivery systems, control, compliance validation, and governance processes on AWS. Those individuals who know how to define and deploy monitoring systems using AWS features are as well suitable candidates for this AWS certificate. Finally, with this certificate, applicants will also learn how to manage and maintain several tools that will create the automation of operational processes.


Prerequisites

Before pursuing the Amazon AWS Certified DevOps Engineer – Professional certification, it is important to make sure that you are the right person for this path. All the Amazon certificates are designed for the specific individuals, so you must fall into this category of people. Otherwise, you will have a tough time passing the associated exam.

The potential candidates for this professional-level certificate are those individuals who perform the DevOps Engineer role. They should have at least 2 years of working experience in managing, operating, and provisioning the AWS environments. Besides that, the test takers should have expertise in coding at least one high-level programming language and possess a good understanding of the latest methodologies, processes, operations, and development.

 

NEW QUESTION 14
A company is implementing AWS CodePipeline to automate its testing process. The company wants to be notified when the execution state fails and used the following custom event pattern in Amazon CloudWatch: Which type of events will match this event pattern?

  • A. All rejected or failed approval actions across all the pipelines.
  • B. Failed deploy and build actions across all the pipelines.
  • C. All the events across all pipelines.
  • D. Approval actions across all the pipelines.

Answer: A

Explanation:
https://docs.aws.amazon.com/codepipeline/latest/userguide/detect-state-changes-cloudwatch-events.html

 

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

  • A. AWS::AccountId
  • B. AWS::StackArn
  • C. AWS::StackName
  • D. AWS::NotificationARNs

Answer: B

Explanation:
This is the complete list of Pseudo Parameters: AWS::AccountId, AWS::NotificationARNs, AWS::NoValue, AWS::Region, AWS::StackId, AWS::StackName
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter- reference.html

 

NEW QUESTION 16
You work for a startup that has developed a new photo-sharing application for mobile devices. Over recent months your application has increased in popularity; this has resulted in a decrease in the performance of the application due to the increased load. Your application has a two-tier architecture that is composed of an Auto Scaling PHP application tier and a MySQL RDS instance initially deployed with AWS CloudFormation. Your Auto Scaling group has a min value of 4 and a max value of 8. The desired capacity is now at 8 due to the high CPU utilization of the instances. After some analysis, you are confident that the performance issues stem from a constraint in CPU capacity, while memory utilization remains low. You therefore decide to move from the general-purpose M3 instances to the compute-optimized C3 instances. How would you deploy this change while minimizing any interruption to your end users?

  • A. Updatethe launch configuration specified in the AWS CloudFormation template with thenew C3 instance type. Also add an UpdatePolicy attribute to your Auto Scalinggroup that specifies an AutoScalingRollingUpdate. Run a stack update with thenew template
  • B. Signin to the AWS Management Console, copy the old launch configuration, and createa new launch configuration that specifies the C3 instances. Update the AutoScaling group with the new launch configuration. Auto Scaling will then updatethe instance type of all running instances
  • C. Signinto the AWS Management Console and update the existing launch configurationwith the new C3 instance type. Add an UpdatePolicy attribute to your AutoScaling group that specifies an AutoScaling RollingUpdate.
  • D. Updatethe launch configuration specified in the AWS CloudFormation template with thenew C3 instance type. Run a stack update with the new template. Auto Scalingwill then update the instances with the new instance type.

Answer: A

Explanation:
Explanation
The AWS Documentation mentions the below
The AWS::AutoScaling::AutoScalingGroup resource supports an UpdatePolicy attribute. This is used to define how an Auto Scaling group resource is updated when an update to the Cloud Formation stack occurs. A common approach to updating an Auto Scaling group is to perform a rolling update, which is done by specifying the AutoScalingRollingUpdate policy. This retains the same Auto Scaling group and replaces old instances with new ones, according to the parameters specified.
For more information on Rolling Updates for Autoscaling please see the below link:
* https://aws.amazon.com/premiumsupport/knowledge-center/auto-scaling-group-rolling-updates/

 

NEW QUESTION 17
You are a Devops engineerforyourcompany. You have been instructed to deploy docker containers using the Opswork service. How could you achieve this? Choose 2 answers from the options given below

  • A. UseElastic beanstalk to deploy docker containers since this is not possible inOpswork. Then attach the elastic beanstalk environment as a layer in Opswork.
  • B. Inthe App for Opswork deployment, specify the git url for the recipes which willdeploy the applications in the docker environment.
  • C. UseCloudformation to deploy docker containers since this is not possible inOpswork. Then attach the Cloudformation resources as a layer in Opswork.
  • D. Usecustom cookbooks for your Opswork stack and provide the Git repository which hasthe chef recipes for the Docker containers. ^

Answer: B,D

Explanation:
Explanation
This is mentioned in the AWS documentation
AWS OpsWorks lets you deploy and manage application of all shapes and sizes. Ops Works layers let you create blueprints for CC2 instances to install and configure any software that you want.
For more information on Opswork and Docker, please refer to the below link:
* https://aws.amazon.com/blogs/devops/running-docker-on-aws-opsworks/

 

NEW QUESTION 18
A company requires that its internally facing web application be highly available. The architecture is made up of one Amazon EC2 web server instance and one NAT instance that provides outbound internet access for updates and accessing public data.
Which combination of architecture adjustments should the company implement to achieve high availability?
(Choose two.)

  • A. Add the NAT instance to an EC2 Auto Scaling group that spans multiple Availability Zones. Update the route tables.
  • B. Replace the NAT instances with a NAT gateway that spans multiple Availability Zones. Update the route tables.
  • C. Replace the NAT instance with a NAT gateway in each Availability Zone. Update the route tables.
  • D. Configure an Application Load Balancer in front of the EC2 instance. Configure Amazon CloudWatch alarms to recover the EC2 instance upon host failure.
  • E. Create additional EC2 instances spanning multiple Availability Zones. Add an Application Load Balancer to split the load between them.

Answer: C,E

 

NEW QUESTION 19
Which of the following services allows you to easily run and manage Docker-enabled applications across a
cluster of Amazon EC2 instances

  • A. Cloudwatch
  • B. ElasticContainer service
  • C. Elastic bean stalk
  • D. Opswork

Answer: B

Explanation:
Explanation
The AWS documentation provides the following information
Amazon EC2 Container Service (CCS) allows you to easily run and manage Docker-enabled applications
across a cluster of Amazon EC2 instances. Applications packaged as containers locally will deploy and run in
the same way as containers managed by Amazon ECS. Amazon CCS eliminates the need to install, operate,
and scale your own cluster management infrastructure, and allows you to schedule Docker-enabled
applications across your cluster based on your resource needs and availability requirements.
For more information on ECS, please visit the link:
* https://aws.amazon.com/ecs/details/

 

NEW QUESTION 20
If you're trying to configure an AWS Elastic Beanstalk worker tier for easy debugging if there are problems finishing queue jobs, what should you configure?

  • A. Configure Enhanced Health Reporting
  • B. Configure a Dead Letter Queue
  • C. Configure Blue-Green Deployments.
  • D. Configure Rolling Deployments.

Answer: B

Explanation:
Elastic Beanstalk worker environments support Amazon Simple Queue Service (SQS) dead letter queues. A dead letter queue is a queue where other (source) queues can send messages that for some reason could not be successfully processed. A primary benefit of using a dead letter queue is the ability to sideline and isolate the unsuccessfully processed messages. You can then analyze any messages sent to the dead letter queue to try to determine why they were not successfully processed.
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env- tiers.html#worker-d eadletter

 

NEW QUESTION 21
A DevOps Engineer must track the health of a stateless RESTful service sitting behind a Classic Load Balancer. The deployment of new application revisions is through a Cl/CD pipeline. If the service's latency increases beyond a defined threshold, deployment should be stopped until the service has recovered.
Which of the following methods allow for the QUICKEST detection time?

  • A. Use Amazon CloudWatch metrics provided by Elastic Load Balancing to calculate average latency. Alarm and stop deployment when latency increases beyond the defined threshold.
  • B. Use Metric Filters to parse application logs in Amazon CloudWatch Logs. Create a filter for latency. Alarm and stop deployment when latency increases beyond the defined threshold.
  • C. Use AWS Lambda and Elastic Load Balancing access logs to detect average latency. Alarm and stop deployment when latency increases beyond the defined threshold.
  • D. Use AWS CodeDeploy's MinimumHealthyHosts setting to define thresholds for rolling back deployments. If these thresholds are breached, roll back the deployment.

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 22
Which of the following Cache Engines does Opswork have built in support for?

  • A. Memcache
  • B. Redis
  • C. There is no built in support as of yet for any cache engine
  • D. Both Redis and Memcache

Answer: A

Explanation:
Explanation
The AWS Documentation mentions
AWS OpsWorks Stacks provides built-in support for Memcached. However, if Redis better suits your requirements, you can customize your stack so that your application servers use OastiCache Redis.
Although it works with Redis clusters, AWS clearly specifies that AWS Opsworks stacks provide built in support for Memcached.
Amazon OastiCache is an AWS service that makes it easy to provide caching support for your application server, using either the Memcached or Redis caching engines. OastiCache can be used to improve the application server performance running on AWS Opsworks stacks.
For more information on Opswork and Cache engines please refer to the below link:
* http://docs^ws.amazon.com/opsworks/latest/userguide/other-services-redis.htmI

 

NEW QUESTION 23
A consulting company was hired to assess security vulnerabilities within a client company's application and propose a plan to remediate all identified issues. The architecture is identified as follows: Amazon S3 storage for content, an Auto Scaling group of Amazon EC2 instances behind an Elastic Load Balancer with attached Amazon EBS storage, and an Amazon RDS MySQL database. There are also several AWS Lambda functions that communicate directly with the RDS database using connection string statements in the code.
The consultants identified the top security threat as follows: the application is not meeting its requirement to have encryption at rest.
What solution will address this issue with the LEAST operational overhead and will provide monitoring for potential future violations?

  • A. Configure the application to encrypt each file prior to storing on Amazon S3. Enable OS-based encryption of data on EBS volumes. Encrypt data on write to RDS. Run cron jobs on each instance to check for encrypted data and notify via Amazon SNS. Use S3 Events to call an AWS Lambda function and verify if the file is encrypted.
  • B. Enable SSE encryption on the S3 buckets, EBS volumes, and the RDS database. Store RDS credentials in EC2 Parameter Store. Enable a policy on the S3 bucket to deny unencrypted puts.
    Set up AWS Config rules to periodically check for non-encrypted S3 objects and EBS volumes, and to ensure that RDS storage is encrypted.
  • C. Enable SSE encryption on the S3 buckets and RDS database. Enable OS-based encryption of data on EBS volumes. Configure Amazon Inspector agents on EC2 instances to report on insecure encryption ciphers. Set up AWS Config rules to periodically check for non-encrypted S3 objects.
  • D. Enable Secure Sockets Layer (SSL) on the load balancer, ensure that AWS Lambda is using SSL to communicate to the RDS database, and enable S3 encryption. Configure the application to force SSL for incoming connections and configure RDS to only grant access if the session is encrypted. Configure Amazon Inspector agents on EC2 instances to report on insecure encryption ciphers.

Answer: B

Explanation:
A: There are RDS connection strings in Lambda.
B is not make sense to develop.
C: EBS and RDS are not encrypted.

 

NEW QUESTION 24
Which of the following is not a supported platform on Elastic Beanstalk?

  • A. Nodejs
  • B. JavaSE
  • C. Kubernetes
  • D. Go
  • E. PackerBuilder

Answer: C

Explanation:
Explanation
Answer-C
Below is the list of supported platforms
*Packer Builder
*Single Container Docker
*Multicontainer Docker
*Preconfigured Docker
*Go
*Java SE
*Java with Tomcat
*NET on Windows Server with I IS
*Nodejs
*PHP
*Python
*Ruby
For
more information on the supported platforms please refer to the below link
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html

 

NEW QUESTION 25
Your application Amazon Elastic Compute Cloud (EC2) instances bootstrap by using a master configuration file that is kept in a version-enabled Amazon Simple Storage Service (S3) bucket.
Which one of the following methods should you use to securely install the current configuration version onto the instances in a cost-effective way?

  • A. Create an Amazon DynamoDB table to store the different versions of the configuration file.
    Associate AWS Identity and Access Management (IAM) EC2 roles to the Amazon EC2 instances, and reference the DynamoDB table to get the latest file from Amazon Simple Storage Service (S3).
  • B. Associate an IAM EC2 role to the instances, list the object versions using the Amazon S3 API, and then get the latest object.
  • C. Associate an IAM EC2 role to the instances, and then simply get the object from Amazon S3, because the default is the current version.
  • D. Associate an IAM S3 role to the bucket, list the object versions using the Amazon S3 API, and then get the latest object.
  • E. Store the IAM credentials in the Amazon EC2 user data for each instance, and then simply get the object from S3, because the default is the current version.

Answer: C

 

NEW QUESTION 26
A company must ensure consistent behavior of an application running on Amazon Linux in its corporate ecosystem before moving into AWS. The company has an existing automated server build system using VMware. The goal is to demonstrate the functionality of the application and its prerequisites on the new target operating system.
The DevOps Engineer needs to use the existing corporate server pipeline and virtualization software to create a server image. The server image will be tested on-premises to resemble the build on Amazon EC2 as closely as possible.
How can this be accomplished?

  • A. Launch an Amazon Linux AMI using an AWS OpsWorks deployment agent onto the on-premises infrastructure, then execute the application deployment.
  • B. Download and integrate the latest ISO of Amazon Linux 2 and execute the application deployment on the resulting server. Confirm that operating system testing results are consistent with EC2 operating system behavior.
  • C. Build an EC2 instance with the latest Amazon Linux operating system, and use the AWS Import/Export service to export the EC2 image to a VMware ISO in Amazon S3. Then import the resulting ISO onto the on-premises system.
  • D. Download and integrate the latest ISO of CentOS 7 and execute the application deployment on the resulting server.

Answer: B

Explanation:
Explanation/Reference:
https://aws.amazon.com/blogs/aws/opsworks-on-prem-and-existing-instances/

 

NEW QUESTION 27
A DevOps Engineer is asked to implement a strategy for deploying updates to a web application with zero downtime. The application infrastructure is defined in AWS CloudFormation and is made up of an Amazon Route 53 record, an Application Load Balancer, Amazon EC2 instances in an EC2 Auto Scaling group, and Amazon DynamoDB tables. To avoid downtime, there must be an active instance serving the application at all times.
Which strategies will ensure the deployment happens with zero downtime? (Select TWO.)

  • A. In the CloudFormation template, modify the AWS:: AutoScaling::DeploymentUpdates resource and add an UpdatePolicy attribute to define the required elements for a deployment with zero downtime.
  • B. Add a new Application Load Balancer and Auto Scaling group to the CloudFormation template. Deploy new changes to the inactive Auto Scaling group. Use Route 53 to change the active Application Load Balancer.
  • C. In the CloudFormation template, modify the UpdatePolicy attribute for the CloudFormation stack and specify the Auto Scaling group that will be updated. Configure MinSuccessfulInstancesPercent and PauseTime to ensure the deployment happens with zero downtime.
  • D. In the CloudFormation template, modify the AWS::AutoScaling::AutoscalingGroup resource and add an UpdatePolicy attribute to define the required elements for a deployment with zero downtime.
  • E. Add a new Application Load Balancer and Auto Scaling group to the CloudFormation template. Modify the AWS::AutoScaling::AutoScalingGroup resource and add an UpdatePolicy attribute to perform rolling updates.

Answer: B,D

 

NEW QUESTION 28
A DevOps Engineer is developing a deployment strategy that will allow for data-driven decisions before a feature is fully approved for general availability. The current deployment process uses AWS CloudFormation and blue/green-style deployments. The development team has decided that customers should be randomly assigned to groups, rather than using a set percentage, and redirects should be avoided.
What process should be followed to implement the new deployment strategy?

  • A. Configure Amazon Route 53 with an AWS Lambda function to set a cookie when Amazon CloudFront receives a request. Assign the user to version A or B, then return the corresponding version to the viewer.
  • B. Configure Amazon Route 53 weighted records for the blue and green stacks, with 50% of traffic configured to route to each stack.
  • C. Configure Amazon CloudFront with an AWS Lambda@Edge function to set a cookie when CloudFront receives a request. Assign the user to a version A or B, and configure the web server to redirect to version A or B.
  • D. Configure Amazon CloudFront with an AWS Lambda@Edge function to set a cookie when CloudFront receives a request. Assign the user to a version A or B, then return the corresponding version to the viewer.

Answer: D

 

NEW QUESTION 29
Two teams are working together on different portions of an architecture and are using AWS CloudFormation to manage their resources. One team administers operating system-level updates and patches, while the other team manages application-level dependencies and updates. The Application team must take the most recent AMI when creating new instances and deploying the application.
What is the MOST scalable method for linking these two teams and processes?

  • A. The Operating System team uses CloudFormation stack to create an AWS CodePipeline pipeline that builds new AMIs. The team then places the AMI ARNs as parameters in AWS Systems Manager Parameter Store as part of the pipeline output. The Application team specifies a parameter of type ssm in their CloudFormation stack to obtain the most recent AMI ARN from the Parameter Store.
  • B. The Operating System team uses CloudFormation stack to create an AWS CodePipeline pipeline that builds new AMIs, then places the latest AMI ARNs in an encrypted Amazon S3 object as part of the pipeline output. The Application team uses a cross-stack reference within their own CloudFormation template to get that S3 object location and obtain the most recent AMI ARNs to use when deploying their application.
  • C. The Operating System team maintains a nested stack that includes both the operating system and Application team templates. The Operating System team uses a stack update to deploy updates to the application stack whenever the Application team changes the application code.
  • D. The Operating System team uses CloudFormation to create new versions of their AMIs and lists the Amazon Resource names (ARNs) of the AMIs in an encrypted Amazon S3 object as part of the stack output section. The Application team uses a cross-stack reference to load the encrypted S3 object and obtain the most recent AMI ARNs.

Answer: C

 

NEW QUESTION 30
You need to monitor specific metrics from your application and send real-time alerts to your Devops Engineer.
Which of the below services will fulfil this requirement? Choose two answers

  • A. Amazon Simple Notification Service
  • B. Amazon Simple Queue Service
  • C. Amazon Simple Email Service
  • D. Amazon CloudWatch

Answer: A,D

Explanation:
Explanation
Amazon Cloud Watch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real time. You can use Cloud Watch to collect and track metrics, which are variables you can measure for your resources and applications. Cloud Watch alarms send notifications or automatically make changes to the resources you are monitoring based on rules that you define.
For more information on AWS Cloudwatch, please refer to the below document link: from AWS
* http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatlsCloudWatch.htmI
Amazon Cloud Watch uses Amazon SNS to send email. First, create and subscribe to an SNS topic. When you create a CloudWatch alarm, you can add this SNS topic to send an email notification when the alarm changes state For more information on AWS Cloudwatch and SNS, please refer to the below document link: from AWS
* http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/US_SetupSNS.html

 

NEW QUESTION 31
Your team wants to begin practicing continuous delivery using CloudFormation, to enable automated builds and deploys of whole, versioned stacks or stack layers.
You have a 3-tier, mission-critical system.
Which of the following is NOT a best practice for using CloudFormation in a continuous delivery environment?

  • A. Parametrize the template and use <code>Mappings</code> to ensure your template works in multiple Regions.
  • B. Use the AWS CloudFormation <code>ValidateTemplate</code> call before publishing changes to AWS.
  • C. Model your stack in one template, so you can leverage CloudFormation's state management and dependency resolution to propagate all changes.
  • D. Use CloudFormation to create brand new infrastructure for all stateless resources on each push, and run integration tests on that set of infrastructure.

Answer: C

Explanation:
Putting all resources in one stack is a bad idea, since different tiers have different life cycles and frequencies of change. For additional guidance about organizing your stacks, you can use two common frameworks: a multi-layered architecture and service-oriented architecture (SOA).
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/best-
practices.html#organizingstack s

 

NEW QUESTION 32
Your company develops a variety of web applications using many platforms and programming languages with
different application dependencies. Each application must be developed and deployed quickly and be highly
available to satisfy your business requirements. Which of the following methods should you use to deploy
these applications rapidly?

  • A. Store each application's code in a Git repository, develop custom package repository managers for each
    application's dependencies, and deploy to AWS OpsWorks in multiple Availability Zones.
  • B. Use the AWS CloudFormation Docker import service to build and deploy the applications with high
    availability in multiple Availability Zones.
    C- Develop each application's code in DynamoDB, and then use hooks to deploy it to Elastic Beanstalk
    environments with Auto Scaling and Elastic Load Balancing.
  • C. Develop the applications in Docker containers, and then deploy them to Elastic Beanstalk environments
    with Auto Scaling and Elastic Load Balancing.

Answer: C

Explanation:
Explanation
Elastic Beanstalk supports the deployment of web applications from Docker containers. With Docker
containers, you can define your own runtime environment. You
can choose your own platform, programming language, and any application dependencies (such as package
managers or tools), that aren't supported by other
platforms. Docker containers are self-contained and include all the configuration information and software
your web application requires to run.
By using Docker with Elastic Beanstalk, you have an infrastructure that automatically handles the details of
capacity provisioning, load balancing, scaling, and
application health monitoring.
For more information on Dockers and Elastic beanstalk please refer to the below link:
* http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html

 

NEW QUESTION 33
A company is deploying a new application that uses Amazon EC2 instances. The company needs a solution to query application logs and AWS account API activity. Which solution will meet these requirements?

  • A. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon CloudWatch Logs.
    Configure AWS CloudTrail to deliver the API logs to CloudWatch Logs. Use CloudWatch Logs Insights to query both sets of logs.
  • B. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon S3. Use AWS CloudTrail to deliver the API logs to Amazon S3. Use Amazon Athena to query both sets of logs in Amazon S3.
  • C. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon CloudWatch Logs.
    Configure AWS CloudTrail to deliver the API logs to Amazon S3. Use CloudWatch to query both sets of logs.
  • D. Use the Amazon CloudWatch agent to send logs from the EC2 instances to Amazon Kinesis. Configure AWS CloudTrail to deliver the API logs to Kinesis. Use Kinesis to load the data into Amazon Redshift.
    Use Amazon Redshift to query both sets of logs.

Answer: C

 

NEW QUESTION 34
Which of the following is the right sequence of initial steps in the deployment of application revisions using
Code Deploy
1) Specify deployment configuration
2) Upload revision
3) Create application
4) Specify deployment group

  • A. 3,4,2 and 1
  • B. 3,4,1 and 2
  • C. 3,1,2 and 4
  • D. 3, 2, 1 and 4

Answer: B

Explanation:
Explanation
The below diagram from the AWS documentation shows the deployment steps

For more information on the deployment steps please refer to the below link:
* http://docs.aws.amazon.com/codedeploy/latest/userguide/de
ployment-steps.html

 

NEW QUESTION 35
A company is using AWS CodeDeploy to manage its application deployments. Recently, the Development team decided to use GitHub for version control, and the team is looking for ways to integrate the GitHub repository with CodeDeploy. The team also needs to develop a way to automate deployment whenever there is a new commit on that repository. The team is currently deploying new application revisions by manually indicating the Amazon S3 location.
How can the integration be achieved in the MOST efficient way?

  • A. Create a GitHub webhook to replicate the repository to AWS CodeCommit. Create an AWS CodePipeline pipeline that uses CodeCommit as a source provider and AWS CodeDeploy as a deployment provider. Once configured, commit a change to the GitHub repository to start the first deployment.
  • B. Create an AWS CodePipeline pipeline that uses GitHub as a source provider and AWS CodeDeploy as a deployment provider. Connect this new pipeline with the GitHub account and instruct CodePipeline to use webhooks in GitHub to automatically start the pipeline when a change occurs.
  • C. Create an AWS Lambda function to check periodically if there has been a new commit within the GitHub repository. If a new commit is found, trigger a CreateDeployment API call to AWS CodeDeploy to start a new deployment based on the last commit ID within the deployment group.
  • D. Create an AWS CodeDeploy custom deployment configuration to associate the GitHub repository with the deployment group. During the association process, authenticate the deployment group with GitHub to obtain the GitHub security authentication token. Configure the deployment group options to automatically deploy if a new commit is found. Perform a new commit to the GitHub repository to trigger the first deployment.

Answer: D

 

NEW QUESTION 36
You need to investigate one of the instances which is part of your Autoscaling Group. How would you implement this.

  • A. Put the instance in a InService state
  • B. Suspend the AddToLoadBalancer process
  • C. Put the instance in a standby state
  • D. Suspend the AZRebalance process so that Autoscaling will not terminate the instance

Answer: C

Explanation:
Explanation
The AWS Documentation mentions
Auto Scaling enables you to put an instance that is in the InService state into the Standbystate, update or troubleshoot the instance, and then return the instance to service. Instances that are on standby are still part of the Auto Scaling group, but they do not actively handle application traffic.
For more information on the standby state please refer to the below link:
* http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html

 

NEW QUESTION 37
For AWS CloudFormation, which is true?

  • A. Custom resources using Lambda do not need a <code>ServiceToken</code>property
  • B. Custom resources using SNS do not need a <code>ServiceToken</code> property.
  • C. Custom resources using SNS have a default timeout of 3 minutes.
  • D. Custom resources using Lambda and <code>Code.ZipFile</code> allow inline nodejs resource
    composition.

Answer: D

Explanation:
Code is a property of the AWS::Lambda::Function resource that enables to you specify the source code of
an AWS Lambda (Lambda) function. You can point to a file in an Amazon Simple Storage Service
(Amazon S3) bucket or specify your source code as inline text (for nodejs runtime environments only).
Reference:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html

 

NEW QUESTION 38
......

PDF (New 2021) Actual Amazon AWS-DevOps-Engineer-Professional Exam Questions: https://www.dumpsfree.com/AWS-DevOps-Engineer-Professional-valid-exam.html

Dumps Moneyack Guarantee - AWS-DevOps-Engineer-Professional Dumps UpTo 90% Off: https://drive.google.com/open?id=1_1S4-IdTH-js-VYh8A54ZnHFwSs1138u