zoukankan      html  css  js  c++  java
  • aws-certified-developer-associate -- 3

    A Developer is investigating an issue whereby certain requests are passing through an Amazon API Gateway endpoint /MyAPI, but the requests do not reach the
    AWS Lambda function backing /MyAPI. The Developer found that a second Lambda function sometimes runs at maximum concurrency allowed for the given AWS account.
    How can the Developer address this issue?

    • A. Manually reduce the concurrent execution limit at the account level
    • B. Add another API Gateway stage for /MyAPI, and shard the requests
    • C. Configure the second Lambda function's concurrency execution limit
    • D. Reduce the throttling limits in the API Gateway /MyAPI endpoint C

    A Developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up the applications.
    How should the Developer identify and troubleshoot the root cause of the performance issues in production?

    • A. Add logging statements to the Lambda functions, then use Amazon CloudWatch to view the logs.
    • B. Use AWS Cloud Trail and then examine the logs
    • C. Use AWS X-Ray, then examine the segments and errors
    • D. Run Amazon Inspector agents and then analyze performance

    A Developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The Developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.
    What is the reason that no filtered results are being returned?

    • A. A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC
    • B. CloudWatch Logs only publishes metric data for events that happen after the filter is created
    • C. The log group for CloudWatch Logs should be first streamed to Amazon Elasticsearch Service before metric filtering returns the results
    • D. Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket

    An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience.
    What is the best option to store the session state?

    • A. Store the session state in Amazon ElastiCache
    • B. Store the session state in Amazon CloudFront
    • C. Store the session state in Amazon S3
    • D. Enable session stickiness using elastic load balancers

    A Developer is creating a template that uses AWS CloudFormation to deploy an application. This application is serverless and uses Amazon API Gateway,
    Amazon DynamoDB, and AWS Lambda.
    Which tool should the Developer use to define simplified syntax for expressing serverless resources?

    • A. CloudFormation serverless intrinsic functions
    • B. AWS serverless express
    • C. An AWS serverless application model
    • D. A CloudFormation serverless plugin

    A Developer has a stateful web server on-premises that is being migrated to AWS. The Developer must have greater elasticity in the new design.
    How should the Developer re-factor the application to make it more elastic? (Choose two.)

    • A. Use pessimistic concurrency on Amazon DynamoDB
    • B. Use Amazon CloudFront with an Auto Scaling group
    • C. Use Amazon CloudFront with an AWS Web Application Firewall
    • D. Store session state data in an Amazon DynamoDB table
    • E. Use an ELB with an Auto Scaling group

    A company is running an application built on AWS Lambda functions. One Lambda function has performance issues when it has to download a 50MB file from the
    Internet in every execution. This function is called multiple times a second.
    What solution would give the BEST performance increase?

    • A. Cache the file in the /tmp directory
    • B. Increase the Lambda maximum execution time
    • C. Put an Elastic Load Balancer in front of the Lambda function
    • D. Cache the file in Amazon S3

    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

    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
    • B. buildspec.yml
    • C. appspec.yml
    • D. ebextensions.config

    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 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

    A Developer is building a three-tier web application that should be able to handle a minimum of 5000 requests per minute. Requirements state that the web tier should be completely stateless while the application maintains session state for the users.
    How can session data be externalized, keeping latency at the LOWEST possible value?

    • A. Create an Amazon RDS instance, then implement session handling at the application level to leverage a database inside the RDS database instance for session data storage
    • B. Implement a shared file system solution across the underlying Amazon EC2 instances, then implement session handling at the application level to leverage the shared file system for session data storage
    • C. Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage
    • D. Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage

    An Amazon DynamoDB table uses a Global Secondary Index (GSI) to support read queries. The primary table is write-heavy, whereas the GSI is used for read operations. Looking at Amazon CloudWatch metrics, the Developer notices that write operations to the primary table are throttled frequently under heavy write activity. However, write capacity units to the primary table are available and not fully consumed.
    Why is the table being throttled?

    • A. The GSI write capacity units are underprovisioned
    • B. There are not enough read capacity units on the primary table
    • C. Amazon DynamoDB Streams is not enabled on the table
    • D. A large write operation is being performed against another table 

    A company runs an e-commerce website that uses Amazon DynamoDB where pricing for items is dynamically updated in real time. At any given time, multiple updates may occur simultaneously for pricing information on a particular product. This is causing the original editor’s changes to be overwritten without a proper review process.
    Which DynamoDB write option should be selected to prevent this overwriting?

    • A. Concurrent writes
    • B. Conditional writes
    • C. Atomic writes
    • D. Batch writes 

    A Development team wants to instrument their code to provide more detailed information to AWS X-Ray than simple outgoing and incoming requests. This will generate large amounts of data, so the Development team wants to implement indexing so they can filter the data.
    What should the Development team do to achieve this?

    • A. Add annotations to the segment document and the code
    • B. Add metadata to the segment document and the code
    • C. Configure the necessary X-Ray environment variables
    • D. Install required plugins for the appropriate AWS SDK

    A team of Developers must migrate an application running inside an AWS Elastic Beanstalk environment from a Classic Load Balancer to an Application Load
    Balancer.
    Which steps should be taken to accomplish the task using the AWS Management Console?

    • A. 1. Update the application code in the existing deployment. 2. Select a new load balancer type before running the deployment. 3. Deploy the new version of the application code to the environment.
    • B. 1. Create a new environment with the same configurations except for the load balancer type. 2. Deploy the same application version as used in the original environment. 3. Run the swap-environment-cnames action.
    • C. 1. Clone the existing environment, changing the associated load balancer type. 2. Deploy the same application version as used in the original environment. 3. Run the swap-environment-cnames action.
    • D. 1. Edit the environment definitions in the existing deployment. 2. Change the associated load balancer type according to the requirements. 3. Rebuild the environment with the new load balancer type.
  • 相关阅读:
    搜索存储过程中的关键字
    替换回车换行
    js 常用正则表达式
    获取存储过程返回值
    DataReader 转datatable
    文件打包下载
    My97DatePicker设置当天之后的日期不可选变灰色
    嵌套类引用实例化的外部类的方法
    可叠加定义的成员变量的赋值及操作(权限)
    Java中List中remove的实质
  • 原文地址:https://www.cnblogs.com/cloudrivers/p/11672873.html
Copyright © 2011-2022 走看看