Quiz
DVA-C01 AWS Certified Developer (03)
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (65)
1A developer is building an application that needs to store date in Amazon S3. Managementre quires that the data be encrypted before is it sent to Amazon S3 for storage. The encryption keys need to be managed by the security team.
Which approach should the developer take to meet these requirements?- AA. Implement server-side encryption using customer-provided encryption keys (SSE-C).
- BB. Implement server-side encryption by using client-side master key.
- CC. Implement client-side encryption using an AWS KMS managed customer master key (CMK).
- DD. Implement Client-side encryption using Amazon S3 managed keys.
2A developer has a legacy application that is hosted on-premises Other applications hosted on AWS depend on the on-premises application for proper functioning In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place.
How can the developer accomplish this?- AA. Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch.
- BB. Download the CloudWatch agent to the on-premises server Configure the agent to use IAM user credentials with permissions for CloudWatch.
- CC. Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files.
- DD. Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.
3When writing a Lambda function, what is the benefit of instantiating AWS clients outside
the scope of the handler?- AA. Legibility and stylistic convention.
- BB. Taking advantage of connection re-use.
- CC. Better error handling.
- DD. Creating a new instance per invocation.
4An application stops working with the following error: The specified bucket does not exist. Where is the BEST place to start the root cause analysis?
- AA. Check the Elastic Load Balancer logs for DeleteBucket requests.
- BB. Check the application logs in Amazon CloudWatch Logs for Amazon S3 DeleteBucket errors.
- CC. Check AWS X-Ray for Amazon S3 DeleteBucket alarms.
- DD. Check AWS CloudTrail for a DeleteBucket event.
5A 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?- AA. CloudFormation serverless intrinsic functions.
- BB. AWS serverless express.
- CC. An AWS serverless application model.
- DD. A CloudFormation serverless plugin.
6A company wants to migrate an imaging service to Amazon EC2 while following security
best practices. The images are sourced and read from a non-public Amazon S3 bucket.
What should a developer do to meet these requirements?- AA. Create an IAM user with read-only permissions for the S3 bucket Temporarily store the user credentials in the Amazon EBS volume of the EC2 instance.
- BB. Create an IAM user with read-only permissions for the S3 bucket. Temporarily store the user credentials in the user data of the EC2 instance.
- CC. Create an EC2 service role with read-only permissions for the S3 bucket Attach the role to the EC2 instance.
- DD. Create an S3 service role with read-only permissions for the S3 bucket Attach the role to the EC2 instance.
7A company wants to implement a continuous integration for its workloads on AWS. The company wants to trigger unit test in its pipeline for commits-on its code repository, and wants to be notified of failure events in the pipeline.
How can these requirements be met?- AA. Store the source code in AWS CodeCommit. Create a CodePipeline to automate unit testing. Use Amazon SNS to trigger notifications of failure events.
- BB. Store the source code in GitHub. Create a CodePipeline to automate unit testing. Use Amazon SES to trigger notifications of failure events.
- CC. Store the source code on GitHub. Create a CodePipeline to automate unit testing. Use Amazon CloudWatch to trigger notifications of failure events.
- DD. Store the source code in AWS CodeCommit. Create a CodePipeline to automate unit testing. Use Amazon
CloudWatch to trigger notification of failure events.
8A development team is migrating a monolithic application to Amazon API Gateway with AWS Lambda integrations using the AWS CD. The zip deployment package exceeds the Lambda direct upload deployment package size limit.
How should the Lambda function be deployed?- AA. Use the zip tile to create a Lambda layer and reference it using the -code CLI parameter.
- BB. Create a Docker image and reference the image using the --docker-image CLI parameter.
- CC. Upload a deployment package using the --zp-file CLI parameter.
- DD. Upload a deployment package to Amazon S3 and reference Amazon S3 using the -- code CLI parameter.
9A development team is building a new application that will run on Amazon EC2 and use Amazon DynamoDB as a storage layer The developers all have assigned IAM user
accounts in the same IAM group The developers currently can launch EC2 instances and they need to be able to launch EC2 instances with an instance role allowing access to Amazon DynamoDB Which AWS I AM changes are needed when creating an instance role to provide this functionality.- AA. Create an IAM permission policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM GetRole and IAM PassRole permissions for the role.
- BB. Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the IAM PassRole permission for the role.
- CC. Create an IAM permission policy attached to the role that allows access to Amazon EC2 Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the
IAM PassRole permission for the role. - DD. Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM that allows developers to use the iam GetRole permission for the role.
10What does an Amazon SQS delay queue accomplish?
- AA. Messages are hidden for a configurable amount of time when they are first added to the queue.
- BB. Messages are hidden for a configurable amount of time after they are consumed from the queue.
- CC. The consumer can poll the queue for a configurable amount of time before retrieving a message.
- DD. Message cannot be deleted for a configurable amount of time after they are consumed from the queue.
11A developer is writing an application in AWS Lambda To simplify testing and deployments, the developer needs the database connection string to be easily changed without modifying the Lambda code. How can this requirement be met?
- AA. Store the connection string as a secret in AWS Secrets Manager.
- BB. Store the connection string in an IAM user account.
- CC. Store the connection string in AWS KMS.
- DD. Store the connection string as a Lambda layer.
12A corporate web application is deployed within an Amazon VPC, and is connected to the corporate data center via IPSec VPN. The application must authenticate against the onpremise LDAP server. Once authenticated, logged-in users can only access an S3 keyspace specific to the user.
Which two approaches can satisfy the objectives? Choose 2 answers- AA. The application authenticates against LDAP. The application then calls the IAM Security
Service to login to IAM using the LDAP credentials. The application can use the IAM temporary credentials to access the appropriate S3 bucket. - BB. The application authenticates against LDAP, and retrieves the name of an IAM role associated with the user. The application then calls the IAM Security Token Service to assume that IAM Role. The application can use the temporary credentials to access the
appropriate S3 bucket. - CC. The application authenticates against IAM Security Token Service using the LDAP credentials. The application uses those temporary AWS security credentials to access the appropriate S3 bucket.
- DD. Develop an identity broker which authenticates against LDAP, and then calls IAM Security Token Service to get IAM federated user credentials. The application calls the identity broker to get IAM federated user credentials with access to the appropriate S3
bucket. - EE. Develop an identity broker which authenticates against IAM Security Token Service to assume an IAM Role to get temporary AWS security credentials. The application calls the identity broker to get AWS temporary security credentials with access to the appropriate S3 bucket.
- AA. The application authenticates against LDAP. The application then calls the IAM Security
13A large company has its application components distributed across.. company needs to
collect and visualize trace data across these accounts.
What should be used to meet these requirements?- AA. AWS X-Ray
- BB. Amazon CloudWatch
- CC. Amazon VPC flow logs
- DD. Amazon Elasticsearch Service
14When using a large Scan operation in DynamoDB, what technique can be used to minimize the impact of a scan on a table's provisioned throughput?
- AA. Set a smaller page size for the scan.
- BB. Use parallel scans.
- CC. Define a range index on the table.
- DD. Prewarm the table by updating all items.
15A Developer is writing a REST service that will add items to a shopping list. The service is built on Amazon API Gateway with AWS Lambda integrations. The shopping list items are send as query string parameters in the method request.
How should the Developer convert the query string parameters to arguments for the Lambda function?- AA. Enable request validation.
- BB. Include the Amazon Resource Name (ARN) of the Lambda function.
- CC. Change the integration type.
- DD. Create a mapping template.
16A company is managing a NoSQL database on-premises to host a critical component of an application, which is starting to have scaling issues. The company wants to migrate the application to Amazon DynamoDB with the following considerations:
• Optimize frequent queries
• Reduce read latencies
• Plan for frequent queries on certain key attributes of the table
Which solution would help achieve these objectives?- AA. Create global secondary indexes on keys that are frequently queried Add the necessary attributes into the indexes.
- BB. Create local secondary indexes on keys that are frequently queried DynamoDB will fetch needed attributes from the table.
- CC. Create DynamoDB global tables to speed up query responses Use a scan to fetch data from the table.
- DD. Create an AWS Auto Scaling policy for the DynamoDB table.
17A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a
REST API The developer will have three distinct environments to manage development, test, and production. How should the application be deployed while minimizing the number of resources to manage?- AA. Create a separate API Gateway and separate Lambda function for each environment in the same Region.
- BB. Assign a Region for each environment and deploy API Gateway and Lambda to each Region.
- CC. Create one API Gateway with multiple stages with one Lambda function with multiple aliases.
- DD. Create one API Gateway and one Lambda function, and use a REST parameter to identify tne environment.
18An application that runs on an Amazon EC2 instance needs to access and make API calls to multiple AWS services.
What is the MOST secure way to provide access to the AWS services with MINIMAL management overhead?- AA. Use AWS KMS to store and retrieve credentials.
- BB. Use EC2 instance profiles.
- CC. Use AWS root user to make requests to the application.
- DD. Store and retrieve credentials from AWS CodeCommit.
19How can you secure data at rest on an EBS volume?
- AA. Attach the volume to an instance using EC2's SSL interface.
- BB. Write the data randomly instead of sequentially.
- CC. Use an encrypted file system on top of the BBS volume.
- DD. Encrypt the volume using the S3 server-side encryption service.
- EE. Create an IAM policy that restricts read and write access to the volume.
20A developer is working on a serverless project based in Java. Initial testing shows a cold
start takes about 8 seconds on average for AWS Lambda functions.
What should the developer do to reduce the cold start time'' (Select TWO)- AA. Add the Spring Framework to the project and enable dependency injection.
- BB. Reduce the deployment package by including only the needed modules from the AWS SDK for Java.
- CC. Increase the memory allocation setting for the Lambda function.
- DD. Increase the timeout setting for the Lambda function.
- EE. Change the Lambda invocation mode from synchronous to asynchronous.
21What is one key difference between an Amazon EBS-backed and an instance-store backed instance?
- AA. Virtual Private Cloud requires EBS backed instances.
- BB. Amazon EBS-backed instances can be stopped and restarted.
- CC. Auto scaling requires using Amazon EBS-backed instances.
- DD. Instance-store backed instances can be stopped and restarted.
22A company has a REST application comprised of an Amazon API Gateway and several
AWS Lambda functions. A developer is responding to an alert that the API Gateway’s
HTTP response error rate has unexpectedly increased. The developer must determine
must which Lambda function is malfunctioning.
Which method would help the developer make this determination while minimizing delays?- AA. Execute an Amazon Athena query against the API Gateway and Lambda execution logs.
- BB. Execute an Amazon CloudWatch Logs Insights query against the API Gateway and Lambda execution logs.
- CC. Download the API Gateway and Lambda execution logs from Amazon S3, and perform a line-by-line search against them.
- DD. Download the API Gateway and Lambda execution logs from Amazon CloudWatch Events, and perform line-by-line search against them.
23An application is using a custom library to make HTTP calls directly to AWS service
endpoints. The application is experiencing transient errors that are causing processes to stop when each error is first encountered A request has been made to make the application more resilient by adding error retries and exponential backoff.
How should a developer implement the changes with MINIMAL custom code?- AA. Add a Retry-After HTTP header to API requests.
- BB. Use the AWS CLI to configure the retry settings in a named profile.
- CC. Change the custom library to retry on 5xx errors only.
- DD. Use an AWS SDK and set retry-specific configurations.
24A developer is creating as AWS lambda function that generates a new file each time it runs. Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account.
How should the developer accomplish this?- AA. When the Lambda function starts, use the Git CLI to Clone the repository. Check the new file into the cloned repository and push the change.
- BB. After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
- CC. Use an AWS SDK to instantiate a CodeCommit Client. Invoke the put _ file method to add the file to the repository.
- DD. Upload the new file to an Amazon S3 bucket. Create an AWS step Function to accept S3 events. In the step Function, add the new file to the repository.
25Which of the following are good use cases for how Amazon ElastiCache can help an
application? (Select TWO.)- AA. Improve the performance of S3 PUT operations.
- BB. Improve the latency of deployments performed by AWS CodeDeploy
- CC. Improve latency and throughput for read-heavy application workloads.
- DD. Reduce the time required to merge AWS CodeCommit branches.
- EE. Improve performance of compute-intensive applications.
26Which of the following items are required to allow an application deployed on an EC2
instance to write data to a DynamoDB table?
Assume that no security Keys are allowed to be stored on the EC2 instance. Choose 2
answers- AA. Create an IAM User that allows write access to the DynamoDB table.
- BB. Add an IAM Role to a running EC2 instance.
- CC. Add an IAM User to a running EC2 Instance.
- DD. Launch an EC2 Instance with the IAM Role included in the launch .
- EE. Create an IAM Role that allows write access to the DynamoDB table.
- FF. Launch an EC2 Instance with the IAM User included in the launch configuration.
27EC2 instances are launched from Amazon Machine images (AMIs). A given public AMI
can:- AA. be used to launch EC2 Instances in any AWS region.
- BB. only be used to launch EC2 instances in the same country as the AMI is stored.
- CC. only be used to launch EC2 instances in the same AWS region as the AMI is stored.
- DD. only be used to launch EC2 instances in the same AWS availability zone as the AMI is stored.
28During non-peak hours, a Developer wants to minimize the execution time of a full Amazon DynamoDB table scan without affecting normal workloads. The workloads average half of the strongly consistent read capacity units during non-peak hours.
How would the Developer optimize this scan?- AA. Use parallel scans while limiting the rate.
- BB. Use sequential scans.
- CC. Increase read capacity units during the scan operation.
- DD. Change consistency to eventually consistent during the scan operation.
29An Amazon RDS database instance is used by many applications to look up historical data. The query rate is relatively constant. When the historical data is updated each day, the resulting write traffic slows the read query performance and affects all application users.
What can be done to eliminate the performance impact on application users?- AA. Make sure Amazon RDS is Multi-AZ so it can better absorb increased traffic.
- BB. Create an RDS Read Replica and direct all read traffic to the replica.
- CC. Implement Amazon ElastiCache in front of Amazon RDS to buffer the write traffic.
- DD. Use Amazon DynamoDB instead of Amazon RDS to buffer the read traffic.
30While developing an application that runs on Amazon EC2 in an Amazon VPC, a
Developer identifies the need for centralized storage of application-level logs.
Which AWS service can be used to securely store these logs?- AA. Amazon EC2 VPC Flow Logs.
- BB. Amazon CloudWatch Logs.
- CC. Amazon CloudSearch.
- DD. AWS CloudTrail.
31A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. User requests from the browser are causing high traffic, which results in degraded performance.
Which optimization solution should a Developer implement to increase application
performance?- AA. Create multiple prefix in the S3 bucket to increase the request rate.
- BB. Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
- CC. Use Amazon CloudFront to serve the content of images stored in Amazon S3.
- DD. Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
32A company is developing a new web application in Python A developer must deploy the application using AWS Elastic Beanstalk from the AWS Management Console The
developer creates an Elastic Beanstalk source bundle to upload using the console
Which of the following are requirements when creating the source bundle''
(Select TWO.)- AA. The source bundle must include the ebextensions.yaml file.
- BB. The source bundle must not include a top-level directory.
- CC. The source bundle must be compressed with any required dependencies in a top-level parent folder.
- DD. The source bundle must be created as a single zip or war file.
- EE. The source bundle must be uploaded into Amazon EFS.
33A company has developed a new serverless application using AWS Lambda functions that
will be deployed using the AWS Serverless Application Model (AWS SAM) CLI.
Which step should the developer complete prior to deploying the application?- AA. Compress the application to a zip file and upload it into AWS Lambda.
- BB. Test the new AWS Lambda function by first tracing it in AWS X-Ray.
- CC. Bundle the serverless application using a SAM package.
- DD. Create the application environment using the eb create my-env command.
34A Development team has pushed out 10 applications running on several Amazon EC2
instances. The Operations team is asking for a graphical representation of one key
performance metric for each application. These metrics should be available on one screen for easy monitoring.
Which steps should the Developer take to accomplish this using Amazon CloudWatch?- AA. Create a custom namespace with a unique metric name for each application.
- BB. Create a custom dimension with a unique metric name for each application.
- CC. Create a custom event with a unique metric name for each application.
- DD. Create a custom alarm with a unique metric name for each application.
35A Developer wants to find a list of items in a global secondary index from an Amazon
DynamoDB table. Which DynamoDB API call can the Developer use in order to consume the LEAST number of read capacity units?- AA. Scan operation using eventually-consistent reads.
- BB. Query operation using strongly-consistent reads.
- CC. Query operation using eventually-consistent reads.
- DD. Scan operation using strongly-consistent reads
36If an application is storing hourly log files from thousands of instances from a high traffic
web site, which naming scheme would give optimal performance on S3?- AA. Sequential
- BB. instanceID_log-HH-DD-MM-YYYY
- CC. instanceID_log-YYYY-MM-DD-HH
- DD. HH-DD-MM-YYYY-log_instanceID
- EE. YYYY-MM-DD-HH-log_instanceID
37A Developer must trigger an AWS Lambda function based on the item lifecycle activity in
an Amazon DynamoDB table. How can the Developer create the solution?- AA. Enable a DynamoDB stream that publishes an Amazon SNS message. Trigger the Lambda function synchronously from the SNS message.
- BB. Enable a DynamoDB stream that publishes an SNS message. Trigger the Lambda function asynchronously from the SNS message.
- CC. Enable a DynamoDB stream, and trigger the Lambda function synchronously from the stream.
- DD. Enable a DynamoDB stream, and trigger the Lambda function asynchronously from the stream.
38An application on AWS is using third-party APIs. The Developer needs to monitor API
errors in the code, and wants to receive notifications if failures go above a set threshold
value. How can the Developer achieve these requirements?- AA. Publish a custom metric on Amazon CloudWatch and use Amazon SES for notification.
- BB. Use an Amazon CloudWatch API-error metric and use Amazon SNS for notification.
- CC. Use an Amazon CloudWatch API-error metric and use Amazon SES for notification.
- DD. Publish a custom metric on Amazon CloudWatch and use Amazon SNS for notification.
39To 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?- AA. Conditions.
- BB. Globals.
- CC. Transform.
- DD. Properties.
40A company wants to containerize an existing three-tier web application and deploy it to
Amazon ECS Fargate. The application is using session data to keep track of user activities.
Which approach would provide the BEST user experience?- AA. Provision a Redic cluster in Amazon ElasticCache and save the session data in the cluster.
- BB. Create a session table in Amazon Redshift and save the session data in the database table.
- CC. Enable session stickness in the existing Network Load Balancer and manage the session data in the container
- DD. Use an Amazon S3 bucket as data store and save the session data in the bucket.
41A developer is creating a new application that will be accessed by users through an API
created using Amazon API Gateway The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider Once authenticated, users will need access to other AWS services such as Amazon S3 and Amazon DynamoDB How can these requirements be met?- AA. Use an Amazon Cognito user pool with SAML as the resource server.
- BB. Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers.
- CC. Use the AWS IAM service to provide the sign-up and sign-in functionality.
- DD. Use Amazon CloudFront signed URLs to connect with the SAML identity provider.
42According to best practice, how should access keys be managed in AWS? (Choose two.)
- AA. Use the same access key in all applications for consistency.
- BB. Delete all access keys for the account root user.
- CC. Leave unused access keys in the account for tracking purposes.
- DD. Embed and encrypt access keys in code for continuous deployment.
- EE. Use Amazon IAM roles instead of access keys where possible.
43A web application is using Amazon Kinesis Streams for clickstream data that may not be consumed for up to 12 hours.
How can the Developer implement encryption at rest for data within the Kinesis Streams?- AA. Enable SSL connections to Kinesis.
- BB. Use Amazon Kinesis Consumer Library.
- CC. Encrypt the data once it is at rest with a Lambda function.
- DD. Enable server-side encryption in Kinesis Streams.
44An 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?- AA. Store the session state in Amazon ElastiCache.
- BB. Store the session state in Amazon CloudFront.
- CC. Store the session state in Amazon S3.
- DD. Enable session stickiness using elastic load balancers.
45Games-R-Us is launching a new game app for mobile devices. Users will log into the game using their existing Facebook account and the game will record player data and scoring information directly to a DynamoDB table.
What is the most secure approach for signing requests to the DynamoDB API?- AA. Create an IAM user with access credentials that are distributed with the mobile app to sign the requests.
- BB. Distribute the AWS root account access credentials with the mobile app to sign the requests.
- CC. Request temporary security credentials using web identity federation to sign the requests.
- DD. Establish cross account access between the mobile app and the DynamoDB table to sign the requests.
46When a Simple Queue Service message triggers a task that takes 5 minutes to complete,
which process below will result in successful processing of the message and remove it
from the queue while minimizing the chances of duplicate processing?- AA. Retrieve the message with an increased visibility timeout, process the message, delete the message from the queue.
- BB. Retrieve the message with an increased visibility timeout, delete the message from the queue, process the message.
- CC. Retrieve the message with increased DelaySeconds, process the message, delete the message from the queue.
- DD. Retrieve the message with increased DelaySeconds, delete the message from the queue, process the message.
47A developer is designing a distributed application built using a microservices architect
spanning multiple AWS accounts. The company's operations team wants to analyze and debug application issues from a centralized account.
How can the developer meet these requirements?- AA. Use an Amazon X-Ray agent with role assumption on to publish data into the centralized account.
- BUse Amazon X-Ray and create a new IAM user to publish the access keys into the centralized account.
- CC. Use VPC Flow Logs to collect application logs across different accounts.
- DD. Enable AWS CloudTrail to publish the trails in an Amazon S3 bucket in the centralized account.
48The development team is working on an API that will be served from Amazon API gateway. The API will be served from three environments: development, test, and production. The API Gateway is configured to use 237 GB of cache in all three stages.
Which is the MOST cost-efficient deployment strategy?- AA. Create a single API Gateway with all three stages.
- BB. Create three API Gateways, one for each stage in a single AWS account.
- CC. Create an API Gateway in three separate AWS accounts.
- DD. Enable the cache for development and test environments only when needed.
49A company has an application that logs all information to Amazon S3. Whenever there is a new log file, an AWS Lambda function is invoked to process the log files. The code works, gathering all of the necessary information. However, when checking the Lambda function logs, duplicate entries with the same request ID are found.
What is causing the duplicate entries?- AA. The S3 bucket name was specified incorrectly.
- BB. The Lambda function failed, and the Lambda service retired the invocation with a delay.
- CC. There was an S3 outage, which caused duplicate entries of the sale log file.
- DD. The application stopped intermittently and then resumed.
50A developer has written an application that writes data to Amazon DynamoDB- The
DynamoDB table has been configured to use conditional writes During peak usage times, writes are failing due to a CondittonatCheckFailedException error.
How can the developer increase the application's reliability when multiple clients are attempting to write to the same record?- AA. Write the data to an Amazon SNS topic.
- BB. Increase the amount of write capacity for the table to anticipate short-term spikes or bursts m write operations.
- CC. Implement a caching solution, such as DynamoDB Accelerator or Amazon ElastiCache.
- DD. Implement error retries and exponential backoff with jitter.
51A serverless application uses an API Gateway and AWS Lambda.
Where should the Lambda function store its session information across function calls?- AA. In an Amazon DynamoDB table.
- BB. In an Amazon SQS queue.
- CC. In the local filesystem.
- DD. In an SQLite session table using –DSQLITE_ENABLE_SESSION.
52A developer implemented a static website hosted in amazon s3 that makes web service requests in amazon api gateway and aws lambda. The site is showing an error that reads. ''No 'access control-allow-origin'header' header is present on the requested resource. Origin 'null is therefore not allowed access ''
What should the developer do to resolve this issue?- AA. Enable cross-origin resource sharing (cors) on the s3 bucket.
- BB. Enable cross-origin resource sharing (cors) for the method in api gateway.
- CC. Add the access control-request-method header to the request.
- DD. Add the access-control inquest headers header to the request.
53A developer needs to modify an application architecture to meet new functional
requirements. Application data is stored in Amazon DynamoDB and processed for analysis in a rightly batch. The system analysts do not want to wait unit the next day to view the processed data and have asked to have it available in near-real time.
Which application architect pattern would enables the data to be processed as it is
received?- AA. Evert driven.
- BB. Client served driven.
- CC. Fan-out driven.
- DD. Schedule driven.
54An application displays a status dashboard. The status is updated by 1 KB messages from an SQS queue. Although the status changes infrequently, the Developer must minimize the time between the message arrival in the queue and the dashboard update.
What technique provides the shortest delay in updating the dashboard?- AA. Retrieve the messages from the queue using long polling every 20 seconds.
- BB. Reduce the size of the messages by compressing them before sending.
- CC. Retrieve the messages from the queue using short polling every 10 seconds.
- DD. Reduce the size of each message payload by sending it in two parts.
55A Developer is working on an application that handles 10MB documents that containhighly-sensitive data. The application will use AWS KMS to perform client-side encryption. What steps must be followed?
- AA. Invoke the Encrypt API passing the plaintext data that must be encrypted, then reference the customer managed key ARN in the KeyId parameter.
- BB. Invoke the GenerateRandom API to get a data encryption key, then use the data encryption key to encrypt the data.
- CC. Invoke the GenerateDataKey API to retrieve the encrypted version of the data encryption key to encrypt the data.
- DD. Invoke the GenerateDataKey API to retrieve the plaintext version of the data encryption key to encrypt the data.
56An application running on multiple Amazon EC2 instances pulls messages ...SQS queue. A requirement for the application is that all messages must be encrypted at rest. Developers are instructed to use methods that allow for centralized .. possible support requirements whenever possible. Which of the following solution supports these requirements?
- AA. Encrypt individual messages by using client-side encryption with customer managed keys, then write to the SQS queue.
- BB. Encrypt individual messages by using SQS Extended Client and the Amazon S3 encryption client.
- CC. Create an SQS queue, and encrypt the queue by using server-side encryption with AWS KMS.
- DD. Create an SQS queue and encrypt the queue by using client-side encryption.
57A company wants to migrate its web application to AWS and leverage Auto Scaling to
handle pear workloads. The Solutions Architect determined that the best metric for an Auto Scaling event is the number of concurrent users. Based on this information, what should the Developer use to autoscale based on concurrent users?- AA. An Amazon SNS topic to be triggered when a concurrent user threshold is met.
- BB. An Amazon Cloudwatch Networkin metric.
- CC. Amazon CloudFront to leverage AWS Edge Locations.
- DD. A Custom Amazon CloudWatch metric for concurrent users.
58A Developer is creating an application that needs to locate the public IPv4 address of the
Amazon EC2 instance on which it runs. How can the application locate this information?- AA. Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
- BB. Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
- CC. Get the application to run IFCONFIG to get the public IP address.
- DD. Get the application to run IPCONFIG to get the public IP address.
59A Developer must encrypt a 100-GB object using AWS KMS. What is the BEST approach?
- AA. Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK)
- BB. Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK) with imported key material.
- CC. Make a GenerateDataKey API call that returns a plaintext key and an encrypted copy of a data key. Use a plaintext key to encrypt the data.
- DD. Make a GenerateDataKeyWithoutPlaintext API call that returns an encrypted copy of a data key. Use an encrypted key to encrypt the data.
60A 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?- AA. 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.
- BB. Use the instance metadata to store the secrets and to programmatically access the secrets from EC2 instances.
- CC. Use the Amazon DynamoDB client-side encryption library to save the secrets in DynamoDB and to programmatically access the secrets from EC2 instances.
- DD. Use AWS SSM Parameter Store to store the secrets and to programmatically access them by using the IAM role from EC2 instances.
61A Developer is creating a web application that requires authentication, but also needs to support guest access to provide users limited access without having to authenticate. What service can provide support for the application to allow guest access?
- AA. IAM temporary credentials using AWS STS.
- BB. Amazon Directory Service.
- CC. Amazon Cognito with unauthenticated access enabled.
- DD. IAM with SAML integration.
62A Developer is writing a Linux-based application to run on AWS Elastic Beanstalk.
Application requirements state that the application must maintain full capacity during
updates while minimizing cost.
Which type of Elastic Beanstalk deployment policy should the Developer specify for the environment?- AA. Immutable.
- BB. Rolling.
- CC. All at Once.
- DD. Rolling with additional batch.
63An application is expected to process many files. Each file takes four minutes to process
each AWS Lambda invocation. The Lambda function does not return any important data.
What is the fastest way to process all the files?- AA. First split the files to make them smaller, then process with synchronous RequestResponse Lambda invocations.
- BB. Make synchronous RequestResponse Lambda invocations and process the files one by one.
- CC. Make asynchronous Event Lambda invocations and process the files in parallel.
- DD. First join all the files, then process it all at once with an asynchronous Event Lambda invocation.
64An application is experiencing performance issues based on increased demand. This
increased demand is on read-only historical records pulled from an Amazon RDS-hosted database with custom views and queries. A developer improve performance without changing the database structure.
Which approach will improve performance and MINIMIZE management overhead?- AA. Deploy Amazon DynamoDB, move all the data, and point to DynamoDB.
- BB. Deploy Amazon ElasticCache for Redis and cache the data for the application.
- CC. Deploy Memcached on Amazon EC2 and cache the data for the application.
- DD. Deploy Amazon DynamoDB Accelerator (DAX) on Amazon RDS to improve cache performance.
65A company is migrating a single-server, on-premises web application to AWS. The
company intends to use multiple servers behind an Elastic Load Balancer (ELB) to balance the load, and will also store session data in memory on the web server. The company does not want to lose that session data if a server fails or goes offline, and it wants to minimize user’s downtime.
Where should the company move session data to MOST effectively reduce downtime and make users’ session data more fault tolerant?- AA. An Amazon ElastiCache for Redis cluster.
- BB. A second Amazon EBS volume.
- CC. The web server’s primary disk.
- DD. An Amazon EC2 instance dedicated to session data.
Informationen
- Beschreibung
- Quiz am DVA-C01 AWS Certified Developer (03), erstellt von Rômulo D am 21/04/2021.
- Autor
- Rômulo D
- Sprache
- Português
- Aufrufe
- 1
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz