AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 5 6 Created on January 07, 2021 By Sirjana GhimireAcharya AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 5 1 / 20 For which one of the following parameters does Amazon not charge you when it comes to DynamoDB? Storage cost Cost per provisioned read units I/O usage within the same Region Cost per provisioned write units 2 / 20 Amazon DynamoDB supports which of these scalar data types? Number, String, Binary and Datetime Number and Binary Number and String Number, String, and Binary 3 / 20 Knowledge Hut is managing a customer’s application which currently includes a three-tier application configuration. The first tier manages the web instances and is configured in a public subnet. The second layer is the application layer. As part of the application code, the application instances upload large amounts of data to Amazon S3. Currently, the private subnets that the application instances are running on have a route to a single NAT t2.micro NAT instance. The application, during peak loads, becomes slow and customer uploads from the application to S3 are not completing and taking a long time. Which steps might you take to solve the issue using the most cost efficient method? Create a VPC S3 endpoint Launch an additional NAT instance in another subnet and replace one of the routes in a subnet to the new instance Increase the NAT instance size; network throughput increases with an increase in instance size Configure Auto Scaling for the NAT instance in order to handle increase in load 4 / 20 An EC2 instance has one additional EBS volume attached to it. How can a user attach the same volume to another running instance in the same AZ? Detach the volume first and attach to new instance No need to detach. Just select the volume and attach it to the new instance, it will take care of mapping internally Terminate the first instance and only then attach to the new instance Attach the volume as read only to the second instance 5 / 20 You are the lead developer in your organization and your client has come to you for a suggestion on choosing the correct EBS volume types. Which of the below is correct ? Magnetic volumes provide the lowest cost per gigabyte of all EBS volume types. Magnetic volumes are ideal for workloads where data is accessed infrequently and applications where the lowest storage cost is important. Provisioned IOPS (SSD) volumes are suitable for a broad range of workloads, including small to medium sized databases, development and test environments, and boot volumes None of the above statements are correct General Purpose (SSD) volumes offer storage with consistent and low-latency performance, and are designed for I/O intensive applications such as large relational or NoSQL databases 6 / 20 True or FALSE: Is it possible to use Amazon Linux AMI outside of EC2 ? True False 7 / 20 Which of the following will send events in batches? Amazon RDS Amazon Kinesis Amazon DynamoDB Streams Amazon SQS 8 / 20 You have been assigned by your lead to create a structured database in the cloud. Which of the below mentioned AWS offerings will help you to achieve the goal? AWS RSD AWS SimpleDB AWS RDS AWS DynamoDB 9 / 20 A developer has created a new EBS volume from an existing snapshot. The snapshot size shows 10 GB. Can he now create a volume of 30 GB from that snapshot? Provided the original volume has set the change size attribute to true Provided the snapshot has the modify size attribute set as true Yes No 10 / 20 Your technical lead is a root AWS account owner and he has created three IAM users: Adam, Brian and Mike. Mike is the IAM administrator. Adam and Brian are not the superpower users, but users with some pre-defined policies. Brian does not have access to modify his password. Thus, he asks Adam to change his password. How can Adam change Brian’s password? Provided Mike has added Adam to a group, which has permissions to modify the IAM passwords This statement is false. It should be Mike who changes the password for Brian It is not possible that Brian cannot modify his password Provided Adam is the manager of Brian 11 / 20 For which one of the following parameters does Amazon not charge you when it comes to DynamoDB? Storage cost Cost per provisioned read units I/O usage within the same Region Cost per provisioned write units 12 / 20 You are the lead developer in your organization and your client has come to you for a suggestion on choosing the correct EBS volume types. Which of the below is correct? General Purpose (SSD) volumes offer storage with consistent and low-latency performance, and are designed for I/O intensive applications such as large relational or NoSQL databases Provisioned IOPS (SSD) volumes are suitable for a broad range of workloads, including small to medium sized databases, development and test environments, and boot volumes Magnetic volumes provide the lowest cost per gigabyte of all EBS volume types. Magnetic volumes are ideal for workloads where data is accessed infrequently and applications where the lowest storage cost is important. None of the above statements are correct 13 / 20 In KnowledgeHut organization , you’ve been tasked with creating file level restore on your EC2 instances. You need to be able to restore an individual lost file on an EC2 instance within 15 minutes of a reported loss of information. The acceptable RPO is several hours. How would you perform this on an EC2 instance? Take frequent snapshots of EBS volumes, create a volume from an EBS snapshot, attach the EBS volume to the EC2 instance at a different mount location, cutover the application to look at the new backup volume and remove the old volume Take frequent snapshots of EBS volumes, create a volume from an EBS snapshot, attach the EBS volume to the EC2 instance at a different mount location, browse the file system to the file that needs to be restored on the new mount, copy from the new volume to the backup volume Enable auto snapshots on Amazon EC2 and restore the EC2 instance upon single file failure Setup a cron that runs aws s3 cp on the files and copy the files from the EBS volume to S3 14 / 20 A user is accessing an EC2 instance on the SSH port for IP 10.10.20.20. Which one do you think is a secure way to configure that the instance can be accessed only from this IP? In the security group, open port 22 for IP 10.10.20.20 In the security group, open port 22 for IP 10.10.20.20/32 In the security group, open port 22 for IP 10.10.20.20/24 In the security group, open port 22 for IP 10.10.20.20/0 15 / 20 Knowledge Hut organization has 15 different departments. The organization wants to track the AWS usage of each department. Which of the below mentioned options meets the requirement? Setup IAM groups for each department and track their usage Setup IAM users for each department and track their usage Create separate accounts for each department, but use consolidated billing for payment and tracking None of the above 16 / 20 What does the below policy signify? { "Version":"2012-10-17", "Statement":[ { "Effect":"Allow", "Action":[ "s3:PutObject", "s3:GetObject", "s3:GetObjectVersion", "s3:DeleteObject", "s3:DeleteObjectVersion" ], "Resource":"arn:aws:s3:::b1/a1/*" } ] } Update objects in a1 folder in b1 bucket. Adding objects in a1 bucket in b1 folder. Adding objects in a1 folder in b1 bucket. Update objects in a1 bucket in b1 folder. 17 / 20 Your manager is asking you to enable a static website hosting on an existing S3 bucket. Which of the below mentioned parameters do you think cannot be configured? Error document Index document Conditional error on object name Conditional redirection on object name 18 / 20 Your security office has become worried recently after a series of security breaches and wants you to start providing additional layers of security to all your company’s AWS resources. First up he wants you to provide additional layers of protection to all your EC2 resources. Which of the following would be a way of providing that additional layer of protection to all your EC2 resources? Add policies which have deny and/or allow permissions on tagged resources Add an IP address condition to policies that specify that requests to EC2 instances should come from a specific IP address or CIDR block range Ensure that the proper tagging strategies have been implemented to identify all of your EC2 resources. All actions listed here would provide additional layers of protection. 19 / 20 Your client is using Amazon SQS and they want to secure the messages in the queue. What are the possible options they have? Through your IAM access keys Amazon SQS uses either your Access Key ID or an X.509 certificate to authenticate your identity You can't Don't use root access 20 / 20 Google Inc. provides an online image recognition service and utilizes SQS to decouple system components. There are various SQS consumers who are poll the imaging queue as often as possible to keep end-to-end throughput as high as possible. However, Google Inc. developers realized that polling in tight loops is burning CPU cycles and that empty responses are increasing their costs. How can the developers in Google Inc. reduce the number of empty responses? Set the imaging queue VisibilityTimeout attribute to 20 seconds. Set the imaging queue MessageRetentionWaitTime attribute to 20 seconds. Set the imaging queue DelaySeconds attribute to 20 seconds. Set the imaging queue ReceiveMessageWaitTimeSeconds attribute to 20 seconds. Your score is The average score is 41% LinkedIn Facebook Twitter 0% Restart quiz