AWS Certified Developer Associate Exam練習テスト2022年最新のDVA-C01ストレスなしで合格させちゃう! [Q197-Q215]

Share

AWS Certified Developer Associate Exam練習テスト2022年最新のDVA-C01ストレスなしで合格させちゃう!

練習Amazon AWS Certified Associate DVA-C01問題集オンライン試験練習テストと詳細な解説付き!

質問 197
A Developer created a new AWS account and must create a scalable AWS Lambda function that meets the following requirements for concurrent execution:
Average execution time of 100 seconds
50 requests per second
Which step must be taken prior to deployment to prevent errors?

  • A. Contact AWS Support to increase the concurrent execution limits
  • B. Implement dead-letter queues to capture invocation errors
  • C. Implement error handling within the application code
  • D. Add an event source from Amazon API Gateway to the Lambda function

正解: A

解説:
Reference:
https://aws.amazon.com/about-aws/whats-new/2017/05/aws-lambda-raises-default-concurrent-execution-limit/

 

質問 198
A developer at a company writes an AWS ClojdForination template. The template refers to subnets that were created by a separate AWS Cloud Formation template that the company's network team wrote. When the developer attempts to launch the stack for the first time, the launch fails.
Which template coding mistakes could have caused this failure? (Select TWO.)

  • A. The developer's template does not use the Ref intrinsic function to refer to the subnets
  • B. The network team's template does not export the subnets in the Mappings section
  • C. The Mappings section of the developer's template does not refer to the subnets.
  • D. The developer's template does not use the ImportValue intrinsic function to refer to the subnets
  • E. The network team's template does not export the subnets in the Outputs section

正解: D,E

 

質問 199
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. An AWS serverless application model
  • C. AWS serverless express
  • D. A CloudFormation serverless plugin

正解: B

 

質問 200
A company caches session information for a web application in an Amazon DynamoDB table. The company wants an automated way to delete old items from the table.
What is the simplest way to do this?

  • A. Write a script that deletes old records; schedule the scripts as a cron job on an Amazon EC2 instance.
  • B. Each day, create a new table to hold session data; delete the previous day's table.
  • C. Add an attribute with the expiration time; enable the Time To Live feature based on that attribute.
  • D. Add an attribute with the expiration time; name the attribute ItemExpiration.

正解: C

解説:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-how-to.html

 

質問 201

  • A. Ask an Administrator in Account A to allow the EG2 IAM role permission to assume the AccessPII role with predefined service control policies.
  • B. Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPll role with predefined service control policies
  • C. Include the GetSession token API in the application code logic to obtain credentials to access the Pll table
  • D. Ask an Administrator in Account B to allow the EC2 IAM role permission to assume the AccessPII role
  • E. Include the AssumeRole API in the application code logic to obtain credentials to access the PlI table
  • F. An application running on Amazon EC2 instances in Account B requires access to the PII table. An administrators in Account A created an IAM role named AccessPII with privileges to access the PII table, and made account B a trusted entity.
    Which combination of actional steps should Developers take to access the table? (Select TWO )

正解: B,C

 

質問 202
What is the format of structured notification messages sent by Amazon SNS?

  • A. An XML object containing MessageId, UnsubscribeURL, Subject, Message and other values
  • B. An XML object containing MessageId, DuplicateFlag, Message and other values
  • C. An JSON object containing MessageId, DuplicateFlag, Message and other values
  • D. An JSON object containing MessageId, unsubscribeURL, Subject, Message and other values

正解: D

解説:
Explanation
https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html#http-notification-json

 

質問 203
A Developer must re-implement the business logic for an order fulfilment system. The business logic has to make requests to multiple vendors to decide where to purchase an item. The whole process can take up to a week to complete.
What is the MOST efficient and SIMPLEST way to implement a system that meets these requirements?

  • A. Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.
  • B. Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.
  • C. Use AWS Step Functions to execute parallel Lambda functions, and join the results.
  • D. Use Amazon CloudWatch Events to orchestrate the Lambda functions.

正解: C

解説:
Reference:
https://aws.amazon.com/step-functions/

 

質問 204
A developer has written an Amazon Kinesis Data Streams application. As usage grows and traffic increases over time, the application is regularly receiving ProvisionedThroughputExceededException error messages Which steps should the developer take to resolve the error? (Select TWO.)

  • A. Specify a shard iterator using the Shardlterator parameter.
  • B. Increase the number of shards in the data stream
  • C. Increase the delay between the GetRecords call and the PutRecords call.
  • D. Implement exponential backoff on the GetRecords call and the PutRecords call.
  • E. Use Auto Scaling to scale the stream for better performance

正解: B,C

 

質問 205
A stock market monitoring application uses Amazon Kinesis for data ingestion. During simulated tests of peak data rates, the Kinesis stream cannot keep up with the incoming data.
What step will allow Kinesis to accommodate the traffic during peak hours?

  • A. Increase the shard count of the stream using UpdateShardCount.
  • B. Reduce the data retention period to allow for more data ingestion using DecreaseStreamRetentionPeriod.
  • C. Ingest multiple records into the stream in a single call using PutRecords.
  • D. Install the Kinesis Producer Library (KPL) for ingesting data into the stream.

正解: A

解説:
https://docs.aws.amazon.com/streams/latest/dev/developing-producers-with-kpl.html

 

質問 206
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. Configure event source mapping for the Lambda function
  • B. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
  • C. increase the maximum execution time (timeout) setting of the Lambda function
  • D. Map an Amazon SNS topic to the DynamoDB streams

