GoConqr has a new look! Let us know what you think.

Quiz

DVA-C01 AWS Certified Developer (01)

Rômulo D 65 questions

Take the quiz

Questions in this quiz (65)

  1. 1A developer from AnyCompany's AWS account needs access to the Example Corp AWS
    account AnyCompany uses an identity provider that is compatible with OpenID Connect.
    What is the MOST secure way for Example Corp to allow developer access?
    1. AA. Create a cross-account role and call the AssumeRole API operation
    2. BB. Create a user in the Example Corp account and provide the access keys
    3. CC. Create a user in the Example Corp account and provide the credentials
    4. DD. Create a cross-account role and call the AssumeRoleWithWebldentity API operation
  2. 2A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked
    when the client sends requests through the ALB.
    Why is the Lambda function not being invoked?
    1. AA. A Lambda function cannot be registered as a target for an ALB
    2. BB. A Lambda function can be registered with an ALB using AWS Management Console
      only
    3. CC. The permissions to invoke the Lambda function are missing
    4. DD. Cross-zone is not enabled on the ALB
  3. 3You have written an application that uses the Elastic Load Balancing service to spread traffic to several web servers. Your users complain that they are sometimes forced to login
    again in the middle of using your application, after they have already logged in. This is not behavior you have designed.
    What is a possible solution to prevent this happening?
    1. AA. Use instance memory to save session state.
    2. BB. Use instance storage to save session state.
    3. CC. Use EBS to save session state
    4. DD. Use ElastiCache to save session state
    5. EE. Use Glacier to save session slate
  4. 4A Developer has published an update to an application that is served to a global user base using Amazon CloudFront. After deploying the application, users are not able to see the updated changes.
    How can the Developer resolve this issue?
    1. AA. Remove the origin from the CloudFront configuration and add it again.
    2. BB. Disable forwarding of query strings and request headers from the CloudFront distribution configuration.
    3. CC. Invalidate all the application objects from the edge caches.
    4. DD. Disable the CloudFront distribution and enable it again to update all the edge locations
  5. 5An application is running on an EC2 instance. The Developer wants to store an application metric in Amazon CloudWatch.
    What is the best practice for implementing this requirement?
    1. AA. Use the PUT Object API call to send data to an S3 bucket. Use an event notification to
      invoke a Lambda function to publish data to CloudWatch.
    2. BB. Publish the metric data to an Amazon Kinesis Stream using a PutRecord API call.
      Subscribe a Lambda function that publishes data to CloudWatch
    3. CC. Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch.
      Provide the required credentials to enable the API call.
    4. DD. Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch.
      Launch the EC2 instance with the required IAM role to enable the API call.
  6. 6A developer has written a serverless application and wants to deploy it to AWS Lambda to leverage the function's multi-threaded execution to improve performance. Which action
    should the developer take to achieve these requirements?
    1. AA. increase the Lambda function execution timeout
    2. BB. Use unreserved account concurrency.
    3. CC. Increase the memory allocation of the Lambda function
    4. DD. Set the reserved concurrency of the Lambda function to a higher number
  7. 7A Developer executed a AWS CLI command and received the error shown below:

    What action should the Developer perform to make this error human-readable?
    Image for question 7
    1. AA. Make a call to AWS KMS to decode the message
    2. BB. Use the AWS STS decode-authorization-message API to decode the message
    3. CC. Use an open source decoding library to decode the message.
    4. DD. Use the AWS IAM decode-authorization-message API to decode this message.
  8. 8An application running on an Amazon Linux EC2 instance needs to manage the AWS infrastructure.

    How can the EC2 instance be configured to make AWS API calls securely?
    1. AA. Sign the AWS CLI command using the signature version 4 process.
    2. BB. Run the aws configure AWS CLI command and specify the access key id and secret access key.
    3. CC. Specify a role for the EC2 instance with the necessary privileges.
    4. DD. Pass the access key id and secret access key as parameters for each AWS CLI command.
  9. 9A developer is implementing authentication and authorization for an application. The developer needs to ensure that the user credentials are never exposed. Which approach should the developer take to meet this requirement?
    1. AA. Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to
      validate the credentials and authorize users.
    2. BB. Deploy a custom authentication and authorization API on an Amazon EC2 instance.
      Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3
      server-side encryption.
    3. CC. Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the user.
    4. DD. Store the user credentials In Amazon RDS Enable the encryption option for the Amazon
      RDS D8 instances Build an API using AWS Lambda to validate the credentials and
      authorize users.
  10. 10A Developer is creating a Lambda function that will generate and export a file. The function requires 100 MB of temporary storage for temporary files while executing. These files will
    not be needed after the function is complete.

    How can the Developer MOST efficiently handle the temporary files?
    1. AA. Store the files in EBS and delete the files at the end of the Lambda function.
    2. BB. Copy the files to EFS and delete the files at the end of the Lambda function.
    3. CC. Store the files in the /tmp directory and delete the files at the end of the Lambda
      function.
    4. DD. Copy the files to an S3 bucket with a lifecycle policy to delete the files

Information

Description
Quiz on DVA-C01 AWS Certified Developer (01), created by Rômulo D on 18/04/2021.
Author
Rômulo D
Language
Português
Views
4
Tags
it aws
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?