GoConqr has a new look! Let us know what you think.

Quiz

AWS SM 4

Susana Martin 65 questions

Take the quiz

Questions in this quiz (65)

  1. 1An IT company is using AWS CloudFormation to manage its IT infrastructure. It has created a template to provision a stack with a VPC and a subnet. The output value of this subnet has to be used in another stack.
    As a Developer Associate, which of the following options would you suggest to provide this information to another stack?
    1. AUse 'Expose' field in the Output section of the stack's template
    2. BUse 'Export' field in the Output section of the stack's template
    3. CUse Fn::Transform
    4. DUse Fn::ImportValue
  2. 2A cybersecurity company is publishing critical log data to a log group in Amazon CloudWatch Logs, which was created 3 months ago. The company must encrypt the log data using an AWS KMS customer master key (CMK), so any future data can be encrypted to meet the company’s security guidelines.
    How can the company address this use-case?
    1. AUse the AWS CLI describe-log-groups command and specify the KMS key ARN
    2. BUse the AWS CLI create-log-group command and specify the KMS key ARN
    3. CEnable the encrypt feature on the log group via the CloudWatch Logs console
    4. DUse the AWS CLI associate-kms-key command and specify the KMS key ARN
  3. 3A firm maintains a highly available application that receives HTTPS traffic from mobile devices and web browsers. The main Developer would like to set up the Load Balancer routing to route traffic from web servers to smart.com/api and from mobile devices to smart.com/mobile. A developer advises that the previous recommendation is not needed and that requests should be sent to api.smart.com and mobile.smart.com instead.
    Which of the following routing options were discussed in the given use-case? (select two)
    1. ACookie value
    2. BPath based
    3. CClient IP
    4. DWeb browser version
    5. EHost based
  4. 4A senior cloud engineer designs and deploys online fraud detection solutions for credit card companies processing millions of transactions daily. The Elastic Beanstalk application sends files to Amazon S3 and then sends a message to an Amazon SQS queue containing the path of the uploaded file in S3. The engineer wants to postpone the delivery of any new messages to the queue for at least 10 seconds.
    Which SQS feature should the engineer leverage?
    1. AUse visibility timeout parameter
    2. BEnable LongPolling
    3. CUse DelaySeconds parameter
    4. DImplement application-side delay
  5. 5A .NET developer team works with many ASP.NET web applications that use EC2 instances to host them on IIS. The deployment process needs to be configured so that multiple versions of the application can run in AWS Elastic Beanstalk. One version would be used for development, testing, and another version for load testing.
    Which of the following methods do you recommend?
    1. AUse only one Beanstalk environment and perform configuration changes using an Ansible script
    2. BYou cannot have multiple development environments in Elastic Beanstalk, just one development and one production environment
    3. CCreate an Application Load Balancer to route based on hostname so you can pass on parameters to the development Elastic Beanstalk environment. Create a file in .ebextensions/ to know how to handle the traffic coming from the ALB
    4. DDefine a dev environment with a single instance and a 'load test' environment that has settings close to production environment
  6. 6A company wants to add geospatial capabilities to the cache layer, along with query capabilities and an ability to horizontally scale. The company uses Amazon RDS as the database tier.
    Which solution is optimal for this use-case?
    1. AUse CloudFront caching to cater to demands of increasing workloads
    2. BMigrate to Amazon DynamoDB to utilize the automatically integrated DynamoDB Accelerator (DAX) along with query capability features
    3. CLeverage the capabilities offered by ElastiCache for Redis with cluster mode disabled
    4. DLeverage the capabilities offered by ElastiCache for Redis with cluster mode enabled
  7. 7DevOps engineers are developing an order processing system where notifications are sent to a department whenever an order is placed for a product. The system also pushes identical notifications of the new order to a processing module that would allow EC2 instances to handle the fulfillment of the order. In the case of processing errors, the messages should be allowed to be re-processed at a later stage. The order processing system should be able to scale transparently without the need for any manual or programmatic provisioning of resources.
    Which of the following solutions can be used to address this use-case?
    1. ASNS + SQS
    2. BSNS + Kinesis
    3. CSQS + SES
    4. DSNS + Lambda
  8. 8Your company manages MySQL databases on EC2 instances to have full control. Applications on other EC2 instances managed by an ASG make requests to these databases to get information that displays data on dashboards viewed on mobile phones, tablets, and web browsers.
    Your manager would like to scale your Auto Scaling group based on the number of requests per minute. How can you achieve this?
    1. AYou create a CloudWatch custom metric and build an alarm to scale your ASG
    2. BAttach additional Elastic File Storage
    3. CAttach an Elastic Load Balancer
    4. DYou enable detailed monitoring and use that to scale your ASG
  9. 9You have been hired at a company that needs an experienced developer to help with a continuous integration/continuous delivery (CI/CD) workflow on AWS. You configure the company’s workflow to run an AWS CodePipeline pipeline whenever the application’s source code changes in a repository hosted in AWS Code Commit and compiles source code with AWS Code Build. You are configuring ProjectArtifacts in your build stage.
    Which of the following should you do?
    1. AConfigure AWS CodeBuild to store output artifacts on EC2 servers
    2. BGive AWS CodeBuild permissions to upload the build output to your Amazon S3 bucket
    3. CGive AWS CodeCommit permissions to upload the build output to your Amazon S3 bucket
    4. DContact AWS Support to allow AWS CodePipeline to manage build outputs
  10. 10You are a manager for a tech company that has just hired a team of developers to work on the company's AWS infrastructure. All the developers are reporting to you that when using the AWS CLI to execute commands it fails with the following exception: You are not authorized to perform this operation. Encoded authorization failure message: 6h34GtpmGjJJUm946eDVBfzWQJk6z5GePbbGDs9Z2T8xZj9EZtEduSnTbmrR7pMqpJrVYJCew2m8YBZQf4HRWEtrpncANrZMsnzk.
    Which of the following actions will help developers decode the message?
    1. AAWS STS decode-authorization-message
    2. BUse KMS decode-authorization-message
    3. CAWS IAM decode-authorization-message
    4. DAWS Cognito Decoder

Information

Description
Otro AWS SM Quiz on AWS SM 4, created by Susana Martin on 29/12/2021.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?