AWS Certified Developer – Associate exam with 100% Correct Answers
AWS SQS long polling allows the SQS service to wait until a message is available in the queue before sending a response? - Correct answer-true A visibility timeout is a period of time during which AWS SQS prevents other consuming components from receiving and processing the message? - Correct answer-true What AWS service can you use to "fan out" SQS messages to multiple queues? - Correct answer-SNS (SQS) What is the maximum long poll timeout? - Correct answer-20 seconds You have a fleet of EC2 instances that are constantly polling empty SQS queues which is burning CPU complete cycles. What should you do? - Correct answer-Enable SQS long polling What is the default SQS visibility time out? - Correct answer-30 seconds EC2 instances download jobs from SQS queue, but are taking too long to process. What api call can you use to the length of time to process jobs? - Correct answerChangeMessageVisibility (SQS) You are designing a new app which processes payments and delivers promotional emails to customers. Your need to ensure that the payment process takes priority over the creation of emails. What is the best way to achieve this? - Correct answer-Use 2 SQS queues. Poll that payment queue first. An SQS message can NOT be delivered multiple times? - Correct answer-False, SQS messages can be delivered multiple times What is the default visibility timeout for SQS? - Correct answer-30 seconds How long can SQS messages be? - Correct answer-Messages can contain up to 256 KB of text in any format SQS was the second service on AWS? - Correct answer-False, SQS was the first DynomaDB writes are measured in 2 KB per write? - Correct answer-False, they are measured in 1 KB per write. What are the two consistency models used when reading data from DynamoDB? - Correct answer-Eventually Consistent and Strongly consistent DynamoDB is a NoSQL database by AWS? - Correct answer-True You have an app that needs 25 items of 13KB per second. Your app uses STRONGLY consistent reads. What should the throughput be set to? (Math problem) - Correct answer-Calculate read capacity units (items up to 4 KB in size) Multiply number of items by read capacity units Do NOT divide by 2 because strongly consistent Answer: 100 One read capacity unit represents one strongly consistent read per second, or two eventually consistent reads per second, for items up to 4 KB in size? - Correct answerTrue When you create a table, you specify how much provisioned throughput capacity you want to reserve for reads and writes? - Correct answer-True In DynamoDB, you specify provisioned throughput requirements in terms of capacity units? - Correct answer-True One read capacity unit represents one X type of read per second, or two Y type of read per second? - Correct answer-One strongly consistent read per second. Two eventually consistent reads per second. For items up to 4 KB in size. Application needs to read 25 items of 13KB per second. App uses EVENTUALLY consistent reads. What should you set read throughput to? - Correct answer-Calculate read capacity units (items up to 4 KB in size). Multiply number of items by read capacity units. Divide by two because EVENTUALLY consistent. Answer: 50 A global secondary index contains a selection of attributes from the table, but are organized by a primary key that is different from the table's? (T/F) - Correct answer-True DynamoDB local secondary indexes are fixed at 10 per table? - Correct answer-False, local secondary indexes are fixed at 5 per table. Local secondary indexes give your table a choice of sort keys? - Correct answer-True What are the three capacity unit sizes in DynamoDB? - Correct answer-One read capacity unit represents one strongly consistent read per second, for items up to 4 KB in size. One read capacity unit represents two eventually consistent reads per second, for items up to 4 KB in size. One write capacity unit represents one write per second for items up to 1 KB in size. Using the AWS portal, you are trying to scale DynamoDB past preconfigured maximums. Which service can be increased through AWS support? - Correct answerProvisioned throughput limits What are the steps for calculating write throughput? - Correct answer-Write capacity units are 1 KB per write. Calculate items per second. Multiply items per second by writes per item. You have a motion sensor which writes 600 items of data every minute. Each item is 5 KB. What should write throughput be? - Correct answer-Calculate items per second. Multiply items per second by write capacity units per item. Answer: 50 provisioned write capacity units What is the api call to receive multiple items from a DynamoDB table? - Correct answerBatchGetItem You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your application uses Strongly consistent reads. What should you set read throughput to? - Correct answer-Calculate items per second. Calculate read capacity units per item. Strongly consistent reads are up to 4 KB per read. Multiply items per second by read capacity units per item. Answer: 20 provisioned read capacity units You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your application uses eventually consistent reads. What should you set the read throughput to? - Correct answer-Calculate items per second. Calculate read capacity units per item. Eventually consistent reads give 2 reads for items up to 4 KB. Answer: 10 provisioned read capacity units Steps for calculating read throughput? - Correct answer-Calculate items per second. Calculate read capacity units per item (4 KB). Multiply items per second by read capacity units per item. If eventually consistent, divide by two. A scan is more efficient than query in terms of performance? (T/F) - Correct answerFalse, a query is more efficient that a scan in terms of performance. What does the error "ProvisionedThroughputExceededException" mean? - Correct answer-You have exceeded your maximum allowed provisioned throughput A scan reads every item in a table or secondary index? - Correct answer-Tru What does OLTP stand for? - Correct answer-Online Transaction Processing (OLTP) What does OLAP stand for? - Correct answer-Online analytics processing (OLAP) Is RDS an OLAP? (T/F) - Correct answer-False, RDS is Online Transaction Processing (OLTP) Is Redshift OLAP? (T/F) - Correct answer-True Is DynamoDB NoSQL? - Correct answer-True Is ElastiCache in memory? - Correct answer-True What is more frequent Online Transaction Processing (OLTP) or Online Analytics Processing (OLAP)? - Correct answer-Online Transaction Processing (OLTP) because it is similar to a traditional query. Online Analytics Processing (OLAP) is more of a management tool used at the end of a day. NoSQL Notes: NoSQL : RDS collection: table document: row key value pair: fields _id is required can embed key value pairs (KVP) embedded data = nested KVP - Correct answer-Not a question Does DynamoDB allow embedded data structures? - Correct answer-No, DynamoDB allow embedded data structures; however, MongoDB does. What is AWS proprietary database? - Correct answer-Aurora Developers store session data in Elasticache? - Correct answer-Yes, developers store session data in Elasticache. What are the two Elasticache engines offered? - Correct answer-Memcached and Redis What is AWS in memory cache? - Correct answer-Elasticache Are newly created S3 buckets public by default? - Correct answer-No, they are not public by default Is 1 TB the largest size file you can transfer to S3 using a PUT? - Correct answer-No, the largest is 5GB. After 5 GB you must use multipart upload What is the maximum size on S3? - Correct answer-5TB Does S3 provide unlimited storage? - Correct answer-Yes What is CORS? - Correct answer-Cross Origin Resource Sharing (CORS) Which region is Sydney, Australia in? - Correct answer-ap-southeast-2 What does "ap" stand for in AWS regions? - Correct answer-Asian Pacific Which region is Singapore in? - Correct answer-ap-southeast-1 Which region is Japan in? - Correct answer-ap-northwest-1 An s3 endpoint always contains? - Correct answer-Tee phrase "s3-website" followed by the region name What is the link to an S3 bucket created in Japan? - Correct answer- Do static hosted websites on S3 have www in their names? - Correct answer-No, static hosted websites on S3 do NOT have www in their names Create a static hosting website in a bucket called "eric" in japan using s3. What is the new url? - Correct answer- What encryption does AWS use on s3 buckets? - Correct answer-Advanced encryption standard (AES) 256 What is the minimum file size on s3? - Correct answer-1 byte Are autoscaling, Elastic Beanstalk, and Cloud formation chargeable? - Correct answerNo, the resources they use are. Is Elastic Load Balancer Service chargeable? - Correct answer-Yes, ELB is chargeable because it is a service Can you have multiple certs on an elastic load balancer? - Correct answer-Yes, you can have multiple certs on an elastic load balancer Must you use the appropriate OS when encrypting an EBS volume? - Correct answerNo, used to be the case, but now you can encrypt upon creation
Document information
- Uploaded on
- December 27, 2022
- Number of pages
- 15
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers