Certified Developer Associate 2019

A Developer is building a web application that uses Amazon API Gateway to expose an AWS Lambda function to process requests from clients. During testing, the Developer notices that the API Gateway times out even though the Lambda function finishes under the set time limit.
Which of the following API Gateway metrics in Amazon CloudWatch can help the Developer troubleshoot the issue? (Choose two.)

  • A. CacheHitCount
  • B. IntegrationLatency
  • C. CacheMissCount
  • D. Latency
  • E. Count AD
B、C
 
An AWS Lambda function must access an external site by using a regularly rotated user name and password. These items must be kept securely and cannot be stored in the function code. What combination of AWS services can be used to accomplish this? (Choose two.)
  • A. AWS Certificate Manager (ACM)
  • B. AWS Systems Manager Parameter Store
  • C. AWS Trusted Advisor
  • D. AWS KMS
  • E. Amazon GuardDuty
B、D
 
A Developer is trying to deploy a serverless application using AWS CodeDeploy. The application was updated and needs to be redeployed. What file does the Developer need to update to push that change through CodeDeploy?
  • A. dockerrun.aws.json  ## EB用于管理多docker环境
  • B. buildspec.yml  ## CodeBuild 用于编译代码
  • C. appspec.yml   ## 应用描述文件
  • D. ebextensions.config

application specification file (AppSpec file) 是 YAML 格式或 JSON 格式文件,由 CodeDeploy 用来管理部署。

注意: EC2/本地 部署的 AppSpec file 的名称必须为 appspec.yml。Amazon ECS 或 AWS Lambda 部署的 AppSpec file 的名称必须为 appspec.yaml。

 

A Developer wants to upload data to Amazon S3 and must encrypt the data in transit. Which of the following solutions will accomplish this task? (Choose two.)

  • A. Set up hardware VPN tunnels to a VPC and access S3 through a VPC endpoint
  • B. Set up Client-Side Encryption with an AWS KMS-Managed Customer Master Key
  • C. Set up Server-Side Encryption with AWS KMS-Managed Keys
  • D. Transfer the data over an SSL connection
  • E. Set up Server-Side Encryption with S3-Managed Keys

A company is running a Docker application on Amazon ECS. The application must scale based on user load in the last 15 seconds.
How should a Developer instrument the code so that the requirement can be met?

  • A. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
  • B. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
  • C. Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
  • D. Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds

A company needs to ingest terabytes of data each hour from thousands of sources that are delivered almost continually throughout the day. The volume of messages generated varies over the course of the day. Messages must be delivered in real time for fraud detection and live operational dashboards.
Which approach will meet these requirements?

  • A. Send the messages to an Amazon SQS queue, then process the messages by using a fleet of Amazon EC2 instances
  • B. Use the Amazon S3 API to write messages to an S3 bucket, then process the messages by using Amazon Redshift
  • C. Use AWS Data Pipeline to automate the movement and transformation of data
  • D. Use Amazon Kinesis Data Streams with Kinesis Client Library to ingest and deliver messages

A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being triggered.
Which option would enable DynamoDB table updates to trigger the Lambda function?

  • A. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
  • B. Configure event source mapping for the Lambda function
  • C. Map an Amazon SNS topic to the DynamoDB streams
  • D. increase the maximum execution time (timeout) setting of the Lambda function
扫描二维码关注公众号,回复: 7449148 查看本文章

猜你喜欢

转载自www.cnblogs.com/cloudrivers/p/11653021.html