Test
DVA-C01 AWS Certified Developer (07)
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (24)
1An application is designed to use Amazon SQS to manage messages from many
independent senders. Each sender’s messages must be processed in the order they are received.
Which SQS feature should be implemented by the Developer?- AA. Configure each sender with a unique MessageGroupId
- BB. Enable MessageDeduplicationIds on the SQS queue
- CC. Configure each message with unique MessageGroupIds.
- DD. Enable ContentBasedDeduplication on the SQS queue
2A developer receives the following error message when trying to launch or terminate an Amazon EC2 instance using a boto3 script.
What should the developer do to correct this error message?- AA. Assign an IAM role to the EC2 instance to allow necessary API calls on behalf of the client.
- BB. Implement an exponential backoff algorithm for optimizing the number of API requests made to Amazon EC2.
- CC. Increase the overall network bandwidth to handle higher API request rates.
- DD. Upgrade to the latest AWS CLI version so that boto3 can handle higher request rates.
3A Developer needs to design an application running on AWS that will be used to consume Amazon SQS messages that range from 1 KB up to 1GB in size.
How should the Amazon SQS messages be managed?- AA. Use Amazon S3 and the Amazon SQS CLI.
- BB. Use Amazon S3 and the Amazon SQS Extended Client Library for Java.
- CC. Use Amazon EBS and the Amazon SQS CLI.
- DD. Use Amazon EFS and the Amazon SQS CLI.
4An application development team decides to use AWS X Ray to monitor application code to analyze performance and perform r cause analysis.
What does the team need to do to begin using X Ray? (Select TWO )- AA. Log instrumentation output into an Amazon SQS queue.
- BB. Use a visualization tool to view application traces.
- CC. Instrument application code using the AWS SDK
- DD. Install the X-Ray agent on the application servers
- EE. Create an Amazon DynamoDB table to store the trace logs
5An application running on EC2 instances is storing data in an S3 bucket. Security policy
mandates that all data must be encrypted in transit.
How can the Developer ensure that all traffic to the S3 bucket is encrypted?- AA. Install certificates on the EC2 instances.
- BB. Create a bucket policy that allows traffic where SecureTransport is true.
- CC. Create an HTTPS redirect on the EC2 instances.
- DD. Create a bucket policy that denies traffic where SecureTransport is false.
6A Developer is creating an Auto Scaling group whose instances need to publish a custom metric to Amazon CloudWatch.
Which method would be the MOST secure way to authenticate a CloudWatch PUT
request?- AA. Create an IAM user with PutMetricData permission and put the user credentials in a private repository; have applications pull the credentials as needed.
- BB. Create an IAM user with PutMetricData permission, and modify the Auto Scaling launch configuration to inject the user credentials into the instance user data.
- CC. Modify the CloudWatch metric policies to allow the PutMetricData permission to instances from the Auto Scaling group.
- DD. Create an IAM role with PutMetricData permission and modify the Auto Scaling launching configuration to launch instances using that role.
7For a deployment using AWS CodeDeploy, what is the run order of the hooks for in-place
deployments?- AA. Before Install -> Application Stop -> Application Start -> After Install
- BB. Application Stop -> Before Install -> After Install -> Application Start
- CC. Before Install -> Application Stop -> Validate Service -> Application Start
- DD. Application Stop -> Before Install -> Validate Service -> Application Start
8A deployment package uses the AWS CLI to copy files into any S3 bucket in the account, using access keys stored in environment variables. The package is running on EC2 instances, and the instances have been modified to run with an assumed IAM role and a more restrictive policy that allows access to only one bucket.
After the change, the Developer logs into the host and still has the ability to write into all of the S3 buckets in that account.
What is the MOST likely cause of this situation?- AA. An IAM inline policy is being used on the IAM role
- BB. An IAM managed policy is being used on the IAM role
- CC. The AWS CLI is corrupt and needs to be reinstalled.
- DD. The AWS credential provider looks for instance profile credentials last.
9A Developer is writing a mobile application that allows users to view images from an S3 bucket. The users must be able to log in with their Amazon login, as well as Facebook® and/or Google® accounts.
How can the Developer provide this authentication functionality?- AA. Use Amazon Cognito with web identity federation.
- BB. Use Amazon Cognito with SAML-based identity federation.
- CC. Use AWS IAM Access/Secret keys in the application code to allow Get* on the S3 bucket.
- DD. Use AWS STS AssumeRole in the application code and assume a role with Get* permissions on the S3 bucket.
10A company has an AWS CloudFormation template that is stored as a single file. The
template is able to launch and create a full infrastructure stack.
Which best practice would increase the maintainability of the template?- AA. Use nested stacks for common template patterns.
- BB. Embed credentials to prevent typos.
- CC. Remove mappings to decrease the number of variables.
- DD. Use AWS::Include to reference publicly-hosted template files.
11A Developer is writing an imaging micro service on AWS Lambda. The service is
dependent on several libraries that are not available in the Lambda runtime environment.
Which strategy should the Developer follow to create the Lambda deployment package?- AA. Create a ZIP file with the source code and all dependent libraries.
- BB. Create a ZIP file with the source code and a script that installs the dependent libraries at runtime.
- CC. Create a ZIP file with the source code. Stage the dependent libraries on an Amazon S3 bucket indicated by the Lambda environment variable LD_LIBRARY_PATH.
- DD. Create a ZIP file with the source code and a buildspec.yaml file that installs the dependent libraries on AWS Lambda.
12An application reads data from an Amazon DynamoDB table. Several times a day, for a
period of 15 seconds, the application receives multiple Provisioned Throughput Exceeded errors. How should this exception be handled?- AA. Create a new global secondary index for the table to help with the additional requests.
- BB. Retry the failed read requests with exponential backoff.
- CC. Immediately retry the failed read requests.
- DD. Use the DynamoDB “UpdateItem” API to increase the provisioned throughput capacity of the table.
13If a message is retrieved from a queue in Amazon SQS, how long is the message inaccessible to other users by default?
- AA. 0 seconds
- BB. 1 hour
- CC. 1 day
- DD. forever
- EE. 30 seconds
14A supplier is writing a new RESTful API for customers to query the status of orders. The customers requested the following API endpoint. http://www.supplierdomain.com/status/customerID.
Which of the following application designs meet the requirements? (Select two.)- AA. Amazon SQS; Amazon SNS
- BB. Elastic Load Balancing; Amazon EC2
- CC. Amazon ElastiCache; Amazon Elacticsearch Service
- DD. Amazon API Gateway; AWS Lambda
- EE. Amazon S3; Amazon CloudFront
15A static website is hosted in an Amazon S3 bucket. Several HTML pages on the site use
JavaScript to download images from another Amazon S3 bucket. These images are not
displayed when users browse the site.
What is the possible cause for the issue?- AA. The referenced Amazon S3 bucket is in another region.
- BB. The images must be stored in the same Amazon S3 bucket.
- CC. Port 80 must be opened on the security group in which the Amazon S3 bucket is located.
- DD. Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket.
16A company has implemented AWS CodeDeploy as part of its cloud native CI/CD stack The company enables automatic rollbacks while deploying a new version of a popular web application from in place to Amazon EC2.
What occurs it the deployment of the new version fails due to code regression?- AA. The last known good deployment is automatically restored using the snapshot stored in Amazon S3.
- BB. CodeDeploy switches the Amazon Route 53 alias records back to the known good green deployment and terminates the failed blue deployment.
- CC. A new deployment of the last known good version of the application is deployed with a new deployment ID.
- DD. AWS CodePipeline promotes the most recent deployment with a SUCCEEDED status to production
17A development team is working on a mobile app that allows users to upload pictures to Amazon S3 The team expects the app will be used by hundreds of thousands of users during a single event simultaneously Once the pictures are uploaded, the backend service will scan and parse the pictures for inappropriate content.
Which approach is the MOST resilient way to achieve this goal which also smooths out
temporary volume spikes for the backend service?- AA. Develop an AWS Lambda function to check the upload folder in the S3 bucket. If new uploaded pictures are detected, the Lambda function will scan and parse them.
- BB. Once a picture is uploaded to Amazon S3: publish the event to an Amazon SQS queue. Use the queue as an event source to trigger an AWS Lambda function In the Lambda function scan and parse the picture.
- CC. When the user uploads a picture, invoke an API hosted in Amazon API Gateway. The API will invoke an AWS Lambda function to scan and parse the picture.
- DD. Create a state machine in AWS Step Functions to check the upload folder in the S3 bucket. If a new picture is detected, invoke an AWS Lambda function to scan and parse it.
18A development team uses AWS Elastic Beanstalk for application deployment. The team
has configured the application version lifecycle policy to limit the number of application versions to 25 However even with the lifecycle policy the source bundle is deleted from the Amazon S3 source bucket.
What should a developer do in the Elastic Beanstalk application version lifecycle settings to retain the source code in the S3 bucket?- AA. Change the Set the application versions limit by total count setting to zero.
- BB. Disable the Lifecycle policy setting
- CC. Change the Set the application version limit by age setting to zero.
- DD. Set Retention to Retain source bundle in S3.
19A Developer decides lo store highly secure data in Amazon S3 and wants to implement
server-side encryption (SSF) with granular control of who can access the master key
Company policy requires that the master key be created, rotated, and disabled easily when needed, all for security reasons.
Which solution should be used to moot these requirements?- AA. SSE with Amazon S3 managed keys (SSE-S3).
- BB. SSFE with AWS KMS managed keys (SSE KMS).
- CC. SSE with AWS Secrets Manager.
- DD. SSE with customer provided encryption keys.
20A Developer is making changes to a custom application that is currently using AWS Elastic Beanstalk.
After the Developer completes the changes, what solutions will update the Elastic
Beanstalk environment with the new application version? (Choose two.)- AA. Package the application code into a .zip file, and upload, then deploy the packaged application from the AWS Management Console.
- BB. Package the application code into a .tar file, create a new application version from the AWS Management Console, then update the environment by using AWS CLI.
- CC. Package the application code into a .tar file, and upload and deploy the packaged application from the AWS Management Console.
- DD. Package the application code into a .zip file, create a new application version from the packaged application by using AWS CLI, then update the environment by using AWS CLI.
- EE. Package the application code into a .zip file, create a new application version from the AWS Management Console, then rebuild the environment by using AWS CLI.
21A Developer needs to use AWS X-Ray to monitor an application that is deployed on EC2
instances. What steps have to be executed to perform the monitoring?- AA. Deploy the X-Ray SDK with the application and use X-Ray annotation.
- BB. Install the X-Ray daemon and instrument the application code.
- CC. Install the X-Ray daemon and configure it to forward data to Amazon CloudWatch Events.
- DD. Deploy the X-Ray SDK with the application and instrument the application code.
22A company runs its APIs using Amazon API Gateway in front of AWS Lambda functions
The company wants to add logging at the API level Each API must have production and
development environments The developer wants to enable different logging levels in both environments How can these requirements be met?- AA. Set up a stage for each environment In each stage, point to different Lambda functions that implement the logging logic m the code Access the logs in Amazon CloudWatch Logs.
- BB. Set up a stage for each environment In each stage, define a different logging level according to the logging requirements Access the logs in Amazon CloudWatch Logs.
- CC. Set up a stage and use the same Lambda functions In Amazon CloudWatch Logs set up a filter based on the log level according to the logging requirements.
- DD. Set up a stage for each environment In each stage, define a variable for the log level Set the value according to the logging requirements.
23You are writing to a DynamoDB table and receive the following exception:"
ProvisionedThroughputExceededException". though according to your Cloudwatch metrics for the table, you are not exceeding your provisioned throughput.
What could be an explanation for this?- AA. You haven't provisioned enough DynamoDB storage instances.
- BB. You're exceeding your capacity on a particular Range Key.
- CC. You're exceeding your capacity on a particular Hash Key
- DD. You're exceeding your capacity on a particular Sort Key
- EE. You haven't configured DynamoDB Auto Scaling triggers
24A developer is trying to get data from an Amazon DynamoDB table called demoman-table. The developer configured the AWS CLI to use a specific 1AM user's credentials and executed the following command: aws dynamodb get-item table-name demoman-table --key '("id": <"N''; ''1993''}} ' The command returned errors and no rows were returned.
What is the MOST likely cause of these issues?- AA. The command is incorrect; it should be rewritten to use : ut-i t am with a string argument.
- BB. The developer needs to log a ticket with AWS Support to enable access to the demoman-table.
- CC. Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API.
- DD. The 1AM user needs an associated policy with read access to demoman-table.
Información
- Descripción
- Test sobre DVA-C01 AWS Certified Developer (07), creado por Rômulo D el 28/04/2021.
- Autor
- Rômulo D
- Idioma
- Português
- Visitas
- 0
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test