正解: A

解説:
Reference:
https://docs.aws.amazon.com/en_us/amazondynamodb/latest/developerguide/Streams.Lambda.Tutorial.html Create an event source mapping to tell Lambda to send records from your stream to a Lambda function. You can create multiple event source mappings to process the same data with multiple Lambda functions, or process items from multiple streams with a single function.

 

質問 207
A developer wants to insert a record into an Amazon DynamoDB table as soon as a new file is added to an Amazon S3 bucket.
Which set of steps would be necessary to achieve this?

  • A. Create an event with Amazon CloudWatch Events that will monitor the S3 bucket and then insert the records into DynamoDB
  • B. Create a cron job that will run at a scheduled time and insert the records into DynamoDB
  • C. Create a Lambda function that will poll the S3 bucket and then insert the records into DynamoDB.
  • D. Configure an S3 event to invoke a Lambda function that inserts records into DynamoDB

正解: A

 

質問 208
To include objects defined by the AWS Serverless Application Model (SAM) in an AWS CloudFormation template, in addition to Resources, what section MUST be included in the document root?

  • A. Transform
  • B. Globals
  • C. Conditions
  • D. Properties

正解: A

解説:
Explanation
https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md

 

質問 209
A company needs to distribute firmware updates to its customers around the world.
Which service will allow easy and secure control of the access to the downloads at the lowest cost?

  • A. Use Amazon CloudFront with signed URLs for Amazon S3
  • B. Use Amazon CloudFront with AWS Lambda@Edge
  • C. Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket
  • D. Create a dedicated Amazon CloudFront Distribution for each customer

正解: A

解説:
Explanation
https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-s3-amazon-cloudfront-a-match-made-in

 

質問 210
A company is migrating the content delivery network for its dynamic PHP website to AWS An Amazon CloudFront web distribution is part of the new infrastructure The distribution has the following cache behavior settings
* Allowed HTTP Methods is set to GET HEAD
* Viewer Protocol Policy is set to HTTP and HTTPS
Developers test the solution and can reach the company's website over HTTP and HTTPS However the developers are unable to log in to the previously working administration panel of the website Which action will resolve this login issue?

  • A. Set Allowed HTTP Methods to GET HEAD, OPTIONS PUT. POST PATCH. DELETE
  • B. Set Viewer Protocol Policy to Redirect HTTP to HTTPS.
  • C. Set Viewer Protocol Policy to HTTPS Only
  • D. Set Allowed HTTP Methods to GET, HEAD, OPTIONS

正解: B

 

質問 211
A company has three different environments: Development, QA, and Production. The company wants to deploy its code first in the Development environment, then QA, and then Production.
Which AWS service can be used to meet this requirement?

  • A. Use AWS CodeBuild to create, configure, and deploy multiple build application projects.
  • B. Use AWS CodeDeploy to create multiple deployment groups.
  • C. Use AWS Data Pipeline to create multiple data pipeline provisions to deploy the application.
  • D. Use AWS CodeCommit to create multiple repositories to deploy the application.

正解: B

解説:
Explanation
https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-groups.html
"You can associate more than one deployment group with an application in CodeDeploy. This makes it possible to deploy an application revision to different sets of instances at different times. For example, you might use one deployment group to deploy an application revision to a set of instances tagged Test where you ensure the quality of the code. Next, you deploy the same application revision to a deployment group with instances tagged Staging for additional verification. Finally, when you are ready to release the latest application to customers, you deploy to a deployment group that includes instances tagged Production. "

 

質問 212
A Developer uses AWS CodeDeploy to automate application deployment that connects to an external MySQL database. The Developer wants to securely access the encrypted secrets, such as API keys and database passwords.
Which of the following solutions would involve the LEAST administrative effort?

  • A. Use the Amazon DynamoDB client-side encryption library to save the secrets in DynamoDB and to programmatically access the secrets from EC2 instances.
  • B. Save the secrets in Amazon S3 with AWS KMS server-side encryption, and use a signed URL to access them by using the IAM role from Amazon EC2 instances.
  • C. Use AWS SSM Parameter Store to store the secrets and to programmatically access them by using the IAM role from EC2 instances.
  • D. Use the instance metadata to store the secrets and to programmatically access the secrets from EC2 instances.

正解: C

解説:
Reference:
https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

 

質問 213
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. Enable session stickiness using elastic load balancers
  • B. Store the session state in Amazon ElastiCache
  • C. Store the session state in Amazon CloudFront
  • D. Store the session state in Amazon S3

正解: B

解説:
Reference:
https://aws.amazon.com/caching/session-management/

 

質問 214
A meteorological system monitors 600 temperature gauges, obtaining temperature samples every minute and saving each sample to a DynamoDB table. Each sample involves writing 1K of data and the writes are evenly distributed over time.
How much write throughput is required for the target table?

  • A. 1 write capacity unit
  • B. 10 write capacity units
  • C. 3600 write capacity units
  • D. 60 write capacity units
  • E. 600 write capacity units

正解: B

 

質問 215
......

時間限定!今すぐ無料アクセスDVA-C01練習問題:https://drive.google.com/open?id=1hs2IhMQDUZxgk2As7RmdBNYGdDulI_sV

最適なDVA-C01試験学習資料と準備材料を提供しています:https://www.goshiken.com/Amazon/DVA-C01-mondaishu.html