C Certs Club
Home
Oracle SAP Microsoft Cisco CompTIA Fortinet Salesforce Nutanix Linux Foundation Amazon View All Vendors →
Login Register

Amazon DOP-C02 - AWS Certified DevOps Engineer- Professional Certification Exam

Download Exam View Entire Exam
Page: 3 / 3
Question #11 (Topic: demo questions)

A DevOps engineer is building a continuous deployment pipeline for a serverless
application that uses AWS Lambda functions. The company wants to reduce the customer
impact of an unsuccessful deployment. The company also wants to monitor for issues.
Which deploy stage configuration will meet these requirements? 

A.
A. Use an AWS Serverless
Application Model (AWS SAM) template to define the serverless application. Use AWS
CodeDeploy to deploy the Lambda functions with the Canary10Percent15Minutes
Deployment Preference Type. Use Amazon CloudWatch alarms to monitor the health of the
functions. 
B.
B. Use AWS CloudFormation to publish a new stack update, and include Amazon
CloudWatch alarms on all resources. Set up an AWS CodePipeline approval action for a
developer to verify and approve the AWS CloudFormation change set. 
C.
C. Use AWS
CloudFormation to publish a new version on every stack update, and include Amazon
CloudWatch alarms on all resources. Use the RoutingConfig property of the
AWS::Lambda::Alias resource to update the traffic routing during the stack update. 
D.
D. Use
AWS CodeBuild to add sample event payloads for testing to the Lambda functions. Publish
a new version of the functions, and include Amazon CloudWatch alarms. Update the
production alias to point to the new version. Configure rollbacks to occur when an alarm is
in the ALARM state.
Correct Answer: D
Explanation:
Use routing configuration on an alias to send a portion of traffic to a second function version. For
example, you can reduce the risk of deploying a new version by configuring the alias to send most of
the traffic to the existing version, and only a small percentage of traffic to the new version.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html
The following are the steps involved in the deploy stage configuration that will meet the
requirements:
Use AWS CodeBuild to add sample event payloads for testing to the Lambda functions.
Publish a new version of the functions, and include Amazon CloudWatch alarms.
Update the production alias to point to the new version.
Configure rollbacks to occur when an alarm is in the ALARM state.
This configuration will help to reduce the customer impact of an unsuccessful deployment by
deploying the new version of the functions to a staging environment first. This will allow the DevOps
engineer to test the new version of the functions before deploying it to production.
The configuration will also help to monitor for issues by including Amazon CloudWatch alarms. These
alarms will alert the DevOps engineer if there are any problems with the new version of the functions.
Question #12 (Topic: demo questions)

An ecommerce company is receiving reports that its order history page is experiencing
delays in reflecting the processing status of orders. The order processing system consists
of an AWS Lambda function that uses reserved concurrency. The Lambda function
processes order messages from an Amazon Simple Queue Service (Amazon SQS) queue
and inserts processed orders into an Amazon DynamoDB table. The DynamoDB table has
auto scaling enabled for read and write capacity. Which actions should a DevOps engineer take to resolve this delay? (Choose two.)

A.
Check the ApproximateAgeOfOldestMessage metric for the SQS queue. Increase the Lambda
function concurrency limit.
B.
Check the ApproximateAgeOfOldestMessage metnc for the SQS queue Configure a redrive policy
on the SQS queue.
C.
Check the NumberOfMessagesSent metric for the SQS queue. Increase the SQS queue visibility
timeout.
D.
Check the WriteThrottleEvents metric for the DynamoDB table. Increase the maximum write
capacity units (WCUs) for the table's scaling policy.

E.
Check the Throttles metric for the Lambda function. Increase the Lambda function timeout.
Correct Answer: A, D
Explanation:
A: If the ApproximateAgeOfOldestMessages indicate that orders are remaining in the SQS queue for
longer than expected, the reserved concurrency limit may be set too small to keep up with the
number of orders entering the queue and is being throttled. D: The DynamoDB table is using Auto
Scaling. With Auto Scaling, you create a scaling policy that specifies whether you want to scale read
capacity or write capacity (or both), and the minimum and maximum provisioned capacity unit
settings for the table. The ThottledWriteRequests metric will indicate if there is a throttling issue on
the DynamoDB table, which can be resolved by increasing the maximum write capacity units for the
table's Auto Scaling policy.
Download Exam
« Prev Page: 3 / 3
Next Page