Quiz
Amazon Web Services (AWS) Certified 2021
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (60)
1After you assign a secondary private IPv4 address to your instance, you need to configure the operating system on your instance to recognize the secondary private IP address. If you are using an Ubuntu Linux instance, the ec2-net-utils package can take care of this step for you.
- ATrue
- BFalse
2Test-queue and test-queue are different queue names.
- ATrue
- BFalse
3You have created and tested an example Lambda Node.js application from the AWS Serverless Application Repository. What are the next steps?
- ACloudFormation CLI package and deploy commands
- BCloudFormation CLI create-stack and update-stack commands
- CCloudFormation CLI package-stack and deploy-stack commands
- DCloudFormation CLI create-change-set and deploy-changes-set
4You have an Amazon Kinesis Stream that is consuming records from an application. The kinesis Stream consists of multiple shards. A Lambda function will process the records from the Kinesis Stream. What order will the records be processed.
- AIn the exact order it is received by the kinesis Stream on a FIFO basis
- BIn the exact order it is received by each Kinesis shard on a FIFO basis. Order across shards is not guaranteed.
- CA standard kinesis stream does not have a guaranteed order. A FIFO kinesis stream will have the exact order it is received on a FIFO basis.
- DA standard kinesis stream does not have a guaranteed order. A LIFO kinesis stream will have the exact order it is received on a LIFO basis.
5You want to host multiple secure websites on a single EC2 server using multiple SSL certificates. How can you achieve this?
- AAssign a secondary private IPv4 address to a second attached network interface. Associate an elastic IP address with the private IPv4 address.
- BAssign a secondary public IPv4 address to a second attached network interface. Associate an elastic IP address with the public IPv4 address.
- CAssign a secondary private IPv6 address to a second attached network interface. Associate an elastic IP address with the private IPv6 address.
- DAssign a secondary public IPv6 address to a second attached network interface. Associate an elastic IP address with the public IPv6 address.
- ENone of the above
6You have an application that requires coordination between serverless and server based distributed applications. You would like to implement this as a state machine. What AWS service would you use?
- ASQS and SNS
- BAWS Step Functions
- CEC2 and SNS
- DAWS Amplify
7You have enabled server side encryption on an S3 bucket. How do you decrypt objects?
- AThe key will be located in the KMS
- BThe key can be accessed from the IAM console
- CS3 automatically decrypts objects when you download them
- DNone of the above
8You would like to increase the capacity of an rds application for read heavy workloads. How would you do this?
- ACreate an rds auto scaling group and load balancer
- BUse multi AZ deployment
- CIncrease the size of the rds instance
- DAdd read replicas with multiple connection strings and use Route 53 Multivalue Answer Routing.
9How can you apply an S3 bucket policy to an object?
- AUse the CLI --grants option
- BUse the CLI --policy options
- CUse the CLI --permissions option
- DNone of the above
10You have a web application running on an ec2 instance that needs to know the IP address that it is running on. How can the application get this information?
- AUse Curl or Get command to http://169.254.169.254/latest/meta-data/
- BUse Curl or Get command to http://169.254.169.254/latest/user-data
- CUse API/SDK command get-host-address
- DUse API/SDK command get-host-ip
11New EBS volumes are pre-formatted with a file system on them so you can easily mount and use them.
- ATrue
- BFalse
12You have created an alias in IAM for your company called super-duper-co. What will be the login address for your IAM users?
- Ahttps://super-duper-co.iam.aws.amazon.com/console/
- Bhttps://super-duper-co.aws.iam.amazon.com/console/
- Chttps://super-duper-co.signin.aws.amazon.com/console/
- DNone of the above
13You have an ELB with multiple EC2 instances registered. One of the instances is unhealthy and not receiving traffic. After the instance becomes healthy again you will need to:
- AChange the private IP address of the instance and register with ELB
- BChange the public IP address of the instance and register with ELB
- CDo nothing, the ELB will automatically direct traffic to the instance when it becomes healthy.
- DNone of the above
14You have an application running on an EC2 instance inside a VPC that requires access to Amazon S3. What is the best solution?
- AUse AWS configure SDK command in your application to pass credentials via application code.
- BCreate an IAM role for the EC2 instance
- CCreate a VPC S3 endpoint
- DNone of the above
15A VPC subnet can only be associated with one route table at a time, and you cannot associate multiple subnets with the same route table.
- ATrue
- BFalse
16You have a node.js lambda function that relies upon and external graphics library. What is the best way to include the external graphics library without consuming excessive lambda compute resources.
- AInstall the libraries with NPM before creating the deployment package
- BRun an Arbitrary Executable script in AWS Lambda to install the libraries
- CCreate a second lambda function to install the libraries
- DUpload library to S3 and import when lambda function executed.
17You have created a JavaScript browser application that calls and API running on Amazon API Gateway. You have made a breaking change to your API and you want to minimise the impact on existing users of your application. You would like all users to be migrated over to the new API within one month. What can you do?
- ACreate a new API and use the new URL in your updated JavaScript application. Delete the old API after 1 month.
- BCreate a new stage and use the new URL in your updated JavaScript application. Delete the old stage after 1 month.
- CCreate a new API deployment package and use the new URL in your updated JavaScript application. Delete the old deployment package after 1 month.
- DCreate a new stage and use the new URL in your updated JavaScript application. Create an API snapshot then delete the stage after 1 month.
18Your organisation would like to have clear separation of costs between departments. What is the best way to achieve this?
- ATag resources by department
- BTag resources by IAM group
- CTag resources by IAM role
- DNone of the above
- ECreate separate AWS accounts for departments and use consolidated billing
19You have implemented server access logging on an S3 bucket. Your source and target buckets are the same. You are finding that your logs are significantly more then the actual objects being uploaded. What is happening?
- AYou have enabled S3 replication on the log entries
- BYou did not select compression on the S3 logs.
- CS3 is creating growing logs of logs.
- DYou did not select compression on the S3 lifecycle policy
20You would like to implement an approval process before a stage is deployed on AWS codepipeline. How would you do this?
- AImplement CloudTrail monitoring for the PipeLine
- BImplement CloudWatch monitoring for the PipeLine
- CApply an IAM Role to the PipeLine
- DAdd an approval action to the stage
21You have an EBS volume which also the root device attached to a running EC2 instance. What do you need to do to enable you to detach it?
- AUnmount the volume then detach.
- BStop the instance then detach.
- CUnmount volume, then stop the instance and then detach
- DNone of the above
22You have a JavaScript application that is used to upload objects to Amazon S3 by hundreds of thousands of clients. You are using server side encryption with the AWS Key Management Service. You are finding that many requests are not working. What is going on?
- AYou have KMS key rotation implemented
- BYou have exceeded the KMS API call limit
- CThe user STS token has expired
- DThere is a problem with the bucket permissions
23If the front-end connection of your Classic ELB uses HTTP or HTTPS, then your back-end connections can use ___________.
- ATCP or SSL
- BTCP, SSL, HTTP or HTTPS
- CHTTP or HTTPS
- DNone of the above
24You have given S3 bucket access to another AWS account. You are trying to change an object's permissions but can't. What do you need to do?
- AChange the bucket ACL to public
- BChange the bucket policy to public
- CAsk the object owner to change permissions
- DNone of the above
25You have a HTML5 website with a custom domain name on S3. You have a public software library on another S3 bucket but your browser prevents it from loading. What do you need to do?
- Acreate a public bucket policy
- Benable CORS on the website bucket
- Ccreate a public bucket ACL
- Dcreate a public object ACL
- ENone of the above
26You have an application that is polling an SQS queue continuously and wasting resources when the queue is empty. What can you do to reduce the resource overhead?
- AImplement a load balancer
- BImplement a load balancer and autoscaling group of EC2 instances
- CImplement a load balancer, autoscaling group of EC2 instances linked to a queue length CloudWatch alarm
- DIncrease ReceiveMessageWaitTimeSeconds
- EIncrease queue visibility Timeout
- FNone of the above
27You have created a NodeJS Lambda function that requires access to multiple third party packages and libraries. The function integrates with other AWS serverless services. You would like to deploy this application and be able to rollback any deployments that are not successful.
- ACreate a zip file containing your code and libraries. Upload the
deployment package using the AWS CLI/SDKs Create Function. - BCreate a zip file containing your code and libraries. Upload the
deployment package using the Lambda console. - CCreate a zip file containing your code and libraries. Upload the
deployment package using the Lambda console or AWS CLI/SDKs
Create Function. - DCreate a zip file containing your code and libraries. Upload the
deployment package using the Serverless application model (SAM)
console.
- ACreate a zip file containing your code and libraries. Upload the
28If you have multiple Read Replicas for a master DB Instance and you promote one of them, the remaining Read Replicas will still replicate from the older master DB Instance.
- ATrue
- BFalse
29When you update a stack, you modify the original stack template then AWS CloudFormation :
- AUpdates only the resources that you modified
- BUpdate all the resources defined in the template
- CNone of the above
30When you rename a DB instance, the endpoint for the DB instance does not change.
- ATrue
- BFalse
31Once you version-enable a bucket, it can never return to an unversioned state.
- ATrue
- BFalse
32All read replicas associated with a DB instance remain associated with that instance after it is renamed.
- ATrue
- BFalse
33How can you check an IAM role for permissions to a Kinesis stream is associated to an EC2 instance?
- ACLI commands STSAssumeRole followed by describeStreams
- BCheck the EC2 instance metadata at iam/security-credentials/role-name
- CCheck the Kinesis stream logs using the console
- DSDK command STSAssumeRole followed by describeStreams
34You have a browser application hosted on Amazon S3. It is making requests to an AWS lambda function. Every time the lambda function is called you lose the session data on the lambda function. What is the best way to store the data used across multiple lambda functions.
- AStore in lambda function localstorage
- BUse AWS SQS
- CUse Amazon Dynamodb
- DUse an Amazon Kinesis data dtream
35You have created an e-commerce site using DynamoDB. When creating a primary key on a table which of the following would be the best attribute for the primary key?
- Adivision_id where there are few divisions to many products
- Buser_id where there are many users to few profucts
- Cproduct_id where there are many products to many users
- DNone of the above
36Using ChangeMessageVisibility from the AWS SQS API will do what?
- AChanges te visibility timeout of a specified message in a queue to a new value
- Bchanges the message visibility from true to false
- CDeletes the message after a period of time
- DNone of the above
37You've enabled website hosting on a bucket named 'backspace.academy' in the us-east-1 (us standard region). Select the URL you'll receive from AWS as the URL for the bucket.
- Abackspace.academy.s3-website-us-east-1.amazonaws.com
- Bbackspace.academy.s3-website.amazonaws.com
- Cbackspace.academy.us-east-1-s3.website.amazonaws.com
- Dbackspace.academy.s3-website-us-east.amazonaws.com
38You have created a lambda function to insert information to an RDS database over 20 times per minute. You are finding that the execution time is excessive. How can you improve the performance?
- AIncrease the compute capacity of the lambda function to enable more concurent connections
- BIncrease the memory of the lambda function to enable more concurrent connections
- CIncrease the size of the rds instance
- DImplement elastichable in front of the database
39You are using AWS X-ray to record trace data for requests to your application running on EC2. Unfortunately the trace data is not appearing in the X-ray console. You are in the Sao Paulo region. What is the most probable cause?
- ASao Paulo rgion does not support AWS X-ray
- BYou do not have permission for x-ray console access
- Cthe ec2 instance does not have a role with permissions to send trace segments or telemetry records
- DAWS X-ray does not support ec2 instances
40Parts of a multipart upload will not be completed until the 'complete' request has been called which puts all the parts of the file together.
- ATrue
- BFalse
41You have created a lambda function that is failing when deployed due to the size of the deployment package zip file. What can you do?
- ARequest a limit increase from AWS
- BCreate multiple lambda functions and coordinate using AWS Step Functions
- CUpload as a tar file with higher compression
- DIncrease Lambda function memory allocation
42The hash key of the DynamoDB __________ is the same attribute as the hash key of the table. The range key can be any scalar table attribute.
- ALocal Secondary Index
- BLocal Primary Index
- CGlobal Secondary Index
- DGlobal Primary Index
43The DisableConsoleTermination attribute controls whether the instance can be terminated using the console, CLI, or API. By default, termination protection is disabled.
- ATrue
- BFalse
44You have developed a browser JavaScript application that uses the AWS software development kit. The application accesses sensitive data and you would like to implement Multi Factor authentication. How would you achieve this?
- AUse IAM Multi Factor authentication (MFA)
- BUse Cognito Multi Factor authentication (MFA)
- CUser requireMFA in the AWS SDK
- DUse IAM.requireMFA in the AWS SDK
45You would like to deploy an AWS lambda function using the AWS CLI. Before deploying what needs to be done?
- ACreate a role for the AWS CLI with lambda permissions
- BPackage the local artefacts to S3 using cloudformation package CLI command
- CPackage the local artefacts to Lambda using cloudformation package CLI command
- DPackage the local artefacts to SAM using sam package CLI command
46You would like to use Amazon API gateway to interface with an existing SOAP/XML backend. API Gateway will receive requests and forward them to the SOAP backend. How can you achieve this?
- AUse API Gateway mapping templates to transform the data for the SOAP backend
- BUse API Gateway data translation to transform the data for the SOAP backend
- CUse a lambda function to transform the data for the SOAP backend
- DUse an EC2 instance with a load balancer to transform the data for the SOAP backend
47A single DynamoDB BatchGetItem request can retrieve up to 16 MB of data, which can contain as many as 25 items.
- ATrue
- BFalse
48The following error codes would have a HTTP Status Code 409
AccessDenied
BucketAlreadyExists
BucketNotEmpty
IncompleteBody- ATrue
- BFalse
49You can use tags to organize your AWS bill to reflect your own cost structure.
- ATrue
- BFalse
50You would like to increase the throughput of a table scan but still leave capacity for the day to day workload. How would you do this?
- AUse a sequential scan with rate-limit parameter
- BUse a parallel scan with rate-limit parameter
- CUse a query scan with rate-limit parameter
- DIncrease read capacity on a schedule
51Your items are 6KB in size and you want to have 100 strongly consistent reads per second. How many DynamoDB read capacity units do you need to provision?
- A100
- B200
- C300
- D600
52If you anticipate that your S3 workload will consistently exceed 100 PUT/LIST/DELETE requests per second or more than 300 GET requests per second, you should avoid sequential key names
- ATrue
- BFalse
53You can use CreateQueue to create an SQS delay queue by setting the DelaySeconds attribute to any value between 0 and 900 (15 minutes).
- ATrue
- BFalse
54IAM users do not need to be explicitly given permissions to administer credentials for themselves.
- ATrue
- BFalse
55Each queue starts with a default setting of 30 seconds for the visibility timeout.
- ATrue
- BFalse
56You have developed an application that calls the Amazon CloudWatch API. Every now and again your application receives ThrottlingException HTTP Status Code: 400 errors when making GetMetricData calls. How can you fix this problem?
- AImplement exponential backoff algorithm for retries
- BUse the GetBatchData API call
- CRequest a limit increase from AWS
- DIncrease CloudMatch IOPS
57Your AWS CodeBuild project keeps failing to compile your code. How can you identify what is happening?
- ADefine a Cloudwatch event in your buildspec.yml file
- BEnable Cloudtrail logging
- CEnable Cloudwatch logs
- DCheck the build logs in the CodeBuild console
58You can work with tags using the AWS Management Console, the Amazon EC2 command line interface (CLI), and the Amazon EC2 API.
- ATrue
- BFalse
59You have a dynamodb table that keeps reporting many failed requests with a ProvisionedThroughputExceededException in Cloudwatch. The requests are not continuous but a number of times during the day for a few seconds. What is the best solution for reducing the errors?
- ACreate a cloudwatch alarm to retry the failed requed
- BImplement exponential backoff and retry
- CIncrease the provision capacity of the dynamodb table
- DImplement a secondary index
60__________________ returns the approximate number of SQS messages that are not timed-out and not deleted.
- ANumberOfMessagesNotVisible
- BApproximateNumberOfMessagesNotVisible
- CApproximateNumberOfMessages
- DApproximateNumberOfMessagesVisible
- ENone the above
Information
- Description
- Otro AWS Quiz on Amazon Web Services (AWS) Certified 2021, created by Susana Martin on 13/12/2021.
- Author
- Susana Martin
- Language
- English
- Views
- 3
- Tags
- Rating
- No ratings yet Rate this quiz