You have been asked to create a CodeCommit repo and give developers access to the repo for committing code for a new business application.
How should you give the developers access to the repo?
(Choose as many as apply) A) Add access keys to the AWS Cli and enable git integration on developer workstations B) Generate HTTPS credentials within IAM C) Generate HTTPS credentials within CodeCommit D) Generate SSH keys and add them into the CodeCommit repo authorisedkeys file E) Generate SSH keys and add them to the developer IAM users. You are adding functionality to the catagram.io application.
There is a requirement that whenever a new comment is added to a photo in your timeline, an email is sent to the timeline owner informing them of the new comment.
How could you implement this functionality? (Choose one) A) Configure a lambda function to invoke periodically via an EventBridge schedule rule. Scan the table for timelines and if any appropriate items are found use SES to send an email. B) Configure a lambda function to invoke periodically via an EventBridge schedule rule. Scan the table for timelines and if any appropriate items are found use SNS to send an email. C) Log all item changes to CloudWatch Logs, configure a metric filter and use this to send emails to the timeline owner. D) Use TTL to detect relevant changes, invoke a lambda function to send an email via SES. E) Use DynamoDB streams and configure it as an event source for a lambda function which uses the SES service to send an email. You are adding the finishing touches to an online store for order cat pictures printed on glass.
Orders are taken by a web front end, and processed by a backend.
The front end adds items to a SQS queue for an initial processing cycle by the backend to estimate the cost and allow the customer to agree or disagree.
You notice that customers are occasionally getting 2 cost estimates for the same order.
Which of the following could fix the issue? A) Configure the SQS queue to be a delay queue B) Change the backend to use RecieveMessageWaitTime larger than the processing time for the cost estimate. C) Configure the VisibilityTimeout value to be larger than the cost estimation processing time D) Add a deal letter queue, and move duplicate messages to this queue for deletion. Datagram.io is using a legacy API and needs to migrate this into API Gateway.
The legacy API can be exported into a few formats including JSON, YAML and OpenAPI.
What is the easiest way to create an API Gateway API from this existing system? (Choose one) A) Import the OpenAPI definitions into API Gateway B) Mirror the existing API configuration including Methods, permissions and integrations and then import the OpenAPI definitions C) Import the Native API JSON export D) Import the Native API YAML export . Animals4life.org has filer workers from all over the world that regularly upload terabytes of animal data to a us-east-1 S3 bucket.
You’ve been told that certain field workers experience performance issues.
How could you improve performance for the uploads of users globally? A)Global buckets B)Direct Connect C)Transfer Acceleration. You are using Amazon Kinesis to accept data from a fleet of IOT devices globally.
You are noticing errors being generated which relate to capacities being reached (WriteThroughPutExceeded and RateExceeded errors).
How can you resolve these issues? A) Increase the capacity of the shards in the stream B) Split Shards in the stream C) Merge shards in the stream D) Merge shards and increase the number of shards in the stream. You need to use the numPI and sciPI libraries in your python lambda function.
You have tried to build a ZIP including these libraries and it is too large and unwieldy.
What feature of lambda can you use in order to provide numPi and sciPi without encountering size issues. A)Code Aliases B)Execution Role C) Runtime Environment. D) Lambda Layers. The catagram.io application collects data about user interactions in real-time.
You need to provide access to this click stream analytics In a way that scales with the catagram.io application.
What AWS product should you suggest ? A) Kinesis Data Stream B) Kinesis Video Stream C) SQS Standard Queue D) EMR E) DynamoDB . You are trying to minimise the code footprint of your application.
You want to re-use the same Lambda function for multiple stages an API, but the code should read data from a different DDB table depending on which stage is being used.
What feature of APIGateway should you use to support this feature. A) API Gateway Stages B) Stage Variables C) Function aliases D) API Gateway Interface Endpoint . You are writing a CloudFormation template with a custom resource which is backed by a lambda function.
Which of the following keys should be placed in the CloudFormation template if you want to include the Lambda code within the template ? A) ImageUri B) ZipFile C) S3Key D) Code . Your company has a maintenance site which is used if the primary web infrastructure is offline.
The site contains static HTML, a simple client side JS application and media used by the site.
Given the primary platform runs on EC2, what should you suggest to meet the above requirements while keeping
costs low (Choose one) A) S3 + CloudFront B) EC2 T3.micro C) Elastic Beanstalk D) Elastic Transcoder . You use CloudFormation to provision EC2 instance.
Which product or features should you use to ensure instances are configured in a certain way when launched, don’t go into service until fully configured and can be updated using CFN in the future (choose one) A) cfn-init, CWAgent & cfn-hup B) cfn-hup, cfn-init & cfn-signal C) EB, cfn-signal, CWAgent D) cfn-metadata, cfn-init & cfn-signal . An application running on EC2 instance is regularly loading data from an S3 bucket.
The objects are several 10’s of GB in size.
You would like to fetch only part of these objects using a SQL-like syntax.
Which is the MOST suitable service to meet this requirement? A) Athena B) Redshift C) S3 Select D) DynamoDB Import . You have created a new EBS volume and attached it to an EC2 instance.
After attaching it to the Linux EC2 instance, which of the following steps are required to store data on the filesystem? (Choose one) A) Mount the EBS Volume + File system B) It depends on the type of EBS volume C) Create a file system on the volume and then mount it D) If the instance is amazon linux 2 the aws-ebstools package which is preinstalled will automatically mount the volume and file system. You are configuring a university enrolment system and intend to use DynamoDB to store the student data.
Which of the following is a good choice for the partition key of the students table? A) Student Name B) Student Primary Subject Studied C) Student Department D) StudentID E) Date and Time of Enrolment. You are running an application which gets deployed to spot instances within AWS.
You need to find a way of determining WHEN the instance will be terminated using the least permissions possible.
What should you suggest? A) Check the instance metadata at http://169.254.169.254/latest/meta-data B) Attach an IAM role to the EC2 instance with ec2: permission C) Check the spotinstanceterminate environment variable D) It’s not possible to see spot termination in advance.
|