1. A Developer has created an S3 bucket s3://mycoolapp and has enabled server across logging that points to the folder s3://mycoolapp/logs. The Developer moved 100 KB of Cascading Style Sheets (CSS) documents to the folder s3://mycoolapp/css, and then stopped work. When the developer came back a few days later, the bucket was 50 GB. What is the MOST likely cause of this situation?
A) An S3 lifecycle policy has moved the entire CSS file to S3 Infrequent Access. B) The CSS files were not compressed and S3 versioning was enabled. C) Logging into the same bucket caused exponential log growth. D) S3 replication was enabled on the bucket.
2. A Developer must repeatedly and consistently deploy a serverless RESTful API on AWS. Which techniques will work? (Choose two.)
A) Define an inline Swagger definition in a Lambda function. Invoke the Lambda function. B) Define a Swagger file. Use AWS CodeDeploy to deploy the Swagger file. C) Define a Swagger file. Deploy a SAM template that references the Swagger file. D) Deploy a SAM template with an inline Swagger definition. E) Define a Swagger file. Use AWS Elastic Beanstalk to deploy the Swagger file.
3. A company is using Amazon RDS MySQL instances for its application database tier and Apache Tomcat servers for its web tier. Most of the database queries from web applications are repeated read requests. Use of which AWS service would increase in performance by adding in-memory store for repeated read queries?
A) Amazon RDS Multi-AZ B) Amazon SQS C) Amazon RDS read replica D) Amazon ElastiCache
4. A Developer is storing sensitive documents in Amazon S3 that will require encryption at rest. The encryption keys must be rotated annually, at least. What is the easiest way to achieve this?
A) Use AWS KMS with automatic key rotation B) Export a key from AWS KMS to encrypt the data C) Encrypt the data before sending it to Amazon S3 D) Import a custom key into AWS KMS with annual rotation enabled
5. A Developer is creating a Lambda function and will be using external libraries that are not included in the standard Lambda libraries. What action would minimize the Lambda compute time consumed?
A) Install the external libraries in Lambda to be available to all Lambda functions. B) Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location. C) Create a Lambda deployment package that includes the external libraries. D) Install the dependencies and external libraries at the beginning of the Lambda function.
Leave a comment