AWS-DA(381-390)
AWS Developer Quiz: Test Your Cloud Skills
Challenge your knowledge of AWS services and best practices with this engaging quiz designed for developers. Whether you're preparing for a certification or just want to test your cloud computing skills, this quiz covers essential topics in AWS development.
- 10 thought-provoking questions
- Diverse scenarios relevant to real-world AWS applications
- Immediate feedback on your answers
A developer is creating a fault-tolerant environment that will store client sessions. How can the developer assure that no sessions are lost in the event of a failure of an Amazon EC2 instance?
A. Use sticky sessions with an Elastic Load Balancer target group.
B. Use Amazon SQS to save session data.
C. Use Amazon DynamoDB to perform scalable session handling.
D. Use Elastic Load Balancer connection draining to stop sending requests to failing instances.
Locally, a developer tested an application before deploying it to AWS Lambda. While remote testing the application, the Lambda function returns an access denied error. How can this problem be resolved?
A. Update the Lambda function's execution role to include the missing permissions.
B. Update the Lambda function's resource policy to include the missing permissions.
C. Include an IAM policy document at the root of the deployment package and redeploy the Lambda function.
D. Redeploy the Lambda function using an account with access to the AdministratorAccess policy.
A developer is developing an application's authentication and authorisation mechanisms. The developer must take care that user credentials are never made public. How should the developer tackle this requirement?
A. Store the user credentials in Amazon DynamoDB. Build an AWS Lambda function to validate the credentials and authorize users.
B. Deploy a custom authentication and authorization API on an Amazon EC2 instance. Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3 server-side encryption.
C. Use Amazon Cognito to configure a user pool, and user the Cognito API to authenticate and authorize the user.
D. Store the user credentials in Amazon RDS. Enable the encryption option for the Amazon RDS DB instances. Build an API using AWS Lambda to validate the credentials and authorize users.
A developer wishes to operate a PHP website in conjunction with an NGINX proxy and bundle them together as Docker containers in a single environment. The developer need a managed environment that is fully automated in terms of provisioning and load balancing. The developer has little control over the setup and must keep operating overhead to a minimum. How should the developer structure the website to adhere to these specifications?
A. Create a new application in AWS Elastic Beanstalk that is preconfigured for a multicontainer Docker environment. Upload the code, and deploy it to a web server environment.
B. Deploy the code on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer.
C. Construct an AWS Cloud Formation template that launches Amazon EC2 instances. Install and configure the PHP code by using cfn helper scripts.
D. Upload the code for the PHP website into an Amazon S3 bucket. Host the website from the S3 bucket.
A developer is constructing a template that will be used to deploy an application through AWS CloudFormation. This is a serverless application that makes use of Amazon API Gateway, Amazon DynamoDB, and AWS Lambda. Which tool should the developer use to create simpler syntax for serverless resource expressions?
A. CloudFormation serverless intrinsic functions
B. AWS serverless express
C. An AWS serverless application model
D. A CloudFormation serverless plugin
A business maintains an AWS CloudFormation template in the form of a single file. The template is capable of launching and establishing a whole infrastructure stack. Which best practice would improve the template's maintainability?
A. Use nested stacks for common template patterns.
B. Embed credentials to prevent typos.
C. Remove mappings to decrease the number of variables.
D. Use AWS::Include to reference publicly-hosted template files.
A developer must provide non-logged-in guest users access to an Amazon Cognito-enabled site in order to read files stored in an Amazon S3 bucket. How is the Developer to comply with these requirements?
A. Create a blank user ID in a user pool, add to the user group, and grant access to AWS resources.
B. Create a new identity pool, enable access to authenticated identities, and grant access to AWS resources.
C. Create a new user pool, enable access to authenticated identifies, and grant access to AWS resources
D. Create a new user pool, disable authentication access, and grant access to AWS resources.
A developer want to use Amazon EC2 Auto Scaling in order to scale a web application. The developer want to avoid session loss during scale-in events. How can the developer preserve and share the session state across several EC2 instances?
A. Write the sessions to an Amazon Elastic Block Store (Amazon EBS) volume. Mount the EBS volume to each EC2 instance in the group.
B. Store the sessions in an Amazon ElastiCache for Memcached cluster. Configure the application to use the Memcached API.
C. Publish the sessions to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe each EC2 instance in the group to the topic.
D. Write the sessions to an Amazon Redshift cluster. Configure the application to use the Amazon Redshift API.
On AWS, a developer is developing a new sophisticated application. The application is composed of a number of microservices that are hosted on Amazon EC2. The developer want to ascertain which microservice incurs the most amount of delay while processing a request. Which technique should the developer use to determine this?
A. Instrument each microservice request using the AWS X-Ray SDK. Examine the annotations associated with the requests.
B. Instrument each microservice request using the AWS X-Ray SDK. Examine the subsegments associated with the requests.
C. Instrument each microservice request using the AWS X-Ray SDK. Examine the Amazon CloudWatch EC2 instance metrics associated with the requests.
D. Instrument each microservice request using the Amazon CloudWatch SDK. Examine the CloudWatch EC2 instance metrics associated with the requests.
An application must encrypt data that is written to Amazon S3, where the keys are controlled in-house and S3 handles the encryption. Which encryption method should be used?
A. Use server-side encryption with Amazon S3-managed keys
B. Use server-side encryption with AWS KMS-managed keys
C. Use client-side encryption with customer master keys
D. Use server-side encryption with customer-provided keys
{"name":"AWS-DA(381-390)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Challenge your knowledge of AWS services and best practices with this engaging quiz designed for developers. Whether you're preparing for a certification or just want to test your cloud computing skills, this quiz covers essential topics in AWS development.10 thought-provoking questionsDiverse scenarios relevant to real-world AWS applicationsImmediate feedback on your answers","img":"https:/images/course8.png"}