Latih 60 soalan AWS Developer Associate asli merangkumi perkhidmatan teras, serverless, CI/CD, keselamatan, data dan pemantauan.
Tahap: AWS Certified Developer AssociateKesukaran: intermediate60 soalan60 min
Pilih mod latihan, jawab setiap soalan, kemudian semak penerangan. Jawapan salah disimpan setempat.
Hari berturut-turut: 0 hariDisimpan hanya pada peranti ini
Kemajuan0 / 60
Masa berbaki: 00:00
Belum ada jawapan salah disimpan.
Tiada soalan sepadan dengan penapis.
Soalan 1
Which AWS service runs code without provisioning servers?
Lambda is a serverless compute service that runs code in response to events. EC2 and RDS require server management, and CodeCommit is a git repository service.
Soalan 2
Which AWS service provides object storage?
S3 is object storage for files, images, backups, and static content. EBS is block storage for EC2, RDS is relational, and ElastiCache is in-memory caching.
Soalan 3
Which AWS service is a NoSQL key-value and document database?
DynamoDB is a managed NoSQL database with single-digit millisecond performance. RDS, Aurora, and Redshift are relational or warehouse services.
Soalan 4
Which AWS service provides a managed relational database?
RDS manages relational databases such as MySQL, PostgreSQL, and SQL Server. S3 is object storage, DynamoDB is NoSQL, and SQS is a queue.
Soalan 5
What is an EC2 instance?
An EC2 instance is a virtual machine with configurable CPU, memory, and storage. Lambda is serverless, DynamoDB is a database, and SQS is a queue.
Soalan 6
Which AWS service creates and manages APIs for applications?
API Gateway creates REST and HTTP APIs, often fronting Lambda. S3 stores objects, CodeBuild builds code, and Route 53 provides DNS.
Soalan 7
Which AWS service provides message queuing?
SQS is a message queue for decoupling components. SNS is pub/sub, CloudFront is a CDN, and Step Functions orchestrates workflows.
Soalan 8
Which AWS service provides publish/subscribe messaging?
SNS publishes messages to subscribers, supporting fan-out. SQS is a queue, DynamoDB is a database, and Lambda is compute.
Soalan 9
Which AWS service is a content delivery network?
CloudFront caches content at edge locations. Route 53 is DNS, S3 is storage, and WAF is a web firewall.
Soalan 10
What is a Lambda layer?
Lambda layers package libraries and dependencies that can be shared across functions. Triggers invoke functions, reserved concurrency controls capacity, and alarms monitor metrics.
Soalan 11
Which Lambda setting can reduce cold starts?
Provisioned concurrency pre-initializes environments so invocations avoid cold starts. Timeouts and memory do not directly prevent cold starts, and triggers cause them.
Soalan 12
What does API Gateway do with Lambda?
API Gateway creates HTTP endpoints that integrate with Lambda functions. It does not store logs, compile code, or replace Lambda.
Soalan 13
Which API Gateway type is simpler and less expensive for basic APIs?
HTTP APIs are simpler and cheaper than REST APIs for most use cases. REST APIs offer more features, WebSocket APIs handle persistent connections, and private APIs are VPC-only.
Soalan 14
What does DynamoDB TTL do?
TTL deletes expired items automatically, which is useful for sessions and logs. It is not encryption, backup, or indexing.
Soalan 15
What is an event source mapping for Lambda?
Event source mappings poll sources such as DynamoDB Streams, Kinesis, or SQS and invoke Lambda with records. They are not dashboards, VPC settings, or deployment policies.
Soalan 16
Which AWS service orchestrates multi-step workflows?
Step Functions coordinates steps in a workflow with state machines. SQS queues messages, SNS publishes, and API Gateway exposes APIs.
Soalan 17
What is provisioned concurrency?
Provisioned concurrency initializes environments ahead of time to reduce latency. It is not an invocation limit, timeout, or log level.
Soalan 18
Which AWS service provides managed git repositories?
CodeBuild builds and tests source code. CodeCommit stores source, CodePipeline automates release steps, and ECR stores container images.
Soalan 20
Which AWS service deploys applications to EC2, Lambda, and on-premises?
CodeDeploy automates application deployments. CodeBuild builds, CodeCommit stores code, and CloudFront is a CDN.
Soalan 21
Which AWS service automates a release pipeline?
CodePipeline orchestrates build, test, and deploy stages. CodeCommit and CodeBuild are individual services, and X-Ray traces requests.
Soalan 22
What is a buildspec file?
A buildspec defines phases such as install, pre_build, build, and post_build for CodeBuild. Deployment configs and templates are different artifacts.
Soalan 23
What is an appspec file?
An appspec defines how CodeDeploy handles deployment, hooks, and file locations. It is not a repository, layer, or log.
Soalan 24
What is a blue/green deployment?
Blue/green runs two environments and shifts traffic, enabling quick rollback. Rolling replaces instances gradually, and all-at-once replaces everything at once.
Soalan 25
What is a rolling deployment?
Rolling deployment updates instances in batches to reduce risk. Blue/green switches environments, and canary routes a small percentage to the new version.
Soalan 26
What is a canary deployment?
A canary releases a small percentage of traffic to the new version and increases it over time. All-at-once replaces everything, and blue/green switches environments.
Soalan 27
Which AWS service provides a PaaS platform for web applications?
Elastic Beanstalk deploys and manages web apps without managing infrastructure. EC2 is IaaS, Lambda is serverless, and S3 is storage.
Soalan 28
Which AWS service manages infrastructure as code?
CloudFormation provisions infrastructure from templates. CodePipeline automates releases, CloudWatch monitors, and X-Ray traces.
Soalan 29
What does IAM stand for?
IAM is Identity and Access Management, controlling users, roles, and permissions. The other expansions are not official.
Soalan 30
What is an IAM role?
An IAM role grants permissions through temporary credentials, often used by services and applications. It is not a password, key, or security group.
Soalan 31
What is an IAM policy?
An IAM policy is a JSON document that allows or denies actions. It is not a table, layer, or build file.
Soalan 32
What is least privilege?
Least privilege grants the minimum permissions required. It reduces security risk compared with broad access.
Soalan 33
Which AWS service manages encryption keys?
KMS creates and manages encryption keys. WAF filters web traffic, Cognito handles identity, and Shield provides DDoS protection.
Soalan 34
Which AWS service stores secrets such as database passwords?
Secrets Manager securely stores and rotates secrets. S3 is object storage, CodeCommit is git, and DynamoDB is a database.
Soalan 35
Which AWS service provides user sign-up and sign-in for applications?
Cognito provides authentication for app users. IAM is for AWS identities, KMS is keys, and CloudFront is a CDN.
Soalan 36
Which AWS service protects web applications from common attacks?
WAF filters web traffic for attacks such as SQL injection. KMS manages keys, SQS queues messages, and CodeBuild builds code.
Soalan 37
What is a presigned URL?
A presigned URL grants time-limited access to S3 objects or other resources. It is not permanent, DNS, or firewall.
Soalan 38
What is encryption at rest?
Encryption at rest protects stored data. Encryption in transit protects data during transfer, which is a separate control.
Soalan 39
What is a resource-based policy?
Resource-based policies such as S3 bucket policies grant access to a resource. They are not passwords, security rules, or alarms.
Soalan 40
What does an S3 lifecycle policy do?
Lifecycle policies move objects between tiers or delete them over time. Encryption, versioning, and replication are separate features.
Soalan 41
What is S3 versioning?
Versioning preserves previous versions of objects, protecting against overwrites and deletes. Replication, encryption, and caching are separate.
Soalan 42
What is a DynamoDB secondary index?
Secondary indexes provide alternate query patterns. Backups, streams, and partitions are different features.
Soalan 43
What is a DynamoDB stream?
DynamoDB Streams captures item-level changes and can trigger Lambda. It is not a backup, index, or global table.
Soalan 44
Which AWS service provides in-memory caching?
ElastiCache provides Redis or Memcached caching. S3 is object storage, RDS is relational, and DynamoDB is NoSQL.
Soalan 45
What is an RDS read replica?
Read replicas offload read traffic from the primary database. Backups restore data, Multi-AZ provides failover, and migrations move data.
Soalan 46
What is Amazon Aurora?
Aurora is a relational database compatible with MySQL and PostgreSQL. DynamoDB is NoSQL, S3 is object storage, and Redshift is a warehouse.
Soalan 47
Which S3 feature creates time-limited access URLs?
Presigned URLs provide temporary access. Lifecycle policies manage tiers, versioning keeps versions, and transfer acceleration speeds uploads.
Soalan 48
Which AWS storage class is for long-term archives?
Glacier is for low-cost archival storage. Standard is hot storage, Intelligent-Tiering moves data automatically, and One Zone-IA is infrequent single-zone storage.
Soalan 49
Which AWS service provides shared file storage for EC2 instances?
EFS is a shared NFS file system. EBS is block storage attached to one instance, S3 is object storage, and Glacier is archive.
Soalan 50
What is an SNS topic?
An SNS topic is a pub/sub channel. SQS is a queue, Lambda is compute, and CloudWatch alarms trigger notifications.
Soalan 51
Which AWS service collects metrics and logs from applications?
CloudWatch collects metrics, logs, and alarms. X-Ray traces requests, CloudTrail records API activity, and Config tracks configuration.
Soalan 52
Which AWS service stores application logs?
CloudWatch Logs stores and queries log data. SQS queues, DynamoDB stores NoSQL data, and CodeBuild builds code.
Soalan 53
What do CloudWatch alarms do?
CloudWatch alarms monitor metrics and trigger notifications or actions. They do not compile code, store git, or route DNS.
Soalan 54
Which AWS service traces requests through applications?
X-Ray analyzes and traces requests across services. CloudWatch monitors metrics, CloudTrail audits API calls, and Trusted Advisor gives best-practice checks.
Soalan 55
Which AWS service records API activity for auditing?
CloudTrail records API calls for auditing. X-Ray traces, CloudWatch monitors, and WAF filters traffic.
Soalan 56
Which AWS service provides best-practice recommendations?
Trusted Advisor reviews accounts and recommends improvements for cost, security, and reliability. CloudTrail audits, CloudWatch monitors, and CodePipeline deploys.
Soalan 57
Which of the following are serverless AWS services? Select all that apply.
Lambda, API Gateway, DynamoDB, and S3 are all serverless services because they do not require server management.
Soalan 58
Which of the following are deployment strategies? Select all that apply.
Blue/green, rolling, canary, and all-at-once are deployment strategies. Each balances risk and speed differently.
Soalan 59
Lambda functions always need to run inside a VPC.
Lambda runs outside a VPC by default. You can configure VPC access when functions need private resources, but it is not required.
Soalan 60
Match each AWS service to its purpose.
SQS queues messages, SNS publishes notifications, CloudWatch monitors metrics and logs, and X-Ray traces requests.