AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 4 8 Created on January 07, 2021 By Sirjana GhimireAcharya AWS CERTIFIED DEVELOPER ASSOCIATE QUIZ 4 1 / 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 2 / 20 Which of the following statements about SWF is true? The Amazon SWF Console and visibility APIs provide an application-centric view that lets you search for executions, drill down into an execution’s details, and administer executions SWF API actions are message-oriented Amazon SWF offers several features that facilitate application development, such as passing data between tasks, signaling, and flexibility in distributing tasks All of the above 3 / 20 How long can an AWS Lambda function execute for? AWS Lambda functions can be configured to run up to 15 minutes per execution AWS Lambda functions can be configured to run up to 25 minutes per execution AWS Lambda functions can be configured to run up to 5 minutes per execution AWS Lambda functions can be configured to run up to 60 minutes per execution 4 / 20 One of your fellow developer is trying to delete local secondary indexes in DynamoDB. Do you think he is correct? Yes, if it is a Global secondary indexes Yes, if it is a primary hash key index Yes, if it is a local secondary indexes No 5 / 20 You have simple web applications that need to process large numbers of job requests, and you need to ensure that they are processed in order, and that each request is processed only once. How would you deploy SQS to achieve this end? Convert your standard queue to a FIFO queue by renaming your standard queue with the .fifo suffix. Use the SetOrder attribute ensure sequential job processing. Use an SQS FIFO queue to process the jobs. Configure FIFO delivery in a standard SQS queue. 6 / 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 Provided Adam is the manager of Brian This statement is false. It should be Mike who changes the password for Brian It is not possible that Brian cannot modify his password 7 / 20 Regarding Amazon SWF, the progress of every workflow execution is recorded in its workflow history, which _________ maintains. Amazon EC2 Amazon SWF Amazon CloudWatch Amazon DynamoDB 8 / 20 You have a legacy app running and it uses a m4.large instance size and cannot scale with Auto Scaling, but only has peak performance 5% of the time. This is a huge waste of resources and money so your Senior Technical Solution Architect has set you the task of trying to reduce costs while still keeping the legacy application running as it should. Which of the following would best accomplish the task your manager has set you? Use a T2 burstable performance instance. Use t2.nano instance and add spot instances when they are required. Use two t2.nano instances that have single Root I/O Virtualization Use a C4.large instance with enhanced networking. 9 / 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? Increase the NAT instance size; network throughput increases with an increase in instance size Launch an additional NAT instance in another subnet and replace one of the routes in a subnet to the new instance Configure Auto Scaling for the NAT instance in order to handle increase in load Create a VPC S3 endpoint 10 / 20 In DynamoDB, to get a detailed listing of secondary indexes on a table, you can use which of the below action? BatchGetItem GetItem DescribeTable TableName 11 / 20 When you create a subnet, you specify the CIDR block for the subnet. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC), or a subset (to enable multiple subnets). The allowed block size is between a /28 netmask and /16 netmask. You decide to you create a VPC with CIDR block 10.0.0.0/24. Therefore what is the maximum allowed number of IP addresses and the minimum allowed number of IP addresses according to AWS and what is the number of IP addresses supported by the VPC you created? Maximum is 28 and the minimum is 16 and the one created supports 24 IP addresses Maximum is 65,536 and the minimum is 16 and the one created supports 256 IP addresses Maximum is 65,536 and the minimum is 24 and the one created supports 28 IP addresses Maximum is 256 and the minimum is 16 and the one created supports 24 IP addresses 12 / 20 One of your colleagues is uploading various archive files to Glacier. He is trying to understand key Glacier resources. Which of the below mentioned options you think is not a Glacier resource? Notification configuration Job Archive Archive ID 13 / 20 Your client has configured SQS queue and a third party system is pushing data in the queue. But your client came back to you saying that the message they are receiving is not in the same order. How can you ensure that messages are delivered in order? Send them with a timestamp. Give each message a unique id. AWS cannot guarantee that you will receive messages in the exact order you sent them. Increase the size of your queue. 14 / 20 Which of the following will best describe the messages SNS sends to endpoints: An JSON document with parameters like Destination, Source, Message, and Type. A JSON document with parameters like Signature, Message, Subject, Type. An XML document with parameters like Source, Destination, Message, and Type. An XML document with parameters like Message, Signature, Subject, and Type. 15 / 20 Your colleague has launched an EBS backed Linux instance. But now he is confused on how to detach the root device and attach it to another instance as a secondary volume. What will you suggest ? Stop the first instance and then attach instance’s root volume as a new volume to the other instance It is not possible to mount the root volume to some other instance Unmount the root volume first and then detach it It is not possible to mount the root device as a secondary volume on the other instance 16 / 20 Which of the below option is correct about peeking at a message in Amazon SQS? You can't Set up a CloudWatch alarm to auto send you the message Log the message ID and the receipt handle for your messages and correlate them to confirm when a message has been received and deleted Send the message to Amazon S3 17 / 20 Regarding Amazon SNS, when you want to subscribe to a topic and receive notifications to your email, in the Protocol drop-down box, you should select which of the following service? Email IMAP Message SMTP 18 / 20 You are working as a consultant for Knowledge Hut . A start up delivery company has come to you and laid out their requirement. They want to use a mobile GPS application to track the location of each of their 15 vehicles. The application records each vehicle's location to a DynamoDB table every 6 seconds. Each transmission is just under 1KB, and throughput is spread evenly across that minute. How many units of write capacity should you specify for this table? 4 3 6 2 19 / 20 Which one of the following data types does Amazon DynamoDB not support? String Number Set Arrays Binary 20 / 20 A user has created a queue named “knowledgeQueue” with SQS. There are four messages published to queue which are not received by the consumer yet. If the user tries to delete the queue, what will happen? It will initiate the delete but wait for four days before deleting until all messages are deleted automatically. It will ask user to delete the messages first A user can never delete a queue manually. AWS deletes it after 30 days of inactivity on queue It will delete the queue Your score is The average score is 24% LinkedIn Facebook Twitter 0% Restart quiz