[ PHP Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ PHP Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
621. Laravel Scheduler को चलाने के लिए cron में कौन-सा command उपयोग होता है?
[A] php artisan schedule:run
[B] php artisan cron:start
[C] php artisan task:run
[D] php artisan scheduler:start
621. Which command is used by cron to run Laravel Scheduler?
[A] php artisan schedule:run
[B] php artisan cron:start
[C] php artisan task:run
[D] php artisan scheduler:start
सही उत्तर: php artisan schedule:run
व्याख्या: Scheduler execute करता है।
Correct Answer: php artisan schedule:run
Explanation: Executes scheduled tasks.
622. Laravel Horizon किसके लिए उपयोग होता है?
[A] Queue Monitoring
[B] Database Monitoring
[C] Mail Sending
[D] View Rendering
622. What is Laravel Horizon used for?
[A] Queue Monitoring
[B] Database Monitoring
[C] Mail Sending
[D] View Rendering
सही उत्तर: Queue Monitoring
व्याख्या: Redis queues monitor करने के लिए dashboard।
Correct Answer: Queue Monitoring
Explanation: Dashboard for monitoring Redis queues.
623. Laravel Horizon किस queue backend के साथ काम करता है?
[A] Redis
[B] Database Only
[C] SQS Only
[D] Beanstalkd Only
623. Which queue backend does Laravel Horizon work with?
[A] Redis
[B] Database Only
[C] SQS Only
[D] Beanstalkd Only
सही उत्तर: Redis
व्याख्या: Redis आधारित queue monitoring।
Correct Answer: Redis
Explanation: Provides Redis queue monitoring.
624. Laravel Octane का मुख्य उद्देश्य क्या है?
[A] Application Performance Improve करना
[B] Database Backup
[C] Route Caching Only
[D] Session Encryption
624. What is the main purpose of Laravel Octane?
[A] Improve application performance
[B] Database backup
[C] Route caching only
[D] Session encryption
सही उत्तर: Application Performance Improve करना
व्याख्या: Swoole और RoadRunner के माध्यम से performance बढ़ाता है।
Correct Answer: Improve application performance
Explanation: Boosts performance using Swoole and RoadRunner.
625. Laravel Octane किन servers को support करता है?
[A] Swoole और RoadRunner
[B] Apache और IIS
[C] Nginx Only
[D] Tomcat Only
625. Which servers are supported by Laravel Octane?
[A] Swoole and RoadRunner
[B] Apache and IIS
[C] Nginx Only
[D] Tomcat Only
सही उत्तर: Swoole और RoadRunner
व्याख्या: High-performance application servers।
Correct Answer: Swoole and RoadRunner
Explanation: High-performance application servers.
626. Config cache generate करने का command क्या है?
[A] php artisan config:cache
[B] php artisan cache:config
[C] php artisan generate:config
[D] php artisan config:generate
626. Which command generates config cache?
[A] php artisan config:cache
[B] php artisan cache:config
[C] php artisan generate:config
[D] php artisan config:generate
सही उत्तर: php artisan config:cache
व्याख्या: Configuration loading faster बनाता है।
Correct Answer: php artisan config:cache
Explanation: Improves configuration loading speed.
627. Route cache generate करने का command क्या है?
[A] php artisan route:cache
[B] php artisan cache:route
[C] php artisan generate:route
[D] php artisan routes:cache
627. Which command generates route cache?
[A] php artisan route:cache
[B] php artisan cache:route
[C] php artisan generate:route
[D] php artisan routes:cache
सही उत्तर: php artisan route:cache
व्याख्या: Route registration performance बढ़ाता है।
Correct Answer: php artisan route:cache
Explanation: Improves route registration performance.
628. View cache generate करने का command क्या है?
[A] php artisan view:cache
[B] php artisan cache:view
[C] php artisan generate:view
[D] php artisan views:cache
628. Which command generates view cache?
[A] php artisan view:cache
[B] php artisan cache:view
[C] php artisan generate:view
[D] php artisan views:cache
सही उत्तर: php artisan view:cache
व्याख्या: Blade templates precompile करता है।
Correct Answer: php artisan view:cache
Explanation: Precompiles Blade templates.
629. Laravel में cache clear करने का command क्या है?
[A] php artisan cache:clear
[B] php artisan clear:cache
[C] php artisan cache:flushall
[D] php artisan reset:cache
629. Which command clears Laravel cache?
[A] php artisan cache:clear
[B] php artisan clear:cache
[C] php artisan cache:flushall
[D] php artisan reset:cache
सही उत्तर: php artisan cache:clear
व्याख्या: Application cache remove करता है।
Correct Answer: php artisan cache:clear
Explanation: Removes application cache.
630. Production environment में Laravel optimization के लिए सबसे महत्वपूर्ण command कौन-सा है?
[A] php artisan optimize
[B] php artisan serve
[C] php artisan migrate:fresh
[D] php artisan tinker
630. Which command is most important for Laravel optimization in production?
[A] php artisan optimize
[B] php artisan serve
[C] php artisan migrate:fresh
[D] php artisan tinker
सही उत्तर: php artisan optimize
व्याख्या: Configuration, routes और views optimize करता है।
Correct Answer: php artisan optimize
Explanation: Optimizes configuration, routes and views.