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

Quiz

AWS Developer Associate Set 3

fran contreras 15 questions

Take the quiz

Questions in this quiz (15)

  1. 1An Amazon EC2 instance requires permissions to read and write data in an Amazon S3 bucket. A Developer is creating an IAM
    role that will be assumed by the EC2 instance.
    When creating the role using the AWS CLI create-role command, which policy must be added to allow the instance to assume
    the role?
    1. ABucket policy
    2. BInline policy
    3. CTrust policy
    4. DManaged policy
  2. 2An application reads data from Amazon S3 and makes 55,000 read requests per second. A Developer must design the storage
    solution to ensure the performance requirements are met cost-effectively.
    How can the storage be optimized to meet these requirements?
    1. ACreate at least 10 prefixes and split the files across the prefixes.
    2. BCreate at least 10 S3 buckets and split the files across the buckets.
    3. CMove the files to Amazon EFS. Index the files with S3 metadata.
    4. DMove the files to Amazon DynamoDB. Index the files with S3 metadata.
  3. 3An eCommerce application uses an Amazon RDS database with Amazon ElastiCache in front. Stock volume data is updated
    dynamically in listings as sales are made. Customers have complained that occasionally the stock volume data is incorrect, and
    they end up purchasing items that are out of stock. A Developer has checked the front end and indeed some items display the
    incorrect stock count.
    What could be causing this issue?
    1. AThe Amazon RDS database is deployed as Multi-AZ and the standby is inconsistent.
    2. BThe Amazon RDS database has insufficient IOPS provisioned for its EBS volumes.
    3. CThe stock volume data is being retrieved using a write-through ElastiCache cluster.
    4. DThe cache is not being invalidated when the stock volume data is changed.
  4. 4A Developer is creating a database solution using an Amazon ElastiCache caching layer. The solution must provide strong
    consistency to ensure that updates to product data are consistent between the backend database and the ElastiCache cache.
    Low latency performance is required for all items in the database.
    Which cache writing policy will satisfy these requirements?
    1. AUse a lazy-loading caching strategy.
    2. BUse a write-through caching strategy.
    3. CAdd a short duration TTL value to each write.
    4. DInvalidate the cache for each database write.
  5. 5A Developer has created an Amazon Cognito user pool and configured a domain for it. The Developer wants to add sign-up and
    sign-in pages to an app with a company logo.
    What should the Developer do to meet these requirements?
    1. ACustomize the Amazon Cognito hosted web UI and add the company logo.
    2. BCreate a REST API using Amazon API Gateway and add a Cognito authorizer. Upload the company logo to a stage in the API.
    3. CUpload the company logo to an Amazon S3 bucket. Specify the S3 object path in the app client settings in Amazon Cognito.
    4. DCreate a custom login page that includes the company logo and upload it to Amazon Cognito. Specify the login page in the app client settings.
  6. 6An AWS Lambda function has been connected to a VPC to access an application running a private subnet. The Lambda function also pulls data from an Internet-based service and is no longer able to connect to the Internet. How can this be rectified?
    1. AConnect the Lambda function to an Internet Gateway
    2. BAdd a NAT Gateway to a public subnet and specify a route in the private subnet
    3. CConnect an AWS VPN to Lambda to connect to the Internet
    4. DAdd an Elastic IP to the Lambda function
  7. 7A batch job runs every 24 hours and writes around 1 million items into a DynamoDB table each day. The batch job completes
    quickly, and the items are processed within 2 hours and are no longer needed.
    What’s the MOST efficient way to provide an empty table each day?
    1. AUse the BatchUpdateItem API with expressions
    2. BIssue an AWS CLI aws dynamodb delete-item command with a wildcard
    3. CDelete the entire table and recreate it each day
    4. DUse the BatchWriteItem API with a DeleteRequest
  8. 8A development team is migrating data from various file shares to AWS from on-premises. The data will be migrated into a single
    Amazon S3 bucket. What is the SIMPLEST method to ensure the data is encrypted at rest in the S3 bucket?
    1. AUse SSL to transmit the data over the Internet
    2. BEnsure all requests use the x-amz-server-side-encryption-customer-key header
    3. CEnsure all requests use the x-amz-server-side-encryption header
    4. DEnable default encryption when creating the bucket
  9. 9A company needs to provide additional security for their APIs deployed on Amazon API Gateway. They would like to be able to
    authenticate their customers with a token. What is the SAFEST way to do this?
    1. ASetup usage plans and distribute API keys to the customers
    2. BCreate an Amazon Cognito identity pool
    3. CCreate an API Gateway Lambda authorizer
    4. DUse AWS Single Sign-on to authenticate the customers
  10. 10A developer is making updates to the code for a Lambda function. The developer is keen to test the code updates by directing a small amount of traffic to a new version. How can this BEST be achieved?
    1. ACreate two versions of the function code. Configure the application to direct a subset of requests to the new version
    2. BCreate an alias that points to both the new and previous versions of the function code and assign a weighting for sending a portion of traffic to the new version
    3. CCreate an API using API Gateway and use stage variables to point to different versions of the Lambda function
    4. DCreate a new function using the new code and update the application to split requests between the new functions

Information

Description
Ordenadores/Informática Quiz on AWS Developer Associate Set 3, created by fran contreras on 01/06/2022.
Language
English
Views
1
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?